MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Testing zebra table) |
||
Line 36: | Line 36: | ||
.regdef { | .regdef { | ||
border-collapse: collapse; | |||
} | } | ||
.regdef td { | .regdef td { | ||
padding:4px; | |||
border-top:1px solid black; | |||
border-bottom:1px solid black; | |||
border-left:1px solid #BBB; | |||
border-right:1px solid #BBB; | |||
} | |||
.regdef tr:nth-child(even) { | |||
background: #CCC | |||
} | |||
.regdef tr:nth-child(odd) { | |||
background: #FFF | |||
} | } |
Revision as of 04:05, 6 July 2011
/* CSS placed here will be applied to all skins */
.catdiv {
border:1px;
width:256px;
height:100%;
border-style:solid;
background-color:#EEE;
border-color:black;
text-align:center;
}
.cattitlediv {
position:relative;
left:20px;
top:20px;
height:64px;
text-align:left;
}
.cattitle {
color:white;
text-shadow: -1px -1px 2px black, -1px 1px 2px black, 1px 1px 2px black, 1px -1px 2px black;
font-size:30px;
}
table.bitdef {
border-collapse:collapse;
}
table.bitdef td {
text-align:center;
padding:2px;
border-top:1px solid #444;
border-bottom:1px solid #444;
border-left:1px dotted grey;
border-right:1px dotted grey;
}
.regdef {
border-collapse: collapse;
}
.regdef td {
padding:4px;
border-top:1px solid black;
border-bottom:1px solid black;
border-left:1px solid #BBB;
border-right:1px solid #BBB;
}
.regdef tr:nth-child(even) {
background: #CCC
}
.regdef tr:nth-child(odd) {
background: #FFF
}