MediaWiki:Common.css

Revision as of 05:55, 9 January 2015 by Mscottmoore (talk | contribs) (Added styling for pinyin table)

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* 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;
}