sebastiano.tronto.net

Source files and build scripts for my personal website
git clone https://git.tronto.net/sebastiano.tronto.net
Download | Log | Files | Refs | README

commit 28c6b9090727cc7e9eda7c6a7d8cefdfc02ef6ce
parent 98934e523c9d05823d7358018017fd880def9716
Author: Sebastiano Tronto <sebastiano.tronto@gmail.com>
Date:   Thu,  9 Jun 2022 15:11:40 +0200

Added overflow-x property to pre tag

Diffstat:
Dsrc/style-3.css | 109-------------------------------------------------------------------------------
Asrc/style-4.css | 110+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mtop.html | 2+-
3 files changed, 111 insertions(+), 110 deletions(-)

diff --git a/src/style-3.css b/src/style-3.css @@ -1,109 +0,0 @@ -header nav table { - width: 100%; -} - -.logo img { - max-width: 3em; - margin: 0 0 0 0; -} - -.links { - text-align: right; - font-weight: bold; -} - -footer table { - font-style: italic; - width: 100%; -} - -.hosted { - text-align: right; -} - -body { - margin: auto 8px 20px 8px; -} - -img { - display: block; - margin-left: auto; - margin-right: auto; - max-width: 100%; -} - -code { - background-color: #eeeeee; - padding: 2px; -} - -pre code { - padding: 0px; -} - -pre { - background-color: #eeeeee; - border: 2px solid; - padding: 6px; -} - -#blob { - background: #ffffff; - border: none; -} - -a { - color: #0f2899; - text-decoration: none; -} - -.links a { - font-weight: bold; - color: black; -} - -.hosted a, -.contact a { - font-weight: bold; -} - -a:hover { - text-decoration: underline; -} - -html { - margin: 1em auto; - max-width: 42em; -} - -h1 { - text-align: center; -} - -td h1 { - text-align: left; - font-size: 1.5em; -} - -table { - width: 100%; -} - -#files td { - font-family: monospace; - font-size: 1.2em; - min-width: 7em; -} - -#log tr:hover td, -#files tr:hover td { - background-color: #eeeeee; -} - -.url td { - font-family: monospace; -} - -table tr td a img { - min-width: 33px; -} diff --git a/src/style-4.css b/src/style-4.css @@ -0,0 +1,110 @@ +header nav table { + width: 100%; +} + +.logo img { + max-width: 3em; + margin: 0 0 0 0; +} + +.links { + text-align: right; + font-weight: bold; +} + +footer table { + font-style: italic; + width: 100%; +} + +.hosted { + text-align: right; +} + +body { + margin: auto 8px 20px 8px; +} + +img { + display: block; + margin-left: auto; + margin-right: auto; + max-width: 100%; +} + +code { + background-color: #eeeeee; + padding: 2px; +} + +pre code { + padding: 0px; +} + +pre { + background-color: #eeeeee; + border: 2px solid; + padding: 6px; + overflow-x: auto; +} + +#blob { + background: #ffffff; + border: none; +} + +a { + color: #0f2899; + text-decoration: none; +} + +.links a { + font-weight: bold; + color: black; +} + +.hosted a, +.contact a { + font-weight: bold; +} + +a:hover { + text-decoration: underline; +} + +html { + margin: 1em auto; + max-width: 42em; +} + +h1 { + text-align: center; +} + +td h1 { + text-align: left; + font-size: 1.5em; +} + +table { + width: 100%; +} + +#files td { + font-family: monospace; + font-size: 1.2em; + min-width: 7em; +} + +#log tr:hover td, +#files tr:hover td { + background-color: #eeeeee; +} + +.url td { + font-family: monospace; +} + +table tr td a img { + min-width: 33px; +} diff --git a/top.html b/top.html @@ -3,7 +3,7 @@ <head> <title> TITLE | Sebastiano Tronto </title> <meta name="viewport" content="width=device-width" /> - <link rel="stylesheet" type="text/css" href="/style-3.css"> + <link rel="stylesheet" type="text/css" href="/style-4.css"> <link rel="icon" href="/favicon.png"> <meta charset="utf-8"> </head>