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

De WikiSimland 4.0
Aucun résumé des modifications
Aucun résumé des modifications
Balise : Révocation manuelle
 
(16 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
/*
/* <pre> */
<pre>
*/


/*****
/*****
Ligne 7 : Ligne 5 :
*****/
*****/
/* redirects in categories, on [[Special:Allpages]], and [[Special:Prefixindex]] */
/* redirects in categories, on [[Special:Allpages]], and [[Special:Prefixindex]] */
  .redirect-in-category, .allpagesredirect {
.redirect-in-category,
    font-style: italic;
.allpagesredirect {
    color:gray;
  font-style: italic;
    }
  color: gray;
}


/* hide unneeded content when printing */
@media print {
  #privacy,
  #about,
  #disclaimer {
    display: none;
  }
}


 
/* hide arrows on selected external links */
  /* hide unneeded content when printing */
.plainlinksneverexpand a {
  @media print {
  background: none !important;
      #privacy, #about, #disclaimer {display:none;}
  padding: 0 !important;
      }
}
 
 
  /* hide arrows on selected external links */
  .plainlinksneverexpand a {
      background:none !important;
      padding:0 !important;
      }
 


/*****
/*****
** Hide selected content
** Hide selected content
*****/
*****/
  .hiddenStructure {display: none}
.hiddenStructure {
 
  display: none;
  .if {display: none}
}


.if {
  display: none;
}


/*****
/*****
** Table formatting
** Table formatting
*****/
*****/
  table.wikitable,
table.wikitable,
  table.prettytable {
table.prettytable {
      margin:1em 1em 1em 0;
  margin: 1em 1em 1em 0;
      background:#F9F9F9;
  background: #F9F9F9;
      border:1px #AAA solid;
  border: 1px #AAA solid;
      border-collapse:collapse;
  border-collapse: collapse;
      }
}


  table.wikitable th, table.wikitable td,
table.wikitable th,
  table.prettytable th, table.prettytable td {
table.wikitable td,
      border:1px #AAA solid;
table.prettytable th,
      padding:0.2em;
table.prettytable td {
      }
  border: 1px #AAA solid;
  padding: 0.2em;
}


  table.wikitable th,
table.wikitable th,
  table.prettytable th {
table.prettytable th {
      background:#F2F2F2;
  background: #F2F2F2;
      text-align:center;
  text-align: center;
      }
}
 
  table.wikitable caption,
  table.prettytable caption {
      margin-left:inherit;
      margin-right:inherit;
      }


table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
}


/*****
/*****
** box formatting
** box formatting
*****/
*****/
  .infobox {
.infobox {
      float:right;
  float: right;
      clear:right;
  clear: right;
      margin-bottom:0.5em;
  margin-bottom: 0.5em;
      margin-left:1em;
  margin-left: 1em;
      padding:0.2em;
  padding: 0.2em;
      border:1px solid #AAA;
  border: 1px solid #AAA;
      background:#F9F9F9;
  background: #F9F9F9;
      color:black;
  color: black;
}


      }
.infobox td,
.infobox th {
  vertical-align: top;
}


  .infobox td,
.infobox caption {
  .infobox th {
  font-size: larger;
      vertical-align:top;
  margin-left: inherit;
      }
}


  .infobox caption {
.infobox.bordered {
      font-size:larger;
  border-collapse: collapse;
      margin-left:inherit;
}
      }


  .infobox.bordered {
.infobox.bordered td,
      border-collapse:collapse;
.infobox.bordered th {
      }
  border: 1px solid #AAA;
}


  .infobox.bordered td,
.infobox.bordered .borderless td,
  .infobox.bordered th {
.infobox.bordered .borderless th {
      border:1px solid #AAA;
  border: 0;
      }
}
 
  .infobox.bordered .borderless td,
  .infobox.bordered .borderless th {
      border:0;
      }
 
  .infobox.sisterproject {
      width:20em;
      font-size:90%;
      }


.infobox.sisterproject {
  width: 20em;
  font-size: 90%;
}


/*****
/*****
** Specific pages (keep to a minimum)
** Specific pages (keep to a minimum)
*****/
*****/
  /* Spam blacklist */
/* Spam blacklist */
  body.page-Talk_Spam_blacklist #ca-addsection {display:none;}
body.page-Talk_Spam_blacklist #ca-addsection {
  display: none;
}


 
/* Spam blacklist/log */
  /* Spam blacklist/log */
.logtable pre {
  .logtable pre {
  margin: 0;
      margin:0;
  padding: 0;
      padding:0;
  border: 0;
      border:0;
}
      }


/*****
/*****
** Bytecounter colours
** Bytecounter colours
*****/  
*****/
strong.mw-plusminus-neg
strong.mw-plusminus-neg {
  {
  color: #c00;
  color: #c00;
}
  }


