fine tuning of the style in use - swerc - anselm's simpler werc fork | |
git clone git://git.suckless.org/swerc | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit 4fe0f9e0a8dd980d698945f20f9d38ae53e82ad4 | |
parent 40d14ef5b529b291dc2c9f798d98aa3a30fa6cec | |
Author: Anselm R Garbe <[email protected]> | |
Date: Wed, 20 Apr 2011 10:22:57 +0000 | |
fine tuning of the style in use | |
Diffstat: | |
M lib/default_master.tpl | 4 ---- | |
M pub/style/style.css | 19 +++++++------------ | |
2 files changed, 7 insertions(+), 16 deletions(-) | |
--- | |
diff --git a/lib/default_master.tpl b/lib/default_master.tpl | |
@@ -1,5 +1,3 @@ | |
- <div id="innerbody"> | |
- | |
<div id="header"> | |
<a href="/">%($"siteTitle%) <span id="headerSubTitle">%($"site… | |
</div> | |
@@ -32,5 +30,3 @@ | |
© 2011 Anselm R Garbe | |
</div> | |
</div> | |
- | |
- </div> | |
diff --git a/pub/style/style.css b/pub/style/style.css | |
@@ -3,8 +3,9 @@ body { | |
color: #333; | |
font-family: Cantarell, Helvetica, Verdana, Arial, 'Liberation Sans', … | |
text-align: justify; | |
- padding: 0; | |
- margin: 0; | |
+ padding: 1em; | |
+ margin: 0 auto 0 auto; | |
+ max-width: 50em; | |
} | |
a { | |
@@ -16,12 +17,6 @@ a:hover { | |
color: #666; | |
} | |
-#innerbody { | |
- padding: 1em; | |
- margin: 0 auto 0 auto; | |
- max-width: 50em; | |
-} | |
- | |
#header { | |
clear: both; | |
color: #666; | |
@@ -70,7 +65,7 @@ h4 { | |
} | |
#nav ul { | |
- margin: 0 0 1ex 0; | |
+ margin: 0; | |
padding: 0; | |
} | |
@@ -95,9 +90,9 @@ h4 { | |
#nav li a.current { | |
background-color: #fff; | |
color: #333; | |
- -moz-box-shadow: 0.3ex 0.3ex 0.3ex #999; | |
- -webkit-box-shadow: 0.3ex 0.3ex 0.3ex #999; | |
- box-shadow: 0.3ex 0.3ex 0.3ex #999; | |
+ -moz-box-shadow: 0.4ex 0.1ex 0.4ex #999; | |
+ -webkit-box-shadow: 0.4ex 0.1ex 0.4ex #999; | |
+ box-shadow: 0.4ex 0.1ex 0.4ex #999; | |
} | |
#main { |