<newsletter:website> avoid redundant styling, improve stylings and do some "code beutifications"
Dominic Hopf
git-noreply at xxxxx
Tue Aug 23 22:06:42 UTC 2011
Updating branch refs/heads/website
to 583c134e46136da31b2d7d827926ecde40e66c7b (commit)
from d58bfb44edc7991691b91298076ae04043ca4940 (commit)
commit 583c134e46136da31b2d7d827926ecde40e66c7b
Author: Dominic Hopf <dmaphy at fedoraproject.org>
Date: Tue Jul 26 00:27:49 2011 +0200
avoid redundant styling, improve stylings and do some
"code beutifications"
stylesheets/mainstyle.css | 80 ++++++++-------------------------------------
1 files changed, 14 insertions(+), 66 deletions(-)
diff --git a/stylesheets/mainstyle.css b/stylesheets/mainstyle.css
index 4b73c49..ea154eb 100644
--- a/stylesheets/mainstyle.css
+++ b/stylesheets/mainstyle.css
@@ -1,5 +1,6 @@
html { font-family: sans-serif; }
+
body
{
font-family: sans-serif;
@@ -8,6 +9,7 @@ body
margin-top: 2%;
}
+
h1 { font-size: 1.4em }
h2 { font-size: 1.3em }
h3 { font-size: 1.2em }
@@ -28,6 +30,7 @@ a:hover
text-decoration: underline;
}
+
img { border-width: 0; }
@@ -37,6 +40,7 @@ hr
border-color: #babdb6;
}
+
table
{
margin-top: 20px;
@@ -55,17 +59,19 @@ div.document
margin-left: auto; margin-right: auto;
}
+
div#header
{
line-height: 48px;
}
-div#contents
+
+div#contents, div#navigation
{
width: 30%; float: left;
- margin-bottom: 10px; margin-right: 20px;
- padding: 1em;
- background-color: #eeeeef;
+ margin-bottom: 10px; margin-right: 1em;
+ padding: 1.5em;
+ background-color: #F2F2F3;
font-size: 10pt;
position: static;
border-radius: 20px;
@@ -74,7 +80,7 @@ div#contents
overflow: hidden;
}
-div#contents ul
+div#contents ul, div#navigation ul
{
list-style-type: none;
margin-left: -26pt;
@@ -84,21 +90,6 @@ div#contents ul
padding-left: 0.4em;
}
-div#navigation
-{
- width: 180px; float: left;
- margin-bottom: 10px; margin-right: 20px;
- padding-top: 10px; padding-bottom: 10px;
- padding-left: 1em;
- background-color: #eeeeef;
- font-size: 10pt;
- position: static;
- border-radius: 20px;
- -moz-border-radius: 20px;
- -webkit-border-radius: 20px;
-}
-
-
div#navigation h1
{
font-size: 1em;
@@ -107,20 +98,10 @@ div#navigation h1
div#navigation hr
{
- width: 180px;
- margin-left: -1em;
+ width: 100%;
+ margin: 0; padding: 0;
}
-
-div#navigation ul
-{
- list-style-type: none;
- list-style-position: outside;
- margin-bottom: 20px; margin-left: 0;
- padding-left: 10px;
-}
-
-
div#navigation ul li
{
margin-bottom: 4px;
@@ -133,44 +114,11 @@ div#navigation a
text-decoration: none;
}
-
-div#navigation a:link, a:visited
-{
- color: #9e8100;
-}
-
-
-div#navigation a:hover
-{
- color: #a40000;
-}
-
-
-div#content
+div.section, div#content
{
overflow: auto;
}
-
-div#content ul
-{
- list-style-position: inside;
-}
-
-
-div#content a:link, a:visited
-{
- color: #9e8100;
- text-decoration: none;
-}
-
-
-div#content a:hover
-{
- color: #a40000;
- text-decoration: underline;
-}
-
code, pre.literal-block
{
display: block;
More information about the Newsletter-Commits
mailing list