MediaWiki:Common.css : Différence entre versions

De Le Parergon
Sauter à la navigation Sauter à la recherche
Ligne 1 : Ligne 1 :
/* CSS placed here will be applied to all skins */
+
/* Le CSS placé ici sera appliqué à tous les habillages. */
 +
 
 +
head {
 +
  background-color: orange;
 +
}
 +
 
 +
panel {
 +
  background-color: none;
 +
}
 +
 
 +
element.style {
 +
  background-color: white;
 +
}
 +
 
 +
#mw-page-base {
 +
  background: linear-gradient(white, white);
 +
}
  
 
body {
 
body {
     width: 85%;   
+
     width: 75%;   
 
     text-align: center;
 
     text-align: center;
 
     margin-top: 1em;  
 
     margin-top: 1em;  
 
     margin: auto;  
 
     margin: auto;  
 
     position:relative;
 
     position:relative;
 +
    background-color: white;
 +
    font-family: ;
 +
    font
 
}
 
}
  
 
div { text-align: left; }
 
div { text-align: left; }
 
   
 
   
 +
/* PREVENTS US FROM DELETING PAGES
 
body #ca-delete {
 
body #ca-delete {
 
     display: none !important;
 
     display: none !important;
 +
}
 +
*/
 +
 +
.vectorTabs .new a, .vectorTabs .new a:visited {
 +
    color: black;
 +
}
 +
 +
#searchInput {
 +
    border: none;
 +
    box-shadow: inset 0 0 1px 1px black;
 +
}
 +
 +
div#content {
 +
    border-left: 1px solid black;
 +
}
 +
 +
.mw-body {
 +
    border: 0px;
 +
}
 +
 +
 +
.vectorTabs, .vectorTabs span, #mw-head .vectorMenu h3 {
 +
    background-color: white;
 +
    background-image: linear-gradient(to bottom,rgba(167,215,249,0) 0,white 100%);
 +
}
 +
 +
h1, h2, h3, h4, h5, h6 {
 +
    border-bottom: 0px solid black;
 
}
 
}
  
/* Infobox template style */
+
#mw-panel .portal h3 {
.infobox {
 
    border: 1px solid #aaa;
 
    background-color: #f9f9f9;
 
 
     color: black;
 
     color: black;
     margin: 0.5em 0 0.5em 1em;
+
    font-weight: normal;
     padding: 0.2em;
+
     margin: 0.5em 0 0 0.66666667em;
     /* @noflip */
+
     padding: 0.25em 0;
     float: right;
+
     cursor: default;
     /* @noflip */
+
     border: 1px;
     clear: right;
+
     font-size: 0.75em;
     text-align: left;
+
}
     font-size: 88%;
+
h1, h2, h3, h4, h5, h6 {
 +
    border-bottom: 0px solid black;
 +
}
 +
 
 +
#mw-panel .portal .body li a:visited {
 +
    color: black;
 +
}
 +
 
 +
#mw-panel .portal .body li a {
 +
     color: black;
 +
}
 +
a:visited {
 +
     color: purple;
 +
}
 +
 
 +
#mw-panel .portal .body li {
 +
    margin: 0;
 +
    padding: 0.25em 0;
 +
     font-size: 0.8em;
 
     line-height: 1.5em;
 
     line-height: 1.5em;
 +
    word-wrap: break-word;
 +
}
 +
 +
a.new:visited, #p-personal a.new:visited {
 +
    color: black;
 +
}
 +
a.new, #p-personal a.new {
 +
    color: black;
 +
}
 +
 +
div#content a {
 +
    color: purple;
 +
}
 +
 +
#mw-panel .portal .body {
 +
    background-image: none;
 +
}
 +
 +
 +
.vectorTabs li a {
 +
    color: black;
 +
}
 +
 +
.vectorTabs li a {
 +
    color: black;
 +
}
 +
 +
