« MediaWiki:Mobile.css » : différence entre les versions
(version finale pour tests) |
mAucun résumé des modifications |
||
| Ligne 40 : | Ligne 40 : | ||
/* Maintenance templates you see atop some articles */ | /* Maintenance templates you see atop some articles */ | ||
.ambox-content {background-color: #ddd;border-color: #cdcbc8;} | .ambox-content {background-color: #ddd;border-color: #cdcbc8;} | ||
#backtotop { | |||
border-right: none; | |||
float: right; | |||
margin-top: -1px; | |||
} | |||
#backtotop button { | |||
height: 20px; | |||
} | |||
#BackToTopBtn div { | |||
border-radius: 100%; | |||
bottom: 3%; | |||
box-sizing: border-box; | |||
cursor: pointer; | |||
height: 50px; | |||
padding: 13px; | |||
position: fixed; | |||
text-align: center; | |||
width: 50px; | |||
z-index: 5000102; | |||
} | |||
#BackToTopBtn div svg { | |||
display: block; | |||
fill: currentColor; | |||
transform: scaleY(-1); | |||
} | |||
Version du 23 août 2020 à 02:52
/* Le CSS placé ici n’affectera que les utilisateurs du site mobile */
/* @darkmode-table-background-color: #ddd;
@darkmode-border-color: #cdcbc8;
@darkmode-link-color: #69f;
@darkmode-link-visited-color: #709bbd;
@darkmode-red-link-color: #ff6e6e; */
#content {background-image: none;}
#content,img,video,svg,iframe,.mw-wiki-logo,.mw-no-invert,.mw-mmv-overlay,.mw-mmv-pre-image,.mw-kartographer-map,.mw-kartographer-mapDialog-map {
filter: invert(1) hue-rotate(180deg);
-webkit-filter: invert(1) hue-rotate(180deg);}
/* Backgrounds */
.toc,.thumbinner,#simpleSearch,#searchInput,#searchButton,#searchGoButton,table,table.toccolours,.wikitable,.mw-notification {
background-color: #ddd;}
/* Borders */
body,#mw-head,#mw-panel,#content.mw-body,h1,h2,h3,h4,h5,h6,.toc,div.thumbinner,#simpleSearch,#searchInput,table.toccolours,.mw-notification {
border-color: #cdcbc8;}
.thumbimage {border: 0;}
/* Normal links */
a,#mw-panel .portal .body li a,.toctogglelabel,.mw-parser-output a.external,.mw-parser-output a.extiw,.mw-parser-output a.extiw:active {
color: #69f;}
/* Visited links */
a:visited,#mw-panel .portal .body li a:visited {color: #709bbd;}
/* Red links */
a.new,.new a {color: #ff6e6e;}
/* Skin-specific overrides */
.vectorTabs li a {color: #69f;}
/* Non-MediaWiki overrides */
.infobox,.infobox_v2 {background-color: #ddd;border-color: #cdcbc8;}
/* Maintenance templates you see atop some articles */
.ambox-content {background-color: #ddd;border-color: #cdcbc8;}
#backtotop {
border-right: none;
float: right;
margin-top: -1px;
}
#backtotop button {
height: 20px;
}
#BackToTopBtn div {
border-radius: 100%;
bottom: 3%;
box-sizing: border-box;
cursor: pointer;
height: 50px;
padding: 13px;
position: fixed;
text-align: center;
width: 50px;
z-index: 5000102;
}
#BackToTopBtn div svg {
display: block;
fill: currentColor;
transform: scaleY(-1);
}