MediaWiki:Common.css : Différence entre versions

De Réformation tranquille
Sauter à la navigation Sauter à la recherche
 
(297 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
 
/* Le CSS placé ici sera appliqué à tous les habillages. */
 
/* Le CSS placé ici sera appliqué à tous les habillages. */
 +
 +
#mw-page-base {
 +
  background: linear-gradient(white, white);
 +
}
 +
/*
 +
body {
 +
    width: 100%; 
 +
    text-align: center;
 +
    margin-top: 0em;
 +
    margin: auto;
 +
    position:relative;
 +
    background-color: white;
 +
}
 +
*/
  
 
body {
 
body {
     width: 85%;   
+
     width: 60%;   
 
     text-align: center;
 
     text-align: center;
 
     margin-top: 1em;  
 
     margin-top: 1em;  
 
     margin: auto;  
 
     margin: auto;  
 
     position:relative;
 
     position:relative;
 +
    background-color: white;
 
}
 
}
  
 
div { text-align: left; }
 
div { text-align: left; }
+
 
body #ca-delete {
+
.vectorTabs .new a, .vectorTabs .new a:visited {
     display: none !important;
+
    color: black;
 +
}
 +
 
 +
.vectorTabs, .vectorTabs span, #mw-head .vectorMenu h3 {
 +
    background-color: white;
 +
    background-image: linear-gradient(to bottom,rgba(167,215,249,0) 0,white 100%);
 +
}
 +
 
 +
.mw-body {
 +
    border: 0px;
 +
}
 +
 
 +
div#content {
 +
    border-left: 0px solid black;
 +
}
 +
 
 +
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: 0px;
 +
    font-size: 0.75em;
 +
}
 +
 
 +
 
 +
#mw-panel .portal .body li a:visited {
 +
     color: black;
 
}
 
}
  
/* Infobox template style */
+
#mw-panel .portal .body li a {
.infobox {
 
    border: 1px solid #aaa;
 
    background-color: #f9f9f9;
 
 
     color: black;
 
     color: black;
    margin: 0.5em 0 0.5em 1em;
+
}
     padding: 0.2em;
+
a:visited {
    /* @noflip */
+
     color: darkgreen;
    float: right;
+
}
    /* @noflip */
+
 
     clear: right;
+
#mw-panel .portal .body li {
     text-align: left;
+
     margin: 0em;
     font-size: 88%;
+
     padding: 0.25em;
 +
     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: darkgreen;
 +
}
 +
 +
#mw-panel .portal .body {
 +
    background-image: none;
 +
}
 +
 +
.vectorTabs li a {
 +
    color: black;
 +
}
 +
 +
.vectorTabs li a {
 +
    color: black;
 +
}
 +
 +
h3, h4, h5, h6 {
 +
    border-bottom: 0px;
 +
}
 +
 +
 +
#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: white;
 
}
 
}
.infobox caption {
+
 
     font-size: 125%;
+
.wikitable {
    font-weight: bold;
+
     background-color: white;
 
}
 
}
.infobox td,
+
 
.infobox th {
+
#footer-places-about {
     vertical-align: top;
+
     display:center !important;
 
}
 
}
.infobox.bordered {
+
 
     border-collapse: collapse;
+
#footer-poweredbyico, #f-copyrightico, li#footer-places-disclaimer,li#footer-places-privacy{display: none !important}
 +
 
 +
.mw-editsection, .mw-editsection-like {
 +
     font-family: georgia;
 +
    display: none;
 
}
 
}
.infobox.bordered td,
+
 
.infobox.bordered th {
+
/* Remove OUTILS from left sidebar */
    border: 1px solid #aaa;
+
#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 {
 
}
 
}
.infobox.bordered .borderless td,
+
a {
.infobox.bordered .borderless th {
+
    text-decoration: none;
     border: 0;
+
    color: darkgreen;
 +
     background: white;
 
}
 
}
+
 
