Difference between revisions of "MediaWiki:Common.css"
From Offerit
Adam-offerit (talk | contribs) (Created page with "/** Collapsible tables ********************************************************* * * Description: Allows tables to be collapsed, showing only the header. See * ...") |
Adam-offerit (talk | contribs) |
||
Line 1: | Line 1: | ||
− | /** | + | /* CSS placed here will be applied to all skins */ |
− | + | /* prevent ugly horizontal page expansion */ | |
− | + | pre { overflow: auto; } | |
− | + | /*** Used for most tables -DAH ***/ | |
− | + | .tmplfunc th { | |
− | + | background-color: grey; | |
− | + | } | |
− | + | ||
− | + | /*** Used for right-side naviagation menus ***/ | |
+ | .offeritnavbox { | ||
+ | float: right; | ||
+ | clear: right; | ||
+ | border: 1px solid #8888aa; | ||
+ | background: #f7f8ff; | ||
+ | padding: 5px; | ||
+ | font-size: 85%; | ||
+ | margin: 0 15px 0 15px; | ||
+ | line-height: 100%; | ||
+ | width: 250px; | ||
+ | } | ||
+ | |||
+ | .tmmnavbox .i1 { | ||
+ | background: #ccbbff; | ||
+ | text-align: left; | ||
+ | padding: 0 5px; | ||
+ | line-height: 140%; | ||
+ | } | ||
+ | |||
+ | .tmmnavbox td { | ||
+ | text-align: left; | ||
} | } | ||
− | + | ||
− | . | + | .productname { |
− | + | font-size: 175%; | |
− | + | line-height: 140%; | |
− | + | } | |
− | + | ||
+ | .nofloat { | ||
+ | float: none; | ||
+ | } | ||
+ | |||
+ | .redtext { | ||
+ | color: red; | ||
+ | } | ||
+ | |||
+ | .bothclear { | ||
+ | clear: both; | ||
+ | } | ||
+ | |||
+ | .def_box { | ||
+ | float: right; | ||
+ | clear: right; | ||
+ | border: 1px solid #8888aa; | ||
+ | background: #f7f8ff; | ||
+ | padding: 15px; | ||
+ | font-size: 85%; | ||
+ | margin: 0 15px 15px 15px; | ||
+ | line-height: 100%; | ||
+ | width: 250px; | ||
+ | text-align: justify; | ||
+ | } | ||
+ | |||
+ | .def_box .title { | ||
+ | font-size: 1.5em; | ||
+ | font-weight: 700; | ||
+ | text-align: center; | ||
} | } |
Revision as of 10:45, 7 October 2011
/* CSS placed here will be applied to all skins */ /* prevent ugly horizontal page expansion */ pre { overflow: auto; } /*** Used for most tables -DAH ***/ .tmplfunc th { background-color: grey; } /*** Used for right-side naviagation menus ***/ .offeritnavbox { float: right; clear: right; border: 1px solid #8888aa; background: #f7f8ff; padding: 5px; font-size: 85%; margin: 0 15px 0 15px; line-height: 100%; width: 250px; } .tmmnavbox .i1 { background: #ccbbff; text-align: left; padding: 0 5px; line-height: 140%; } .tmmnavbox td { text-align: left; } .productname { font-size: 175%; line-height: 140%; } .nofloat { float: none; } .redtext { color: red; } .bothclear { clear: both; } .def_box { float: right; clear: right; border: 1px solid #8888aa; background: #f7f8ff; padding: 15px; font-size: 85%; margin: 0 15px 15px 15px; line-height: 100%; width: 250px; text-align: justify; } .def_box .title { font-size: 1.5em; font-weight: 700; text-align: center; }