Difference between revisions of "MediaWiki:Common.css"

(Added styling for pinyin table)
m (changed pinyin table styling)
Line 24: Line 24:
  
 
/* Pinyin Table */
 
/* Pinyin Table */
#pinyin-table {
+
.pinyin-table {
 
background-color: yellow;
 
background-color: yellow;
 
}
 
}
#pinyin-table th {
+
.pinyin-table th, .pinyin-table td{
 
border-style: solid;
 
border-style: solid;
 
border-width: 1px;
 
border-width: 1px;
 
border-color: #222;
 
border-color: #222;
 
}
 
}
#pinyin-table td {
+
.pinyin-table th {
border-style: solid;
+
background: #EEE;
border-width: 1px;
 
border-color: #222;
 
}
 
#pinyin-table .table-background {
 
background: white;
 
position: absolute;
 
top: 0; left: 0;
 
height: 100%; width: 100%;
 
 
}
 
}
#pinyin-table .table-text {
+
.pinyin-table td {
position: absolute;
+
background: white
top: 0; left: 0;
 
height: 100%; width: 100%;
 
 
}
 
}
  

Revision as of 06:48, 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 td {
background: white
}

/* 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;
}