Return of the nth-child!

This commit is contained in:
z3d
2009-07-15 23:32:46 +00:00
parent fa6a6fa4ef
commit ab349a5303
4 changed files with 54 additions and 42 deletions

View File

@ -88,6 +88,7 @@ div.routersummary {
text-align: center;
border: 1px solid #9999ff;
background: #003;
background: url(images/darkbluebg.png);
color: #eef;
font-size: 8pt;
clear: left;/* fixes a bug in Opera */
@ -128,6 +129,7 @@ div.news {
padding: 20px 30px 20px 30px;
border: 1px solid #99f;
background: #004;
background: url("images/darkbluetile.png");
color: #eef;
border-radius: 4px;
-moz-border-radius: 4px;
@ -138,7 +140,7 @@ div.news {
div.news li {
text-align: justify;
font-weight: bold;
list-style: url(images/info_dark.png);
list-style: url('images/info_dark.png');
margin: 0 10px 0 30px;
padding: 5px;
vertical-align: middle;
@ -147,7 +149,7 @@ div.news li {
div.confignav {
padding: 0 15px;
margin: 0 0px 25px 0;
background: #004;
background: #004 url('images/darkbluebg.png');
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border: 1px solid #99f;
@ -163,12 +165,12 @@ div.configure {
}
div.messages {
padding: 10px;
padding: 0 10px;
margin: 10px 0 20px 0;
background: #005;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border: 1px solid #99f;
background: #008 url('images/lightbluetile.png');
}
div.messages span.error {
@ -180,11 +182,11 @@ div.messages span.notice {
}
div.messages li {
text-align: justify;
text-align: justify !important;
font-weight: bold;
list-style: url(images/warning_dark.png);
margin: 0 0 0 30px !important;
padding: 5px;
list-style: url(images/warning_dark.png) !important;
margin: 0 10px 0 35px !important;
padding: 5px 10px !important;
border: 0px !important;
}
@ -195,7 +197,7 @@ table {
margin: 5px 0px 5px 0px;
cell-padding: 1px;
font-size: 7pt;
background: url('images/darkbluetile.png');
background: #003;
}
th {
@ -210,8 +212,14 @@ tr {
vertical-align: middle;
}
tr:nth-child ( even ) {
background: url('images/darkerbluetile.png');
tr:nth-child(even) {
background: #002 url('images/darkerbluetile.png') !important;
vertical-align: middle;
}
tr:nth-child(odd) {
background: #003 url('images/darkbluetile.png') !important;
vertical-align: middle;
}
td {
@ -239,16 +247,7 @@ div.main li {
text-align: justify !important;
}
div.main li:nth-child ( even ){
text-align: left;
list-style: square;
margin: 2px 0px 2px 30px;
padding: 1px 20px 1px 0px;
border-right: 4px solid #339;
}
ol {
/* white-space: pre-wrap; screwy layout removals. */
display: inline;
margin: 1px 0 0 0;
padding: 1px 0 0 20px;
@ -278,9 +277,10 @@ a:hover{
}
.links {
list-style: url(images/link_dark.png);
list-style-image: url("images/link_dark.png");
margin: 0 5px 0 0px;
padding: 0px 5px;
text-align: justify;
}
p {
@ -300,7 +300,7 @@ h1 {
letter-spacing: 0.15em;
text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.8);
white-space: normal;
background: #004 url('images/darkbluebg.png') repeat-x;
background: #004 url('images/darkbluebg.png');
-moz-box-shadow: inset 0px 0px 16px 0px #009;
border: 1px solid #99f;
border-radius: 4px;

View File

@ -2,7 +2,7 @@ body {
margin: 25px 10px 0 5px;
padding: 0em;
text-align: center;
background: #fff;
background: #eef;
color: #000;
font: 9pt/130% "Lucida Sans Unicode", "Bitstream Vera Sans", Verdana, Tahoma, Helvetica, sans-serif;
}
@ -109,7 +109,7 @@ div.warning {
div.main {
margin: 0px 0px 20px 220px;
padding: 0 15px 15px 25px;
background: #fff;
background: #eef;
text-align: left;
color: #001;
width: auto;
@ -139,7 +139,7 @@ div.news {
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
text-align: justify;
text-align: justify !important;
line-height: 140%;
}
@ -170,14 +170,23 @@ div.configure {
}
div.messages {
padding: 0 10px 0 15px;
padding: 0 10px;
margin: 10px 0 20px 0;
background: #ddf;
-moz-border-radius: 4px;
border: 1px solid #000033;
text-size: 9pt;
background: #008 url('images/lightbluetile.png');
}
/*
div.messages {
padding: 0 10px;
margin: 10px 0 20px 0;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border: 1px solid #99f;
background: #008 url('images/lightbluetile.png');
}
*/
div.messages span.error {
color: #d00000;
}
@ -187,9 +196,12 @@ div.messages span.notice {
}
div.messages li {
text-align: justify;
text-align: justify !important;
font-weight: bold;
list-style: url(images/warning.png);
list-style: url(images/warning.png) !important;
margin: 0 10px 0 35px !important;
padding: 5px 10px !important;
border: 0px !important;
}
table {
@ -214,12 +226,12 @@ tr {
vertical-align: middle !important;
}
tr:nth-child ( even ) {
background: #99f url('images/tabletile.png');
tr:nth-child(even) {
background: #99f url('images/tabletile.png') !important;
}
tr:nth-child ( odd ) {
background: #bbf url('images/tabletile_alt.png');
tr:nth-child(odd) {
background: #bbf url('images/tabletile_alt.png') !important;
}
td {