MediaWiki:Common.css : Différence entre versions
(15 révisions intermédiaires par le même utilisateur non affichées) | |||
Ligne 5 : | Ligne 5 : | ||
background-color: #fff; | background-color: #fff; | ||
font-family: 'Open Sans', sans-serif; | font-family: 'Open Sans', sans-serif; | ||
+ | } | ||
+ | |||
+ | #mw-content-text > div > p:nth-child(1) { | ||
+ | font-weight: bold; | ||
+ | color: #77b939; | ||
+ | } | ||
+ | |||
+ | div#simpleSearch { | ||
+ | width: 15vw; | ||
+ | } | ||
+ | |||
+ | #left-navigation { | ||
+ | margin-left: 18em; | ||
+ | } | ||
+ | |||
+ | div.vectorTabs { | ||
+ | background-image: none; | ||
+ | padding-left: 0; | ||
+ | } | ||
+ | |||
+ | div.vectorTabs ul { | ||
+ | background:none; | ||
} | } | ||
Ligne 24 : | Ligne 46 : | ||
} | } | ||
− | div.vectorTabs li.new a, div.vectorTabs li.new a:visited { | + | div.vectorTabs li.new a, div.vectorTabs li.new a:visited, div.vectorTabs span > a { |
− | |||
color: #707588; | color: #707588; | ||
text-decoration: none; | text-decoration: none; | ||
Ligne 31 : | Ligne 52 : | ||
background-color: #fff; | background-color: #fff; | ||
border: 1px solid #707588; | border: 1px solid #707588; | ||
− | margin-top: | + | margin-top: 1.35em; |
line-height: 1.9em; | line-height: 1.9em; | ||
− | padding: | + | padding: 0px 15px; |
+ | font-size: 12px; | ||
} | } | ||
Ligne 42 : | Ligne 64 : | ||
background-color: #707588; | background-color: #707588; | ||
border: 1px solid #707588; | border: 1px solid #707588; | ||
− | + | margin-top: 1.3em; | |
line-height: 1.9em; | line-height: 1.9em; | ||
− | padding: | + | padding: 0px 13px; |
+ | font-size: 12px; | ||
+ | } | ||
+ | |||
+ | div.vectorTabs span { | ||
+ | background: none; | ||
} | } | ||
Ligne 57 : | Ligne 84 : | ||
.mw-body { | .mw-body { | ||
border: none; | border: none; | ||
+ | margin-left: 18em; | ||
+ | padding-left: 0; | ||
margin-top: 0; | margin-top: 0; | ||
border-top: 1px solid #707588; | border-top: 1px solid #707588; | ||
margin-right: 1em; | margin-right: 1em; | ||
+ | } | ||
+ | |||
+ | div#footer { | ||
+ | margin-left: 18em; | ||
+ | padding-left: 0; | ||
} | } | ||
Ligne 70 : | Ligne 104 : | ||
font-family: 'Open Sans',sans-serif; | font-family: 'Open Sans',sans-serif; | ||
color: #77b939; | color: #77b939; | ||
− | border-bottom: | + | border-bottom: none; |
padding-bottom: 5px; | padding-bottom: 5px; | ||
font-weight: bold; | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | .mw-body h2::after, .mw-body h3::after, .mw-body h4::after { | ||
+ | content: ''; | ||
+ | height: 1px; | ||
+ | background-image: url(images/liseret.png); | ||
+ | width: 100%; | ||
+ | display: block; | ||
+ | background-size: cover; | ||
} | } | ||
Ligne 96 : | Ligne 139 : | ||
div#mw-panel { | div#mw-panel { | ||
− | background- | + | background-image: url(images/fond-bleu.png); |
+ | background-size: contain; | ||
+ | font-size: 20px; | ||
min-height: 100vh; | min-height: 100vh; | ||
position: fixed; | position: fixed; | ||
+ | width: 12em; | ||
} | } | ||
Ligne 118 : | Ligne 164 : | ||
text-decoration: none; | text-decoration: none; | ||
color: #009de1; | color: #009de1; | ||
+ | font-weight: bold; | ||
background: none; | background: none; | ||
+ | } | ||
+ | |||
+ | ol a, ul a { | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | |||
+ | .mw-body-content a.external, .mw-body-content a.external:visited { | ||
+ | color: #009de1; | ||
} | } |
Version actuelle datée du 25 juillet 2018 à 19:10
/* Le CSS placé ici sera appliqué à tous les habillages. */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700');
body {
background-color: #fff;
font-family: 'Open Sans', sans-serif;
}
#mw-content-text > div > p:nth-child(1) {
font-weight: bold;
color: #77b939;
}
div#simpleSearch {
width: 15vw;
}
#left-navigation {
margin-left: 18em;
}
div.vectorTabs {
background-image: none;
padding-left: 0;
}
div.vectorTabs ul {
background:none;
}
div.vectorTabs ul > li {
background: none;
}
div.vectorTabs span > a {
float: left;
display: block;
color: #707588;
text-decoration: none;
padding-top: 0;
background-color: #fff;
border: 1px solid #707588;
margin-top: 0.4em;
line-height: 1.9em;
padding: 5px 15px;
}
div.vectorTabs li.new a, div.vectorTabs li.new a:visited, div.vectorTabs span > a {
color: #707588;
text-decoration: none;
padding-top: 0;
background-color: #fff;
border: 1px solid #707588;
margin-top: 1.35em;
line-height: 1.9em;
padding: 0px 15px;
font-size: 12px;
}
div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {
color: #fff;
text-decoration: none;
padding-top: 0;
background-color: #707588;
border: 1px solid #707588;
margin-top: 1.3em;
line-height: 1.9em;
padding: 0px 13px;
font-size: 12px;
}
div.vectorTabs span {
background: none;
}
#ca-unwatch, #ca-view, #ca-viewsource, #ca-history {
display:none;
}
#mw-page-base {
background: none;
}
.mw-body {
border: none;
margin-left: 18em;
padding-left: 0;
margin-top: 0;
border-top: 1px solid #707588;
margin-right: 1em;
}
div#footer {
margin-left: 18em;
padding-left: 0;
}
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4 {
font-family: 'Open Sans', sans-serif;
}
.mw-body h2, .mw-body h3, .mw-body h4 {
font-family: 'Open Sans',sans-serif;
color: #77b939;
border-bottom: none;
padding-bottom: 5px;
font-weight: bold;
}
.mw-body h2::after, .mw-body h3::after, .mw-body h4::after {
content: '';
height: 1px;
background-image: url(images/liseret.png);
width: 100%;
display: block;
background-size: cover;
}
.mw-body .firstHeading {
overflow: visible;
text-transform: uppercase;
color: #707588;
font-weight: bold;
font-size: 2em;
border:none;
}
div#simpleSearch {
margin-top: 0.95em;
border: 1px solid #707588;
padding-left: 10px;
}
div#simpleSearch #searchInput {
font-family: 'Open Sans', sans-serif;
}
div#mw-panel {
background-image: url(images/fond-bleu.png);
background-size: contain;
font-size: 20px;
min-height: 100vh;
position: fixed;
width: 12em;
}
div#mw-panel div.portal div.body ul li a, div#mw-panel div.portal div.body ul li a:visited {
color: #fff;
}
div#mw-panel div.portal h3 {
font-size: 0.9em;
color: #fff;
font-weight: bold;
}
a:visited {
color: #009de1;
}
a {
text-decoration: none;
color: #009de1;
font-weight: bold;
background: none;
}
ol a, ul a {
font-weight: normal;
}
.mw-body-content a.external, .mw-body-content a.external:visited {
color: #009de1;
}