commit 391065f33078e004ee3ff3614331631e5dc68584
parent 07e4caa39d68d6bea50bc1314d09ca7961915556
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date: Sat, 25 Feb 2023 22:31:43 +0100
Updated css
Diffstat:
M | style.css | | | 130 | +++++++++++++++++++------------------------------------------------------------ |
1 file changed, 31 insertions(+), 99 deletions(-)
diff --git a/style.css b/style.css
@@ -1,99 +1,31 @@
-.menu {
- width: 100%;
-}
-
-.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,
-#index tr:hover td {
- background-color: #eeeeee;
-}
-
-.url td {
- font-family: monospace;
-}
-
-table tr td a img {
- min-width: 33px;
-}
+/* Header and footer */
+header nav table { width: 100%; }
+.logo img { max-width: 3em; margin: 0 0 0 0; }
+.links { text-align: right; font-weight: bold; }
+.links a { font-weight: bold; color: black; }
+footer table { font-style: italic; width: 100%; }
+.hosted { text-align: right; }
+.hosted a, .contact a { font-weight: bold; }
+
+/* Content */
+html { margin: 1em auto; max-width: 42em; font-family: sans-serif }
+h1 { font-size: 1.8em; text-align: center; }
+h2 { font-size: 1.6em; }
+h3 { font-size: 1.05em; }
+body { margin: auto 8px 20px 8px; }
+a { color: #0f2899; text-decoration: none; }
+a:hover { text-decoration: underline; }
+img { display: block; margin-left: auto; margin-right: auto; max-width: 100%; }
+pre { background-color: #eeeeee; border: 2px solid; padding:
+ 6px; overflow-x: auto; }
+pre code { padding: 0px; }
+code { background-color: #eeeeee; padding: 2px; }
+#blob { background: #ffffff; border: none; }
+
+/* Tables */
+table { width: 100%; }
+td h1 { text-align: left; font-size: 1.5em; }
+#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; }