Difference between revisions of "MediaWiki:Common.css"

m (pinyin table work)
m (Pinyin table styling)
Line 34: Line 34:
 
.pinyin-table th {
 
.pinyin-table th {
 
background: #EEE;
 
background: #EEE;
 +
}
 +
.pinyin-table th.table-selected {
 +
background: #DDD;
 +
cursor: pointer;
 
}
 
}
 
.pinyin-table td {
 
.pinyin-table td {

Revision as of 07:45, 9 January 2015

/* Menu Bar Gradient Styling */

.tabs {
background: -moz-linear-gradient(#F7F8F8, #F6F6F6, #F4F4F4, #ECECEC, #DBDBDB);
background: -o-linear-gradient(#F7F8F8, #F6F6F6, #F4F4F4, #ECECEC, #DBDBDB);
background: -webkit-linear-gradient(#F7F8F8, #F6F6F6, #F4F4F4, #ECECEC, #DBDBDB);
}

/* Stub tag text styling */

table.stub, #contentSub {
font-size: 90%;
margin: -2em 0 1.6em 0;
color: #888;
}

/* Custom Footer Text Styles (text styled is from the allset skin's footer.php */

.custom-footer p {
font-size: 80%;
padding: 1em;
margin: 0;
}

/* Pinyin Table */
.pinyin-table {
background-color: yellow;
}
.pinyin-table th, .pinyin-table td{
border-style: solid;
border-width: 1px;
border-color: #222;
}
.pinyin-table th {
background: #EEE;
}
.pinyin-table th.table-selected {
background: #DDD;
cursor: pointer;
}
.pinyin-table td {
background: white
}
.pinyin-table td.table-highlight {
background: rgba(255,255,255,0.5);
}
/* Other Randomness */

.mw-redirect { float: none; }

.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul, .mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol {
margin: 0.3em 0 1em 1em;
padding: 0;
}
div.liju, div.jiegou {
width: 90%;
}

li {
line-height: 1.5em;
}

.nolayout .firstHeading {
margin: 1.6em 0;
}