MediaWiki:Mobile.css : Différence entre versions
(Page créée avec « →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 { backgroun... ») |
|||
(4 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; | ||
+ | } | ||
+ | |||
+ | #ca-unwatch, #ca-view, #ca-viewsource, #ca-history { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | |||
+ | .mw-body .firstHeading { | ||
+ | overflow: visible; | ||
+ | text-transform: uppercase; | ||
+ | color: #707588; | ||
+ | font-weight: bold; | ||
+ | font-size: 2em; | ||
+ | border: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; | ||
+ | } | ||
+ | |||
+ | div#simpleSearch #searchInput { | ||
+ | font-family: 'Open Sans', sans-serif; | ||
+ | } | ||
+ | |||
+ | 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; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | /********/ | ||
+ | |||
+ | |||
+ | 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; | ||
} | } |
Version actuelle datée du 26 juillet 2018 à 23:29
/* 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 .firstHeading {
overflow: visible;
text-transform: uppercase;
color: #707588;
font-weight: bold;
font-size: 2em;
border: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;
}
div#simpleSearch #searchInput {
font-family: 'Open Sans', sans-serif;
}
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;
}
/********/
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;
}