MediaWiki

Difference between revisions of "Common.css"

(Page créée avec « #site-tools, #page-tools { display:none; } »)
 
Line 1: Line 1:
#site-tools, #page-tools {
+
/* CSS placed here will be applied to all skins */
   display:none;
+
 
 +
/* 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;
 
}
 
}

Revision as of 13:20, 28 March 2018

/* 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;
}