Difference between revisions of "MediaWiki:Common.css"
From LMU BioDB 2015
(More CSS standardization.) |
(Set border to non-fractional thickness.) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 27: | Line 27: | ||
.schedule-table th { | .schedule-table th { | ||
− | background-color: # | + | background-color: #eee; |
text-align: center; | text-align: center; | ||
} | } | ||
.schedule-table td { | .schedule-table td { | ||
− | border- | + | border-bottom: 1px solid lightgray; |
− | border- | + | border-right: 1px solid lightgray; |
} | } | ||
Line 39: | Line 39: | ||
padding: 1.5ex; | padding: 1.5ex; | ||
vertical-align: top; | vertical-align: top; | ||
+ | } | ||
+ | |||
+ | .schedule-table th + td, | ||
+ | .schedule-table td:nth-child(5) { | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | .schedule-table tr > *:first-child { | ||
+ | width: 1em; | ||
+ | } | ||
+ | |||
+ | .schedule-table tr > *:nth-child(2) { | ||
+ | width: 3em; | ||
+ | } | ||
+ | |||
+ | .schedule-table tr > *:nth-child(3) { | ||
+ | width: 30%; | ||
} | } |
Latest revision as of 21:20, 1 September 2015
/* CSS placed here will be applied to all skins */ .toc-container { float: right; margin-left: 20px; } /* A little table compensation. */ .mw-content-ltr table p + ul { margin-top: -5px; } /* Standard style for quickie highlights/warnings. */ .content-warning { border-radius: 10px; background-color: #fed; box-shadow: inset 0 4px 8px #987; padding: 10px; text-align: center } /* Style group for the specialized class schedule table. */ .schedule-table { width: 100%; margin: 1em 0; } .schedule-table th { background-color: #eee; text-align: center; } .schedule-table td { border-bottom: 1px solid lightgray; border-right: 1px solid lightgray; } .schedule-table td, .schedule-table th { padding: 1.5ex; vertical-align: top; } .schedule-table th + td, .schedule-table td:nth-child(5) { text-align: center; } .schedule-table tr > *:first-child { width: 1em; } .schedule-table tr > *:nth-child(2) { width: 3em; } .schedule-table tr > *:nth-child(3) { width: 30%; }