MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
m (Testing zebra table) |
mNo edit summary |
||
Line 6: | Line 6: | ||
height:100%; | height:100%; | ||
border-style:solid; | border-style:solid; | ||
background-color:# | background-color:#EEEEEE; | ||
border-color:black; | border-color:black; | ||
text-align:center; | text-align:center; | ||
Line 29: | Line 29: | ||
text-align:center; | text-align:center; | ||
padding:2px; | padding:2px; | ||
border-top:1px solid # | border-top:1px solid #444444; | ||
border-bottom:1px solid # | border-bottom:1px solid #444444; | ||
border-left:1px dotted grey; | border-left:1px dotted grey; | ||
border-right:1px dotted grey; | border-right:1px dotted grey; | ||
Line 42: | Line 42: | ||
border-top:1px solid black; | border-top:1px solid black; | ||
border-bottom:1px solid black; | border-bottom:1px solid black; | ||
border-left:1px solid # | border-left:1px solid #BBBBBB; | ||
border-right:1px solid # | border-right:1px solid #BBBBBB; | ||
} | } | ||
.regdef tr:nth-child(even) { | .regdef tr:nth-child(even) { | ||
background: # | background:#DDDDDD | ||
} | } | ||
.regdef tr:nth-child(odd) { | .regdef tr:nth-child(odd) { | ||
background: # | background:#EEEEEE | ||
} | } |
Revision as of 04:06, 6 July 2011
/* CSS placed here will be applied to all skins */
.catdiv {
border:1px;
width:256px;
height:100%;
border-style:solid;
background-color:#EEEEEE;
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 #444444;
border-bottom:1px solid #444444;
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 #BBBBBB;
border-right:1px solid #BBBBBB;
}
.regdef tr:nth-child(even) {
background:#DDDDDD
}
.regdef tr:nth-child(odd) {
background:#EEEEEE
}