kindofblue/css screen.css,1.1,1.2
Dimitris Glezos (glezos)
fedora-extras-commits at redhat.com
Mon Mar 12 04:53:11 UTC 2007
Author: glezos
Update of /cvs/fedora/kindofblue/css
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20788/css
Modified Files:
screen.css
Log Message:
* Fixed CSS lists bug
* Added some funky CSS classes for notices and common table cells
* Enabled global breadcrumbs
* Substituted smilies with Echo equivalents
Index: screen.css
===================================================================
RCS file: /cvs/fedora/kindofblue/css/screen.css,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- screen.css 12 Mar 2007 01:16:16 -0000 1.1
+++ screen.css 12 Mar 2007 04:53:09 -0000 1.2
@@ -594,6 +594,7 @@
*/
+/* Basic elements */
html {
background-color: white;
@@ -602,6 +603,11 @@
line-height: 1.4em;
}
+#page {
+ padding: 0 1em;
+}
+
+
/* Headings */
#page h1 {
@@ -667,11 +673,28 @@
border-bottom: none;
}
+/* Push stuff inside of headings */
+
+#page p,
+#page table,
+#page div.table-of-contents,
+#page ul,
+#page ol {
+ margin-left: 1.5em;
+}
+
+/* pre is a special case, we want as much width as possible */
+
+#page > pre {
+ margin-left: 0;
+}
+
+/* Various */
#page p {
margin-bottom: 1.3em;
line-height: 1.3em;
- padding-left: 1.5em;
+ padding-left: 0;
}
#page td > p { margin-bottom: 0.5em !important; }
@@ -679,19 +702,23 @@
#page ul,
#page ol {
-margin-left: 2.0em;
-padding-left: 0;
+ padding-left: 2.7em;
+ margin-bottom: 1.3em;
}
#page ul li {
list-style: url('http://fedoraproject.org/wiki/WikiGraphics?action=AttachFile&do=get&target=blue-bullet.png') circle;
- padding-left: 1.7em;
+ padding-left: 1em;
margin-bottom: 1.3em;
}
-#page ol li {
- margin-left: 1.7em;
- padding-left: 0;
+#page ul ul,
+#page ul ol,
+#page ol ul,
+#page ol ol {
+margin-left: 0em;
+padding-left: 1em;
+margin-top: 1em;
}
#page ul li p,
@@ -723,7 +750,6 @@
#page div.table-of-contents {
- margin: 1em;
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;
@@ -742,4 +768,145 @@
-moz-border-radius: 5px 5px 0 0;
}
+/* keep the item list compact */
+
+#page div.table-of-contents ol ol {
+ margin-top: 0 !important;
+ line-height: 150%;
+}
+
+/**********************************************
+ Custom tables
+*/
+
+
+/* Table style 1 */
+
+#page table.t1 tr.th {
+ background-color:#2963A6;
+ color: #fff;
+}
+
+#page table.t1 tr.th {
+ background-color:#2963A6;
+ color: #fff;
+ font-weight: bold;
+}
+
+#page table.t1 tr.th2 {
+ background-color:#eee;
+}
+
+/* Helpful classes */
+
+#page .floatright {
+ float: right;
+ margin-left: 1em;
+ margin-bottom: 1em;
+ border: none;
+ padding: none;
+}
+
+#page .floatleft {
+ float: left;
+ margin-right: 1em;
+ margin-bottom: 1em;
+ border: none;
+ padding: none;
+}
+
+#page table.small tr td {
+ font-size: 0.85em;
+}
+
+
+#page table.floatright td {
+ border: none;
+ padding:0;
+}
+
+
+/* Common table cells */
+
+#page table td.yes {
+ background-color: #6eb53c;
+ color: #fff;
+}
+
+#page table td.no {
+ background-color: #b5523c;
+ color: #fff;
+}
+
+#page table td.ok {
+ background-color: #b5833c;
+ color: #fff;
+}
+
+/* Various degrees of green */
+
+#page table td.g0 {
+ background-color: white;
+ color: black;
+}
+
+#page table td.g1 {
+ background-color: #eff8e9;
+ color: black;
+}
+
+#page table td.g2 {
+ background-color: #d9eecb;
+ color: black;
+}*/
+
+#page table td.g3 {
+ background-color: #c3e4ad;
+ color: black;
+}
+
+#page table td.g4 {
+ background-color: #98d070;
+ color: black;
+}
+
+#page table td.g5 {
+ background-color: #6eb53c;
+ color: white;
+}
+
+
+
+/**********************************************
+ Infoboxes
+*/
+
+table.message {
+ background: #f9f6b7 url('http://fedoraproject.org/wiki/WikiGraphics?action=AttachFile&do=get&target=NoteBackground.png') bottom repeat-x;
+ border: 1px solid #c4c295;
+}
+
+table.notice tr td {
+ background: url('http://fedoraproject.org/wiki/WikiElements?action=AttachFile&do=get&target=importantS.png') 15px 50% no-repeat;
+ padding: 0.5em 0.5em 0.5em 35px;
+}
+
+table.warning tr td {
+ background: url('http://fedoraproject.org/wiki/WikiElements?action=AttachFile&do=get&target=warningS.png') 15px 50% no-repeat;
+ padding: 0.5em 0.5em 0.5em 35px;
+ color: #000;
+}
+
+table.note tr td {
+ background: url('http://fedoraproject.org/wiki/WikiElements?action=AttachFile&do=get&target=noteS.png') 15px 50% no-repeat;
+ padding: 0.5em 0.5em 0.5em 35px;
+}
+
+table.note tr td {
+ background: url('http://fedoraproject.org/wiki/WikiElements?action=AttachFile&do=get&target=ideaS.png') 15px 50% no-repeat;
+ padding: 0.5em 0.5em 0.5em 35px;
+}
+
+
+
More information about the fedora-extras-commits
mailing list