Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(tweak) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
+ | |||
+ | /* hide Main Page title */ | ||
body.page-Main_Page h1.firstHeading { | body.page-Main_Page h1.firstHeading { | ||
− | /* | + | display: none !important; |
+ | } | ||
+ | |||
+ | /* Main Page Box Style */ | ||
+ | .mpb, .mpb-left, .mpb-right { | ||
+ | -moz-border-radius: 6px; | ||
+ | -webkit-border-radius: 6px; | ||
+ | border-radius: 6px; | ||
+ | margin-bottom: 1em; | ||
+ | padding: 2px; | ||
+ | border:1px solid #4080FF; | ||
+ | background-color: #F2F7FF; | ||
+ | } | ||
+ | |||
+ | .mpb-left { | ||
+ | margin-right: 0.5em; | ||
+ | } | ||
+ | |||
+ | .mpb-right { | ||
+ | margin-left: 0.5em; | ||
+ | } | ||
+ | |||
+ | .mpb div, .mpb-left div, .mpb-right div { | ||
+ | padding: 4px; | ||
+ | } | ||
+ | |||
+ | .mpb-h1, .mpb-h3 { | ||
+ | -moz-border-radius: 4px 4px 0 0; | ||
+ | -webkit-border-top-left-radius: 4px; | ||
+ | -webkit-border-top-right-radius: 4px; | ||
+ | border-radius: 4px 4px 0 0; | ||
+ | background-color: #d9e5ff; | ||
+ | border: 1px solid #BFD3FF; | ||
+ | margin: 0 !important; | ||
+ | } | ||
+ | .mpb-h1 { | ||
+ | text-align: center; | ||
+ | padding: 6px; | ||
+ | } | ||
+ | .mpb-h3 { | ||
+ | padding: 4px; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Small Caps span */ | ||
+ | span.sc { | ||
+ | font-variant: small-caps; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* colored glossing */ | ||
+ | |||
+ | div.gloss { | ||
+ | margin-bottom: 12px; | ||
+ | } | ||
+ | .gloss p { | ||
+ | border: 1px solid #BFD3FF; | ||
+ | background-color: #D9E5FF; | ||
+ | margin: 4px 0; | ||
+ | padding: 4px; | ||
+ | } | ||
+ | .gloss div { | ||
+ | border: 1px solid #BFD3FF; | ||
+ | background-color: #F2F7FF; | ||
+ | margin-bottom: 4px; | ||
+ | padding: 2px; | ||
+ | } | ||
+ | .gloss table { | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | .gloss table td { | ||
+ | border-left: 1px solid #BFD3FF; | ||
+ | padding: 2px 4px; | ||
+ | } | ||
+ | .gloss table td:first-child { | ||
+ | border-width: 0; | ||
+ | } | ||
+ | /* Edit Toolbar: gives links button like borders (see: MediaWiki:Edittools) */ | ||
+ | #specialchars a { | ||
+ | border: 0.2em outset #303cbf; | ||
+ | padding: 0.1em 0.3em; | ||
} | } |
Latest revision as of 19:41, 4 February 2011
/* CSS placed here will be applied to all skins */ /* hide Main Page title */ body.page-Main_Page h1.firstHeading { display: none !important; } /* Main Page Box Style */ .mpb, .mpb-left, .mpb-right { -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; margin-bottom: 1em; padding: 2px; border:1px solid #4080FF; background-color: #F2F7FF; } .mpb-left { margin-right: 0.5em; } .mpb-right { margin-left: 0.5em; } .mpb div, .mpb-left div, .mpb-right div { padding: 4px; } .mpb-h1, .mpb-h3 { -moz-border-radius: 4px 4px 0 0; -webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; border-radius: 4px 4px 0 0; background-color: #d9e5ff; border: 1px solid #BFD3FF; margin: 0 !important; } .mpb-h1 { text-align: center; padding: 6px; } .mpb-h3 { padding: 4px; } /* Small Caps span */ span.sc { font-variant: small-caps; } /* colored glossing */ div.gloss { margin-bottom: 12px; } .gloss p { border: 1px solid #BFD3FF; background-color: #D9E5FF; margin: 4px 0; padding: 4px; } .gloss div { border: 1px solid #BFD3FF; background-color: #F2F7FF; margin-bottom: 4px; padding: 2px; } .gloss table { background-color: transparent; } .gloss table td { border-left: 1px solid #BFD3FF; padding: 2px 4px; } .gloss table td:first-child { border-width: 0; } /* Edit Toolbar: gives links button like borders (see: MediaWiki:Edittools) */ #specialchars a { border: 0.2em outset #303cbf; padding: 0.1em 0.3em; }