Difference between revisions of "MediaWiki:Common.css"

(Created page with "→‎Menu Bar Gradient Styling: .tabs { background: -moz-linear-gradient(#F7F8F8, #F6F6F6, #F4F4F4, #ECECEC, #DBDBDB); background: -o-linear-gradient(#F7F8F8, #F6F6F6, #F4F4F...")
 
(Added styling for pinyin table)
Line 21: Line 21:
 
padding: 1em;
 
padding: 1em;
 
margin: 0;
 
margin: 0;
 +
}
 +
 +
/* Pinyin Table */
 +
#pinyin-table {
 +
background-color: yellow;
 +
}
 +
#pinyin-table th {
 +
border-style: solid;
 +
border-width: 1px;
 +
border-color: #222;
 +
}
 +
#pinyin-table td {
 +
border-style: solid;
 +
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 {
 +
position: absolute;
 +
top: 0; left: 0;
 +
height: 100%; width: 100%;
 
}
 
}
  

Revision as of 05:55, 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 {
border-style: solid;
border-width: 1px;
border-color: #222;
}
#pinyin-table td {
border-style: solid;
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 {
position: absolute;
top: 0; left: 0;
height: 100%; width: 100%;
}

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