MediaWiki

Common.css

Revision as of 13:20, 28 March 2018 by 0x010C (talk | contribs)

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 / Edge: 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.
/* CSS placed here will be applied to all skins */

/* Hide Main Page titles */ 
body.page-Main_Page h2.title,
body.page-Main_Page h3#tagline,
body.page-Main_Page_de h2.title,
body.page-Main_Page_de h3#tagline,
body.page-Main_Page_de-formal h2.title,
body.page-Main_Page_de-formal h3#tagline,
body.page-Main_Page_zh-hans h2.title,
body.page-Main_Page_zh-hans h3#tagline {
    display:none;
}

h3#tagline {
    display: inline;
    font-size: 0.85em;
    font-weight: normal;
    font-style: normal;
}

/* Custom Foreground menubar colors to go with WikiApiary theme */
.top-bar,
.top-bar .title-area,
.top-bar.expanded .title-area,
.top-bar .name h1 a,
.top-bar-section ul,
.top-bar-section ul li.active > a,
.top-bar-section li a:not(.button),
.top-bar-section .has-form,
.top-bar-section .dropdown li.title h5 a {
   background: #FFE4B2;
   color: #000000;
}

.top-bar .toggle-topbar.menu-icon,
.top-bar .toggle-topbar.menu-icon a {
    color: #000000;
}

.top-bar-section > ul > .divider,
.top-bar-section > ul > [role="separator"] {
  border-color: #FFE4B2;
}

/* Darker color for the hover over items */
.top-bar-section ul li.hover > a,
.top-bar-section ul li ul.dropdown li.hover > a{
    background: #FFAE00;
}

/* Slightly darker color for the dropdowns */
.top-bar-section ul li ul.dropdown li > a {
    background: #FFD88C;
}

/* Extension Babel */
.mw-babel-wrapper {
    border: 1px solid #FFA500 !important;
}

.mw-babel-box table {
	margin-bottom: 0px;
}

/* Extension Translate */
.mw-pt-languages-label {
    background: none repeat scroll 0 0 #FFF;
    border-right: 1px solid #DDD;
}

.mw-pt-languages {
    background: none repeat scroll 0 0 #FFF;
    border: 1px solid #DDD;
    color: #2795b6;
}

.panel {
    background: none repeat scroll 0 0 #FFF;
}

.tux-message-editor textarea {
	width: 100%;
}

.ext-cc-language-selector__trigger,
.ext-cc-language-selector__trigger:after {
    color: #ffa500;
}

table tr.even,
table tr.alt,
table tr:nth-of-type(2n) {
    background: none;
}