.infobox.sisterproject {
+
element.style {
    width: 20em;
 
    font-size: 90%;
 
 
}
 
}
+
div#content {
.infobox.standard-talk {
+
     border-left: 0px solid black;
     border: 1px solid #c0c090;
 
    background-color: #f8eaba;
 
 
}
 
}
.infobox.standard-talk.bordered td,
+
.mw-body {
.infobox.standard-talk.bordered th {
+
    padding: 0em 1.5em 1.5em 1.5em;
    border: 1px solid #c0c090;
 
 
}
 
}
+
 
/* 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;
 
 
}
 
}
+
 
.infobox.bordered .mergedrow td,
+
 
.infobox.bordered .mergedrow th {
+
element.style {
    border: 0;
 
    border-right: 1px solid #aaa;
 
 
}
 
}
+
.toctogglelabel {
/* Styles for geography infoboxes, eg countries,
+
     display: none !important;
  country subdivisions, cities, etc.           */
 
.infobox.geography {
 
     /* @noflip */
 
    text-align: left;
 
    border-collapse: collapse;
 
    line-height: 1.2em;
 
    font-size: 90%;
 
 
}
 
}
+
 
.infobox.geography  td,
+
.toctogglespan {
.infobox.geography  th {
+
     display: none;
     border-top: 1px solid #aaa;
 
    padding: 0.4em 0.6em 0.4em 0.6em;
 
 
}
 
}
.infobox.geography .mergedtoprow td,
+
 
.infobox.geography .mergedtoprow th {
+
.firstHeading {
     border-top: 1px solid #aaa;
+
     margin-bottom: 0.1em;
     padding: 0.4em 0.6em 0.2em 0.6em;
+
     line-height: 1.2em;
 +
    padding-bottom: 0;
 
}
 
}
+
 
.infobox.geography .mergedrow td,
+
div#content {
.infobox.geography .mergedrow th {
+
     border-left: 0x solid black;
     border: 0;
 
    padding: 0 0.6em 0.2em 0.6em;
 
 
}
 
}
+
 
.infobox.geography .mergedbottomrow td,
+
.mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, #footer {
.infobox.geography .mergedbottomrow th {
+
    margin-left: ;
     border-top: 0;
+
    margin-top: ;
     border-bottom: 1px solid #aaa;
+
    border-left: 0px solid black;
     padding: 0 0.6em 0.4em 0.6em;
+
     border-right: 0px solid black;
 +
     border-top: 0px solid black;
 +
     border-bottom: 0px solid black;
 
}
 
}
+
 
.infobox.geography .maptable td,
+
#footer-places li {
.infobox.geography .maptable th {
+
     display: none;
     border: 0;
 
    padding: 0;
 
 
}
 
}
  
 +
#mw-panel .portal .body li {
 +
    display:;
 +
}
  
 +
#searchInput {
 +
    border: 1px solid black;
 +
}
  
  
/* displayed formula, formula number */
+
element.style {
div.texdisplay {
 
  margin: 3px; padding: 3px;
 
  background-color: transparent;
 
  text-align:center;
 
 
}
 
}
/* change to float:left if you want formula numbers appear on the left */
+
#p-logo a {
div.texdisplay span.dispno {
+
    display: block;
  float: right;
+
    width: 8em;
 +
    height: 6em;
 +
    background-repeat: no-repeat;
 +
    background-position: center center;
 +
    text-decoration: none;
 
}
 
}
  
 +
html {
 +
    font-size: 1.1em;
 +
}
 +
 +
.mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, #footer {
 +
    margin-left: 0em;
 +
}
 +
#mw-head-base {
 +
    margin-top: -5em;
 +
    margin-left: 10em;
 +
    height: 4em;
 +
}
  
 +
#mw-panel .portal .body li {
 +
    display: none;
 +
}
  
