MediaWiki:Mobile.css : Différence entre versions
| Ligne 9 : | Ligne 9 : | ||
#ca-unwatch, #ca-view, #ca-viewsource, #ca-history { | #ca-unwatch, #ca-view, #ca-viewsource, #ca-history { | ||
display:none; | display:none; | ||
| + | } | ||
| + | |||
| + | |||
| + | |||
| + | .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; | ||
} | } | ||
Version du 26 juillet 2018 à 23:18
/* Le CSS placé ici n’affectera que les utilisateurs du site mobile */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700');
body {
background-color: #fff;
font-family: 'Open Sans', sans-serif;
}
#ca-unwatch, #ca-view, #ca-viewsource, #ca-history {
display:none;
}
.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;
}