h3, h4, h5, h6 {
 +
    border-bottom: 0;
 +
}
 +
 +
 +
#mw-panel #p-logo + .portal {
 +
    margin-top: 0em;
 +
}
 +
 +
#mw-panel .portal .body li a {
 +
    text-transform:;
 
}
 
}
.infobox caption {
+
 
     font-size: 125%;
+
#mw-panel .portal h3 {
    font-weight: bold;
+
     text-transform: uppercase;
 
}
 
}
.infobox td,
+
 
.infobox th {
+
table.wikitable > tr > th, table.wikitable > * > tr > th {
     vertical-align: top;
+
     background-color: #f8f9fa;
 
}
 
}
.infobox.bordered {
+
 
     border-collapse: collapse;
+
.wikitable {
 +
     background-color: white;
 
}
 
}
.infobox.bordered td,
+
 
.infobox.bordered th {
+
#footer-places-about {
     border: 1px solid #aaa;
+
     display:center !important;
 
}
 
}
.infobox.bordered .borderless td,
+
 
.infobox.bordered .borderless th {
+
#footer-poweredbyico, #f-copyrightico, li#footer-places-disclaimer,li#footer-places-privacy{display: none !important}
     border: 0;
+
 
 +
.mw-editsection, .mw-editsection-like {
 +
     font-family: sans-serif;
 +
    display: none;
 
}
 
}
+
 
.infobox.sisterproject {
+
/* INFOBOX */
     width: 20em;
+
#infobox table {
     font-size: 90%;
+
     border: 1px solid black;
 +
    float: right;
 +
    margin: 1em;
 +
     padding: 1em;
 
}
 
}
+
 
.infobox.standard-talk {
+
/* Remove OUTILS from left sidebar */
    border: 1px solid #c0c090;
+
#p-tb {display: none;}
    background-color: #f8eaba;
+
 
 +
 
 +
#ca-nstab-main { display:none!important; }
 +
#ca-nstab-user { display:none!important; }
 +
#ca-talk { display:none!important; }
 +
#ca-view { display:none!important; }
 +
#ca-history { display:none!important; }
 +
#ca-watch { display:none!important; }
 +
#ca-unwatch { display:none!important; }
 +
#ca-viewsource { display:none!important; }
 +
 
 +
element.style {
 
}
 
}
.infobox.standard-talk.bordered td,
+
a {
.infobox.standard-talk.bordered th {
+
    text-decoration: none;
     border: 1px solid #c0c090;
+
    color: purple;
 +
     background: none;
 
}
 
}
+
 
/* styles for bordered infobox with merged rows */
+
element.style {
.infobox.bordered .mergedtoprow td,
 
.infobox.bordered .mergedtoprow th {
 
    border: 0;
 
    border-top: 1px solid #aaa;
 
    border-right: 1px solid #aaa;
 
 
}
 
}
+
div#content {
.infobox.bordered .mergedrow td,
+
     border-left: 1px solid black;
.infobox.bordered .mergedrow th {
 
    border: 0;
 
     border-right: 1px solid #aaa;
 
 
}
 
}
+
.mw-body {
/* Styles for geography infoboxes, eg countries,
+
     padding: 0em 1.5em 1.5em 1.5em;
  country subdivisions, cities, etc.           */
 
.infobox.geography {
 
     /* @noflip */
 
    text-align: left;
 
    border-collapse: collapse;
 
    line-height: 1.2em;
 
    font-size: 90%;
 
 
}
 
}
+
 
.infobox.geography  td,
+
element.style {
.infobox.geography  th {
 
    border-top: 1px solid #aaa;
 
    padding: 0.4em 0.6em 0.4em 0.6em;
 
 
}
 
}
.infobox.geography .mergedtoprow td,
+
#mw-panel .portal .body li {
.infobox.geography .mergedtoprow th {
+
     font-size: 0.84em;
     border-top: 1px solid #aaa;
 
    padding: 0.4em 0.6em 0.2em 0.6em;
 
 
}
 
}
+
 
