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 6bab41791269c72c7913417e735d06e3e6bf6b56
parent a4d0141122293afc0468eeb2b1310493dff4c8a5
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Wed,  8 Jun 2022 10:54:01 +0200

Added padding for inline code

Diffstat:
Dsrc/style-1.css | 103-------------------------------------------------------------------------------
Asrc/style-2.css | 105+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mtop.html | 2+-
3 files changed, 106 insertions(+), 104 deletions(-)

diff --git a/src/style-1.css b/src/style-1.css @@ -1,103 +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%; -} - -pre, code { - background-color: #eeeeee; -} - -pre { - 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-2.css b/src/style-2.css @@ -0,0 +1,105 @@ +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 { + 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/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-1.css"> + <link rel="stylesheet" type="text/css" href="/style-2.css"> <link rel="icon" href="/favicon.png"> <meta charset="utf-8"> </head>