span.mw-plusminus-neg
span.mw-plusminus-neg {
  {
  color: #900;
  color: #900;
}
  }


span.mw-plusminus-pos
span.mw-plusminus-pos {
  {
  color: #060;
  color: #060;
}
  }


/* Change the external link icon to an Adobe icon for all PDF files */
/* Change the external link icon to an Adobe icon for all PDF files */
/* (in browsers that support these CSS selectors, like Mozilla and Opera) */
/* (in browsers that support these CSS selectors, like Mozilla and Opera) */
#bodyContent a[href$=".pdf"].external,  
#bodyContent a[href$=".pdf"].external,
#bodyContent a[href*=".pdf?"].external,  
#bodyContent a[href*=".pdf?"].external,
#bodyContent a[href*=".pdf#"].external,
#bodyContent a[href*=".pdf#"].external,
#bodyContent a[href$=".PDF"].external,  
#bodyContent a[href$=".PDF"].external,
#bodyContent a[href*=".PDF?"].external,  
#bodyContent a[href*=".PDF?"].external,
#bodyContent a[href*=".PDF#"].external {
#bodyContent a[href*=".PDF#"].external {
    background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat;
  background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif)
    padding-right: 16px;
    center right no-repeat;
  padding-right: 16px;
}
}


Ligne 157 : Ligne 157 :
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
span.PDFlink a {
span.PDFlink a {
    background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important;
  background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif)
    padding-right: 17px !important;
    center right no-repeat !important;
  padding-right: 17px !important;
}
}


/* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */
/* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */
 
div.Boxmerge,
div.Boxmerge,
div.NavFrame {
div.NavFrame {
        margin: 0px;
  margin: 0px;
        padding: 4px;
  padding: 4px;
        border: 1px solid #aaa;
  border: 1px solid #aaa;
        text-align: center;
  text-align: center;
        border-collapse: collapse;
  border-collapse: collapse;
        font-size: 95%;
  font-size: 95%;
}
}
div.Boxmerge div.NavFrame {
div.Boxmerge div.NavFrame {
        border-style: none;
  border-style: none;
        border-style: hidden;
  border-style: hidden;
}
}
div.NavFrame + div.NavFrame {
div.NavFrame + div.NavFrame {
        border-top-style: none;
  border-top-style: none;
        border-top-style: hidden;
  border-top-style: hidden;
}
}
div.NavPic {
div.NavPic {
        background-color: #fff;
  background-color: #fff;
        margin: 0px;
  margin: 0px;
        padding: 2px;
  padding: 2px;
        float: left;
  float: left;
}
}
div.NavFrame div.NavHead {
div.NavFrame div.NavHead {
        height: 1.6em;
  height: 1.6em;
        font-weight: bold;
  font-weight: bold;
        background-color: #ccccff;
  background-color: #ccccff;
        position:relative;
  position: relative;
}
}
div.NavFrame p {
div.NavFrame p {
        font-size: 100%;
  font-size: 100%;
}
}
div.NavFrame div.NavContent {
div.NavFrame div.NavContent {
        font-size: 100%;
  font-size: 100%;
}
}
div.NavFrame div.NavContent p {
div.NavFrame div.NavContent p {
        font-size: 100%;
  font-size: 100%;
}
}
div.NavEnd {
div.NavEnd {
        margin: 0px;
  margin: 0px;
        padding: 0px;
  padding: 0px;
        line-height: 1px;
  line-height: 1px;
        clear: both;
  clear: both;
}
}
a.NavToggle {
a.NavToggle {
        position:absolute;
  position: absolute;
        top:0px;
  top: 0px;
        right:3px;
  right: 3px;
        font-weight:normal;
  font-weight: normal;
        font-size:smaller;
  font-size: smaller;
}
}
/* Infobox template style */
/* Infobox template style */
.infobox {
.infobox {
  border: 1px solid #aaaaaa;
  border: 1px solid #aaaaaa;
  background-color: #f9f9f9;
  background-color: #f9f9f9;
  color: black;
  color: black;
  margin-bottom: 0.5em;
  margin-bottom: 0.5em;
  margin-left: 1em;
  margin-left: 1em;
  padding: 0.2em;
  padding: 0.2em;
  float: right;
  float: right;
  clear: right;
  clear: right;
}
}
.infobox td,
.infobox td,
.infobox th {
.infobox th {
  vertical-align: top;
  vertical-align: top;
}
}
.infobox caption {
.infobox caption {
  font-size: larger;
  font-size: larger;
  margin-left: inherit;
  margin-left: inherit;
}
}
.infobox.bordered {
.infobox.bordered {
  border-collapse: collapse;
  border-collapse: collapse;
}
}
.infobox.bordered td,
.infobox.bordered td,
.infobox.bordered th {
.infobox.bordered th {
  border: 1px solid #aaaaaa;
  border: 1px solid #aaaaaa;
}
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
.infobox.bordered .borderless th {
  border: 0;
  border: 0;
}
}


