improve stylesheet - saait - the most boring static page generator | |
git clone git://git.codemadness.org/saait | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 939b8911eb315e93b74459695a848aecef5206a1 | |
parent f6831815feca19ff0cd808f783f173dc65db7594 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sat, 16 Mar 2019 14:10:51 +0100 | |
improve stylesheet | |
tested in netsurf, IE6, firefox, links, lynx, dillo. | |
Diffstat: | |
M style.css | 10 ++++------ | |
1 file changed, 4 insertions(+), 6 deletions(-) | |
--- | |
diff --git a/style.css b/style.css | |
@@ -6,8 +6,7 @@ body { | |
color: #000; | |
font-family: sans-serif; | |
margin: 0; | |
- padding: 0; | |
- text-align: center; | |
+ padding: 1ex; | |
} | |
/* HTML5 semantic tags: some (older) browsers display this inline by default */ | |
article, figcaption, figure, header, main, nav { | |
@@ -59,18 +58,17 @@ code { | |
padding: 5px; | |
word-wrap: normal; | |
} | |
-#menuwrap { | |
- padding: 1ex; | |
+#menu td { | |
+ padding: 1ex 0; | |
} | |
#main { | |
border-top: 3px solid #aaa; | |
- padding: 0 1ex; | |
} | |
+#menuwrap, | |
#menu, | |
#main { | |
margin: 0px auto; | |
max-width: 80ex; | |
- text-align: left; | |
} | |
#menu a { | |
font-weight: bold; |