« MediaWiki:Common.css » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications Balise : Révocation manuelle |
||
| (21 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 { | |||
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 | ** Hide selected content | ||
*****/ | *****/ | ||
.hiddenStructure { | |||
display: none; | |||
} | |||
.if { | |||
display: none; | |||
} | |||
/***** | /***** | ||
** Table formatting | ** 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 | ** 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) | ** 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 | ** 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 */ | /* 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; | |||
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; | |||
padding-right: 17px !important; | |||
} | } | ||
/* Standard Navigationsleisten, aka box hiding thingy from .de. | /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */ | ||
div.Boxmerge, | div.Boxmerge, | ||
div.NavFrame { | div.NavFrame { | ||
margin: 0px; | |||
padding: 4px; | |||
border: 1px solid #aaa; | |||
text-align: center; | |||
border-collapse: collapse; | |||
font-size: 95%; | |||
} | } | ||
div.Boxmerge div.NavFrame { | div.Boxmerge div.NavFrame { | ||
border-style: none; | |||
border-style: hidden; | |||
} | } | ||
div.NavFrame + div.NavFrame { | div.NavFrame + div.NavFrame { | ||
border-top-style: none; | |||
border-top-style: hidden; | |||
} | } | ||
div.NavPic { | div.NavPic { | ||
background-color: #fff; | |||
margin: 0px; | |||
padding: 2px; | |||
float: left; | |||
} | } | ||
div.NavFrame div.NavHead { | div.NavFrame div.NavHead { | ||
height: 1.6em; | |||
font-weight: bold; | |||
background-color: #ccccff; | |||
position: relative; | |||
} | } | ||
div.NavFrame p { | div.NavFrame p { | ||
font-size: 100%; | |||
} | } | ||
div.NavFrame div.NavContent { | div.NavFrame div.NavContent { | ||
font-size: 100%; | |||
} | } | ||
div.NavFrame div.NavContent p { | div.NavFrame div.NavContent p { | ||
font-size: 100%; | |||
} | } | ||
div.NavEnd { | div.NavEnd { | ||
margin: 0px; | |||
padding: 0px; | |||
line-height: 1px; | |||
clear: both; | |||
} | } | ||
a.NavToggle { | 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, | ||
</pre> | .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%; | |||
} | |||
} | |||
Dernière version du 28 septembre 2025 à 10: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%;
}
}