kindofblue/css screen.css,1.5,1.6
Dimitris Glezos (glezos)
fedora-extras-commits at redhat.com
Sun Mar 18 16:30:21 UTC 2007
Author: glezos
Update of /cvs/fedora/kindofblue/css
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19289/css
Modified Files:
screen.css
Log Message:
* h1, h2 now have a more professional-looking BG (+TOC heading)
* Made TOC content more compact
Index: screen.css
===================================================================
RCS file: /cvs/fedora/kindofblue/css/screen.css,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- screen.css 13 Mar 2007 02:33:52 -0000 1.5
+++ screen.css 18 Mar 2007 16:30:19 -0000 1.6
@@ -613,33 +613,42 @@
#page h1 {
font-size: 1.7em;
font-weight: bold;
- line-height: 1.8em;
- margin: 1.5em 0 1.1em 0;
- padding: 0 0.5em;
- border-bottom: 1px solid #072b61;
- border-right: 1px solid #072b61;
- color: #072b61;
- background-color: #eee;
- -moz-border-radius: 5px;
+ line-height: 1.9em;
+ margin: 2.2em 0 1.2em 0;
+ padding: 0 0.7em; /* Should be the same for h{1-4} */
+ color: #fff;
+ background: url('/wikidata/kindofblue/img/bg-diagonals-dark.png');
+ border: none;
+ color: #white;
}
#page h2 {
font-size: 1.4em;
line-height: 1.8em;
- margin: 1.5em 0 1.1em 0;
- padding: 0 0.5em;
- border-bottom: 1px solid #BFBFBF;
- border-right: 1px solid #BFBFBF;
+ margin: 2em 0 1.2em 0;
+ padding: 0 0.7em; /* Should be the same for h{1-4} */
+ background: url('/wikidata/kindofblue/img/bg-diagonals-light.png');
+ border: none;
color: #072b61;
- background-color: #eee;
- -moz-border-radius: 5px;
}
-#page h3 {
+/* h2 emulation */
+
+#page .table-of-contents-heading {
font-size: 1.3em;
+ font-weight: bold;
+ line-height: 1.8em;
+ margin: 0;
+ padding: 0 0.7em; /* Should be the same for h{1-4} */
+ color: #072b61;
+ background: url('/wikidata/kindofblue/img/bg-diagonals-light.png');
+}
+
+#page h3 {
+ font-size: 1.25em;
line-height: 1.6em;
margin: 1.5em 0 0.9em 0;
- padding: 0 0.5em;
+ padding: 0 0.7em; /* Should be the same for h{1-4} */
color: #072b61;
border-bottom: 1px solid #dadada;
}
@@ -648,7 +657,7 @@
font-size: 1.2em;
line-height: 1.4em;
margin: 1.4em 0 0.9em 0;
- padding: 0 0.5em;
+ padding: 0 0.7em; /* Should be the same for h{1-4} */
color: #2963A6;
border-bottom: none;
}
@@ -762,30 +771,25 @@
#page div.table-of-contents {
+ margin-top: 2em; /* similar to h2 */
+ margin-bottom: 2em;
background: white url('http://fedoraproject.org/wiki/WikiGraphics?action=AttachFile&do=get&target=tablebg.png') no-repeat bottom right;
- -moz-border-radius: 10px;
- padding-bottom: 1em;
+ padding-bottom: 0em;
border: 1px solid #BFBFBF;
width: 45em;
}
-#page .table-of-contents-heading {
- font-size: 1.4em;
- font-weight: bold;
- line-height: 1.8em;
- margin: 1px;
- padding: 0 0.5em;
- color: #072b61;
- background-color: #eee;
- -moz-border-radius: 5px 5px 0 0;
-}
-
/* keep the item list compact */
-#page div.table-of-contents ol ol,
-#page div.table-of-contents ol li {
+#page div.table-of-contents ol ol {
+ margin: 0 !important;
+}
+
+#page div.table-of-contents ol > li {
margin: 0 !important;
- line-height: 150%;
+ padding-left: 0em;
+ line-height: 170%;
+ font-size: 96%;
}
/* Location */
@@ -793,9 +797,8 @@
#page ul#pagelocation {
margin-top: -0.5em;
- margin-bottom: 0;
padding: 0;
-margin-bottom: 3.5em;
+ margin-bottom: 4em;
display: block;
clear: left;
}
More information about the fedora-extras-commits
mailing list