.infobox.sisterproject {
.infobox.sisterproject {
  width: 20em;
  width: 20em;
  font-size: 90%;
  font-size: 90%;
}
}


Ligne 254 : Ligne 268 :
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
.infobox.bordered .mergedtoprow th {
  border: 0;
  border: 0;
  border-top: 1px solid #aaaaaa;
  border-top: 1px solid #aaaaaa;
  border-right: 1px solid #aaaaaa;
  border-right: 1px solid #aaaaaa;
}
}


.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
.infobox.bordered .mergedrow th {
  border: 0;
  border: 0;
  border-right: 1px solid #aaaaaa;
  border-right: 1px solid #aaaaaa;
}
}


/* styles for geography infoboxes, e.g. countries, national subdivisions, cities, etc. */
/* styles for geography infoboxes, e.g. countries, national subdivisions, cities, etc. */
.infobox.geography {
.infobox.geography {
  border: 1px solid #ccd2d9;
  border: 1px solid #ccd2d9;
  text-align: left;
  text-align: left;
  border-collapse: collapse;
  border-collapse: collapse;
  line-height: 1.2em;  
  line-height: 1.2em;
  font-size: 90%;
  font-size: 90%;
}
}


.infobox.geography td,
.infobox.geography td,
.infobox.geography th {
.infobox.geography th {
  border-top: solid 1px #ccd2d9;
  border-top: solid 1px #ccd2d9;
  padding: 0.4em 0.2em 0.4em 0.8em;
  padding: 0.4em 0.2em 0.4em 0.8em;
}
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
.infobox.geography .mergedtoprow th {
  border-top: solid 1px #ccd2d9;
  border-top: solid 1px #ccd2d9;
  padding: 0.4em 0.2em 0.2em 0.8em;
  padding: 0.4em 0.2em 0.2em 0.8em;
}
}


.infobox.geography .mergedrow td,
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
.infobox.geography .mergedrow th {
      border: 0;
  border: 0;
      padding: 0 0.2em 0.2em 0.8em;
  padding: 0 0.2em 0.2em 0.8em;
}
}


.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
.infobox.geography .mergedbottomrow th {
  border-top: 0;
  border-top: 0;
  border-bottom: solid 1px #ccd2d9;
  border-bottom: solid 1px #ccd2d9;
  padding: 0 0.2em 0.4em 0.8em;
  padding: 0 0.2em 0.4em 0.8em;
}
}


.infobox.geography .maptable td,
.infobox.geography .maptable td,
.infobox.geography .maptable th {
.infobox.geography .maptable th {
      border: 0;
  border: 0;
      padding: 0 0 0 0;
  padding: 0 0 0 0;
}
}
/*
</pre>
*/


/* Conteneur en 2 colonnes */
/* </pre> */
.row-2cols {
 
.sim_cat_ctn {
   display: flex;
   display: flex;
   flex-wrap: wrap;   /* Permet le passage à la ligne */
   justify-content: space-between;
   gap: 2%;           /* Espacement entre colonnes */
   flex-wrap: wrap;
}
}


/* Chaque colonne occupe environ la moitié */
.col-2 {
.row-2cols .col {
   width: 48%;
   flex: 1 1 48%;
}
}


/* Sur mobile : les colonnes s’empilent */
@media (max-width: 768px) {
@media (max-width: 768px) {
   .row-2cols .col {
   .sim_cat_ctn {
     display: block;
    flex-direction: column;
  }
  .col-2 {
     width: 100%;
   }
   }
}
}

Dernière version du 28 septembre 2025 à 11:34

/* <pre> */

/*****
** Minor tweaks
*****/
/* redirects in categories, on [[Special:Allpages]], and [[Special:Prefixindex]] */
.redirect-in-category,
.allpagesredirect {
  font-style: italic;
  color: gray;
}

/* hide unneeded content when printing */
@media print {
  #privacy,
  #about,
  #disclaimer {
    display: none;
  }
}

/* hide arrows on selected external links */
.plainlinksneverexpand a {
  background: none !important;
  padding: 0 !important;
}

/*****
** Hide selected content
*****/
.hiddenStructure {
  display: none;
}

.if {
  display: none;
}

/*****
** Table formatting
*****/
table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #F9F9F9;
  border: 1px #AAA solid;
  border-collapse: collapse;
}

table.wikitable th,
table.wikitable td,
table.prettytable th,
table.prettytable td {
  border: 1px #AAA solid;
  padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
  background: #F2F2F2;
  text-align: center;
}

table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
}

/*****
** box formatting
*****/
.infobox {
  float: right;
  clear: right;
  margin-bottom: 0.5em;
  margin-left: 1em;
  padding: 0.2em;
  border: 1px solid #AAA;
  background: #F9F9F9;
  color: black;
}

