« MediaWiki:Mobile.css » : différence entre les versions

De JVFlux
mAucun résumé des modifications
(version finale pour tests)
Ligne 1 : Ligne 1 :
/* Le CSS placé ici n’affectera que les utilisateurs du site mobile */
/* Le CSS placé ici n’affectera que les utilisateurs du site mobile */
/* @darkmode-table-background-color: #ddd;
/* @darkmode-table-background-color: #ddd;
@darkmode-border-color: #cdcbc8;
@darkmode-border-color: #cdcbc8;
Ligne 6 : Ligne 7 :
@darkmode-red-link-color: #ff6e6e; */
@darkmode-red-link-color: #ff6e6e; */


#content {
#content {background-image: none;}
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);}
    #content,
img,
video,
svg,
  iframe, /* some maps are iframes */
  .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 {
/* Backgrounds */
        border: 0;
.toc,.thumbinner,#simpleSearch,#searchInput,#searchButton,#searchGoButton,table,table.toccolours,.wikitable,.mw-notification {
    }
background-color: #ddd;}


    /* Normal links */
/* Borders */
    a,
body,#mw-head,#mw-panel,#content.mw-body,h1,h2,h3,h4,h5,h6,.toc,div.thumbinner,#simpleSearch,#searchInput,table.toccolours,.mw-notification {
    #mw-panel .portal .body li a,
border-color: #cdcbc8;}
    .toctogglelabel,
    .mw-parser-output a.external,
    .mw-parser-output a.extiw,
    .mw-parser-output a.extiw:active {
        color: #69f;
    }


    /* Visited links */
.thumbimage {border: 0;}
    a:visited,
    #mw-panel .portal .body li a:visited {
        color: #709bbd;
    }


    /* Red links */
/* Normal links */
    a.new,
a,#mw-panel .portal .body li a,.toctogglelabel,.mw-parser-output a.external,.mw-parser-output a.extiw,.mw-parser-output a.extiw:active {
    .new a {
color: #69f;}
        color: #ff6e6e;
    }


    /**
/* Visited links */
* Skin-specific overrides
a:visited,#mw-panel .portal .body li a:visited {color: #709bbd;}
*/


    .vectorTabs li a {
/* Red links */
        color: #69f;
a.new,.new a {color: #ff6e6e;}
    }


    /**
/* Skin-specific overrides */
* Non-MediaWiki overrides
.vectorTabs li a {color: #69f;}
*/


    .infobox, /* English Wikipedia, most other wikis with infoboxes */
/* Non-MediaWiki overrides */
.infobox_v2 {
.infobox,.infobox_v2 {background-color: #ddd;border-color: #cdcbc8;}
        /* French/Portuguese Wikipedia, etc. */
        background-color: #ddd;
        border-color: #cdcbc8;
    }


    /* Maintenance templates you see atop some articles */
/* Maintenance templates you see atop some articles */
    .ambox-content {
.ambox-content {background-color: #ddd;border-color: #cdcbc8;}
        background-color: #ddd;
        border-color: #cdcbc8;
    }

Version du 23 août 2020 à 02:24

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