MediaWiki:Common.css: Perbedaan revisi
| Baris 53: | Baris 53: | ||
/* table formatting*/ | /* table formatting*/ | ||
| − | + | .sqltable tr:nth-child(even) { | |
background-color: #F0EFE4; | background-color: #F0EFE4; | ||
} | } | ||
| − | + | .sqltable tr:nth-child(odd) { | |
background-color: #FCFCF7; | background-color: #FCFCF7; | ||
} | } | ||
| − | + | .sqltable th { | |
background-color: #A8A25E; | background-color: #A8A25E; | ||
| + | color: white; | ||
| + | } | ||
| + | |||
| + | .plain .sqltable tr { | ||
| + | background-color: inherited; | ||
| + | } | ||
| + | |||
| + | .plain .sqltable th { | ||
| + | background-color: inherited; | ||
color: white; | color: white; | ||
} | } | ||
Revisi per 25 Februari 2014 14.03
/* CSS placed here will be applied to all skins */
/* Angus' custom CSS */
.hlbox {
background-color: #dAdAdA;
padding-top: 14px;
padding-bottom: 10px;
padding-left: 20px;
padding-right: 20px;
margin-top: 2em;
margin-bottom: 2em;
border-left: 16px solid #999999;
border-bottom: 1px solid #bbbbbb;
border-top: 1px solid #eeeeee;
border-right: 1px solid #bbbbbb;
}
.qbox {
background-color: #eeeeee;
padding-top: 0px;
padding-bottom: 0px;
padding-left: 10px;
padding-right: 10px;
margin-top: 0em;
margin-bottom: 0em;
}
.example {
background-color: #F0EFE4;
padding-top: 14px;
padding-bottom: 10px;
padding-left: 20px;
padding-right: 20px;
margin-top: 2em;
margin-bottom: 2em;
/*border:1px solid #1a1a1a;*/
border-left: 16px solid #A8A25E;
border-bottom: 1px solid #A8A25E;
border-top: 1px solid #FAF9F2;
border-right: 1px solid #A8A25E;
}
.big {
font-size: 20pt;
font-weight: bold;
position: relative;
left: -2em;
}
/* table formatting*/
.sqltable tr:nth-child(even) {
background-color: #F0EFE4;
}
.sqltable tr:nth-child(odd) {
background-color: #FCFCF7;
}
.sqltable th {
background-color: #A8A25E;
color: white;
}
.plain .sqltable tr {
background-color: inherited;
}
.plain .sqltable th {
background-color: inherited;
color: white;
}