.infobox td,
.infobox th {
  vertical-align: top;
}

.infobox caption {
  font-size: larger;
  margin-left: inherit;
}

.infobox.bordered {
  border-collapse: collapse;
}

.infobox.bordered td,
.infobox.bordered th {
  border: 1px solid #AAA;
}

.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
  border: 0;
}

.infobox.sisterproject {
  width: 20em;
  font-size: 90%;
}

/*****
** Specific pages (keep to a minimum)
*****/
/* Spam blacklist */
body.page-Talk_Spam_blacklist #ca-addsection {
  display: none;
}

/* Spam blacklist/log */
.logtable pre {
  margin: 0;
  padding: 0;
  border: 0;
}

/*****
** Bytecounter colours
*****/
strong.mw-plusminus-neg {
  color: #c00;
}

span.mw-plusminus-neg {
  color: #900;
}

span.mw-plusminus-pos {
  color: #060;
}

/* Change the external link icon to an Adobe icon for all PDF files */
/* (in browsers that support these CSS selectors, like Mozilla and Opera) */
#bodyContent a[href$=".pdf"].external,
#bodyContent a[href*=".pdf?"].external,
#bodyContent a[href*=".pdf#"].external,
#bodyContent a[href$=".PDF"].external,
#bodyContent a[href*=".PDF?"].external,
#bodyContent a[href*=".PDF#"].external {
  background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif)
    center right no-repeat;
  padding-right: 16px;
}

/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
span.PDFlink a {
  background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif)
    center right no-repeat !important;
  padding-right: 17px !important;
}

/* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.Boxmerge,
div.NavFrame {
  margin: 0px;
  padding: 4px;
  border: 1px solid #aaa;
  text-align: center;
  border-collapse: collapse;
  font-size: 95%;
}

div.Boxmerge div.NavFrame {
  border-style: none;
  border-style: hidden;
}

div.NavFrame + div.NavFrame {
  border-top-style: none;
  border-top-style: hidden;
}

div.NavPic {
  background-color: #fff;
  margin: 0px;
  padding: 2px;
  float: left;
}

div.NavFrame div.NavHead {
  height: 1.6em;
  font-weight: bold;
  background-color: #ccccff;
  position: relative;
}

div.NavFrame p {
  font-size: 100%;
}

div.NavFrame div.NavContent {
  font-size: 100%;
}

div.NavFrame div.NavContent p {
  font-size: 100%;
}

div.NavEnd {
  margin: 0px;
  padding: 0px;
  line-height: 1px;
  clear: both;
}

a.NavToggle {
  position: absolute;
  top: 0px;
  right: 3px;
  font-weight: normal;
  font-size: smaller;
}

/* Infobox template style */
.infobox {
  border: 1px solid #aaaaaa;
  background-color: #f9f9f9;
  color: black;
  margin-bottom: 0.5em;
  margin-left: 1em;
  padding: 0.2em;
  float: right;
  clear: right;
}

.infobox td,
.infobox th {
  vertical-align: top;
}

.infobox caption {
  font-size: larger;
  margin-left: inherit;
}

.infobox.bordered {
  border-collapse: collapse;
}

.infobox.bordered td,
.infobox.bordered th {
  border: 1px solid #aaaaaa;
}

.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
  border: 0;
}

.infobox.sisterproject {
  width: 20em;
  font-size: 90%;
}

/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
  border: 0;
  border-top: 1px solid #aaaaaa;
  border-right: 1px solid #aaaaaa;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
  border: 0;
  border-right: 1px solid #aaaaaa;
}

/* styles for geography infoboxes, e.g. countries, national subdivisions, cities, etc. */
.infobox.geography {
  border: 1px solid #ccd2d9;
  text-align: left;
  border-collapse: collapse;
  line-height: 1.2em;
  font-size: 90%;
}

.infobox.geography td,
.infobox.geography th {
  border-top: solid 1px #ccd2d9;
  padding: 0.4em 0.2em 0.4em 0.8em;
}

.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
  border-top: solid 1px #ccd2d9;
  padding: 0.4em 0.2em 0.2em 0.8em;
}

.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
  border: 0;
  padding: 0 0.2em 0.2em 0.8em;
}

.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
  border-top: 0;
  border-bottom: solid 1px #ccd2d9;
  padding: 0 0.2em 0.4em 0.8em;
}

.infobox.geography .maptable td,
.infobox.geography .maptable th {
  border: 0;
  padding: 0 0 0 0;
}

/* </pre> */

.sim_cat_ctn {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.col-2 {
  width: 48%;
}

@media (max-width: 768px) {
  .sim_cat_ctn {
    flex-direction: column;
  }
  .col-2 {
    width: 100%;
  }
}