/* Allow limiting of which header levels are shown in a TOC;
+
#footer ul {
  <div class="toclimit-3">, for instance, will limit to
 
  showing ==headings== and ===headings=== but no further
 
  (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;
 +
}
 +
 +
body {
 +
    font-family: georgia;
 +
}
 +
 +
.mw-body-content {
 +
    position: relative;
 +
    font-size: 1em;
 +
    line-height: 1.6;
 +
    z-index: 0;
 +
}
 +
 +
 +
.mw-body-content h2 {
 +
    margin-top: 3em;
 +
    font-size: 1.2em;
 +
    text-align: center;
 +
    margin-bottom: 0.25em;
 +
    padding: 0;
 +
    font-family: georgia;
 +
    line-height: 1.3;
 +
    text-transform: uppercase;
 +
}
 +
 +
.mw-body-content h3 {
 +
    margin-top: 2.5em;
 +
    font-size: 1em;
 +
    text-align: left;
 +
    margin-bottom: 0.25em;
 +
    padding: 0;
 +
    font-family: georgia;
 +
    line-height: 1.3;
 +
    text-transform: italic;
 +
}
 +
 +
.mw-body-content h3 {
 +
    margin-top: 2.5em;
 +
    font-size: 0.875em;
 +
}
 +
 +
 +
.mw-body-content p {
 +
    text-align: justify;
 +
}
 +
 +
 +
.mw-body .firstHeading {
 +
    overflow: visible;
 +
    font-family: georgia;
 +
    text-align: center;
 +
    margin-top: 1em;
 +
}
 +
 +
.toc, .mw-warning, .toccolours {
 +
    border: 0px solid #a2a9b1;
 +
    background-color: white;
 +
 +
.mw-body-content .toc h2 {
 +
    font-family: georgia;
 +
    font-size: 100%;
 
}
 
}

Version actuelle datée du 25 février 2023 à 17:40

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

#mw-page-base {
  background: linear-gradient(white, white);
}
/*
body {
    width: 100%;   
    text-align: center;
    margin-top: 0em; 
    margin: auto; 
    position:relative;
    background-color: white;
}
*/

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

div { text-align: left; }

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

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

.mw-body {
    border: 0px;
}

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

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: 0px;
    font-size: 0.75em;
}


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

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

#mw-panel .portal .body li {
    margin: 0em;
    padding: 0.25em;
    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: darkgreen;
}

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

.vectorTabs li a {
    color: black;
}

.vectorTabs li a {
    color: black;
}

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


#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: white;
}

.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: georgia;
    display: none;
}

/* 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: darkgreen;
    background: white;
}

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

element.style {
}


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

.toctogglespan {
    display: none;
}

.firstHeading {
    margin-bottom: 0.1em;
    line-height: 1.2em;
    padding-bottom: 0;
}

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

.mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, #footer {
    margin-left: ;
    margin-top: ;
    border-left: 0px 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 {
    display:;
}

#searchInput {
    border: 1px solid black;
}


element.style {
}
#p-logo a {
    display: block;
    width: 8em;
    height: 6em;
    background-repeat: no-repeat;
    background-position: center center;
    text-decoration: none;
}

html {
    font-size: 1.1em;
}

.mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, #footer {
    margin-left: 0em;
}
#mw-head-base {
    margin-top: -5em;
    margin-left: 10em;
    height: 4em;
}

#mw-panel .portal .body li {
    display: none;
}

#footer ul {
    display: none;
}

body {
    font-family: georgia;
}

.mw-body-content {
    position: relative;
    font-size: 1em;
    line-height: 1.6;
    z-index: 0;
}


.mw-body-content h2 {
    margin-top: 3em;
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 0.25em;
    padding: 0;
    font-family: georgia;
    line-height: 1.3;
    text-transform: uppercase;
}

.mw-body-content h3 {
    margin-top: 2.5em;
    font-size: 1em;
    text-align: left;
    margin-bottom: 0.25em;
    padding: 0;
    font-family: georgia;
    line-height: 1.3;
    text-transform: italic;
}

.mw-body-content h3 {
    margin-top: 2.5em;
    font-size: 0.875em;
}


.mw-body-content p {
    text-align: justify;
}


.mw-body .firstHeading {
    overflow: visible;
    font-family: georgia;
    text-align: center;
    margin-top: 1em;
}

.toc, .mw-warning, .toccolours {
    border: 0px solid #a2a9b1;
    background-color: white;

.mw-body-content .toc h2 {
    font-family: georgia;
    font-size: 100%;
}