.infobox.geography .mergedrow td,
+
 
.infobox.geography .mergedrow th {
+
element.style {
    border: 0;
 
    padding: 0 0.6em 0.2em 0.6em;
 
 
}
 
}
+
.toctogglelabel {
.infobox.geography .mergedbottomrow td,
+
     display: none !important;
.infobox.geography .mergedbottomrow th {
 
     border-top: 0;
 
    border-bottom: 1px solid #aaa;
 
    padding: 0 0.6em 0.4em 0.6em;
 
 
}
 
}
+
 
.infobox.geography .maptable td,
+
.toctogglespan {
.infobox.geography .maptable th {
+
     display: none;
     border: 0;
 
    padding: 0;
 
 
}
 
}
  
  
 +
html, body {
 +
    font-family: arial;
 +
}
  
 +
element.style {
 +
}
 +
.toc {
 +
    display: inline-block;
 +
    display: table;
 +
    zoom: 1;
 +
    *display: inline;
 +
    padding: 7px;
 +
}
 +
.toc, .mw-warning, .toccolours {
 +
    border: 0px solid #a2a9b1;
 +
    background-color: white;
 +
    padding: 5px;
 +
    font-size: 95%;
 +
}
  
/* displayed formula, formula number */
+
.firstHeading {
div.texdisplay {
+
    margin-bottom: 0.1em;
  margin: 3px; padding: 3px;
+
    line-height: 1.2em;
  background-color: transparent;
+
    padding-bottom: 0;
  text-align:center;
 
 
}
 
}
/* change to float:left if you want formula numbers appear on the left */
+
h1, h2, h3, h4, h5, h6 {
div.texdisplay span.dispno {
+
    border-bottom: 0px solid black;
  float: right;
 
 
}
 
}
  
 +
div#content {
 +
    border-left: 0x solid black;
 +
}
  
 +
.mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, #footer {
 +
    margin-left: 11em;
 +
    border-left: 1px solid black;
 +
    border-right: 0px solid black;
 +
    border-top: 0px solid black;
 +
    border-bottom: 0px solid black;
  
/* Allow limiting of which header levels are shown in a TOC;
+
}
  <div class="toclimit-3">, for instance, will limit to
+
 
  showing ==headings== and ===headings=== but no further
+
#footer-places li {
  (as long as there are no =headings= on the page, which
 
  there shouldn't be according to the MoS). */
 
.toclimit-2 .toclevel-1 ul,
 
.toclimit-3 .toclevel-2 ul,
 
.toclimit-4 .toclevel-3 ul,
 
.toclimit-5 .toclevel-4 ul,
 
.toclimit-6 .toclevel-5 ul,
 
.toclimit-7 .toclevel-6 ul {
 
 
     display: none;
 
     display: none;
 +
}
 +
 +
#mw-panel .portal .body li {
 +
    font-size: 0.86em;
 
}
 
}

Version du 7 juillet 2022 à 12:37

/* Le CSS placé ici sera appliqué à tous les habillages. */

head {
  background-color: orange;
}

panel {
  background-color: none;
}

element.style {
  background-color: white;
}

#mw-page-base {
  background: linear-gradient(white, white);
}

body {
    width: 75%;   
    text-align: center;
    margin-top: 1em; 
    margin: auto; 
    position:relative;
    background-color: white;
    font-family: ;
    font
}

div { text-align: left; }
 
/* PREVENTS US FROM DELETING PAGES
body #ca-delete {
    display: none !important;
}
*/

.vectorTabs .new a, .vectorTabs .new a:visited {
    color: black;
}

#searchInput {
    border: none;
    box-shadow: inset 0 0 1px 1px black;
}

div#content {
    border-left: 1px solid black;
}

.mw-body {
    border: 0px;
}


.vectorTabs, .vectorTabs span, #mw-head .vectorMenu h3 {
    background-color: white;
    background-image: linear-gradient(to bottom,rgba(167,215,249,0) 0,white 100%);
}

h1, h2, h3, h4, h5, h6 {
    border-bottom: 0px solid black;
}

#mw-panel .portal h3 {
    color: black;
    font-weight: normal;
    margin: 0.5em 0 0 0.66666667em;
    padding: 0.25em 0;
    cursor: default;
    border: 1px;
    font-size: 0.75em;
}
h1, h2, h3, h4, h5, h6 {
    border-bottom: 0px solid black;
}

#mw-panel .portal .body li a:visited {
    color: black;
}

#mw-panel .portal .body li a {
    color: black;
}
a:visited {
    color: purple;
}

#mw-panel .portal .body li {
    margin: 0;
    padding: 0.25em 0;
    font-size: 0.8em;
    line-height: 1.5em;
    word-wrap: break-word;
}

a.new:visited, #p-personal a.new:visited {
    color: black;
}
a.new, #p-personal a.new {
    color: black;
}

div#content a {
    color: purple;
}

#mw-panel .portal .body {
    background-image: none;
}


.vectorTabs li a {
    color: black;
}

.vectorTabs li a {
    color: black;
}

h3, h4, h5, h6 {
    border-bottom: 0;
}


#mw-panel #p-logo + .portal {
    margin-top: 0em;
}

#mw-panel .portal .body li a {
    text-transform:;
}

#mw-panel .portal h3 {
    text-transform: uppercase;
}

table.wikitable > tr > th, table.wikitable > * > tr > th {
    background-color: #f8f9fa;
}

.wikitable {
    background-color: white;
}

#footer-places-about {
    display:center !important;
}

#footer-poweredbyico, #f-copyrightico, li#footer-places-disclaimer,li#footer-places-privacy{display: none !important}

.mw-editsection, .mw-editsection-like {
    font-family: sans-serif;
    display: none;
}

/* INFOBOX */
#infobox table {
    border: 1px solid black;
    float: right;
    margin: 1em;
    padding: 1em;
}

/* Remove OUTILS from left sidebar */
#p-tb {display: none;}


#ca-nstab-main { display:none!important; }
#ca-nstab-user { display:none!important; }
#ca-talk { display:none!important; }
#ca-view { display:none!important; }
#ca-history { display:none!important; }
#ca-watch { display:none!important; }
#ca-unwatch { display:none!important; }
#ca-viewsource { display:none!important; }

element.style {
}
a {
    text-decoration: none;
    color: purple;
    background: none;
}

element.style {
}
div#content {
    border-left: 1px solid black;
}
.mw-body {
    padding: 0em 1.5em 1.5em 1.5em;
}

element.style {
}
#mw-panel .portal .body li {
    font-size: 0.84em;
}


element.style {
}
.toctogglelabel {
    display: none !important;
}

.toctogglespan {
    display: none;
}


html, body {
    font-family: arial;
}

element.style {
}
.toc {
    display: inline-block;
    display: table;
    zoom: 1;
    *display: inline;
    padding: 7px;
}
.toc, .mw-warning, .toccolours {
    border: 0px solid #a2a9b1;
    background-color: white;
    padding: 5px;
    font-size: 95%;
}

.firstHeading {
    margin-bottom: 0.1em;
    line-height: 1.2em;
    padding-bottom: 0;
}
h1, h2, h3, h4, h5, h6 {
    border-bottom: 0px solid black;
}

div#content {
    border-left: 0x solid black;
}

.mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, #footer {
    margin-left: 11em;
    border-left: 1px solid black;
    border-right: 0px solid black;
    border-top: 0px solid black;
    border-bottom: 0px solid black;

}

#footer-places li {
    display: none;
}

#mw-panel .portal .body li {
    font-size: 0.86em;
}