« MediaWiki:Citizen.css » : différence entre les versions
mAucun résumé des modifications |
mAucun résumé des modifications |
||
Ligne 66 : | Ligne 66 : | ||
} | } | ||
.toctitle h2 { | .toctitle h2 { | ||
left: 0px; | left: 0px; /* fix décalage titre toc */ | ||
} | |||
/* CodeMirror */ | |||
.CodeMirror { | |||
background: var(--box-background-color); | |||
} | |||
.cm-mw-template-bracket, | |||
.cm-mw-template-name, | |||
.cm-mw-template-delimiter, | |||
.cm-mw-template-argument-name, | |||
.cm-mw-template { | |||
color: #9a4bc2; | |||
} | } | ||
Version du 17 juin 2021 à 09:56
/* ######################################################## */
/* ### GLOBAL ### */
/* ######################################################## */
:root.skin-citizen-dark {
--color-link: #51E527;
--color-link--hover: #18440b;
--color-primary: #51E527;
--color-base: #CCCCCC;
--color-primary--hover: #18440b;
--background-main: url(/skins/Vector/images/background/coolblack.png);
--background-color-overlay: rgba(0, 0, 0, 0.99);
--background-color-primary--hover: #18440b;
--background-color-dp-00: #020601;
--background-color-dp-01: #040d02;
--background-color-dp-02: #071403;
--background-color-dp-03: #091b04;
--background-color-dp-04: #0c2205;
--background-color-dp-06: #0e2806;
--background-color-dp-08: #102f07;
--background-color-dp-12: #133608;
--background-color-dp-16: #153d09;
--background-color-dp-24: #18440b;
--background-color-framed: #040d02;
--background-color-framed--hover: #091b04;
--background-color-framed-975-active: #020601;
--box-background-color: rgba(0, 0, 0, 0.6);
--box-shadow: 0 0 10px #071403;
}
:root {
--background-main: #ffffff;
--color-link: #5A84A0;
--color-link-new: #EE474D;
--background-color-dp-00: #c5be94;
--background-color-dp-01: #ded6a7;
--background-color-dp-02: #F7EEBA;
--background-color-dp-03: #f7efc0;
--background-color-dp-04: #f8f1c7;
--background-color-dp-06: #f9f3ce;
--background-color-dp-08: #faf4d5;
--background-color-dp-12: #fbf6dc;
--background-color-dp-16: #fbf8e3;
--background-color-dp-24: #fcf9ea;
--box-background-color: #FDFBEE;
--box-shadow: 0 0 10px #F7EEBA;
}
html,
body {
background: var(--background-main);
}
.toc {
background: none;
border: none;
}
#p-views #ca-edit > a,
#p-views #ca-ve-edit > a {
background: none;
}
.oo-ui-panelLayout {
background: var(--background-color-dp-00);
}
.mw-rcfilters-ui-menuSelectWidget-footer {
background-color: #f8f9fa;
border-top: 1px solid #c8ccd1;
padding: 0.85714286em;
}
.toctitle h2 {
left: 0px; /* fix décalage titre toc */
}
/* CodeMirror */
.CodeMirror {
background: var(--box-background-color);
}
.cm-mw-template-bracket,
.cm-mw-template-name,
.cm-mw-template-delimiter,
.cm-mw-template-argument-name,
.cm-mw-template {
color: #9a4bc2;
}
/* ######################################################## */
/* ### CITATIONS ### */
/* ######################################################## */
blockquote {
margin: 0 auto;
font-style: inherit;
}
blockquote small {
margin-bottom: 10px;
display: block;
padding-left: 150px;
}
blockquote small,
q small {
font-size: inherit;
}
blockquote .mediaContainer {
display: inline-block;
}
/* ######################################################## */
/* ### TABLEAUX ### */
/* ######################################################## */
.va-table {
box-shadow: var(--box-shadow);
background-color: var(--box-background-color);
border-collapse: collapse;
empty-cells: show;
font-size: 12px;
line-height: 16px;
margin-bottom: 5px;
font-family: sans-serif;
overflow: auto;
}
.va-table > tr > td,
.va-table > * > tr > td,
.va-table > tr > th,
.va-table > * > tr > th {
border: 1px solid var(--border-color-base--darker);
padding: 1px 2px;
}
.va-table > tr > th,
.va-table > * > tr > th {
background-color: var(--background-color-dp-02);
font-weight: bold;
text-align: center;
}
/* Adapting lists & paragraphs */
.va-table ul,
.va-table ol,
.va-table p {
line-height: 16px;
margin-bottom: 0;
}
.va-table ul,
.va-table ol {
margin-left: 20px;
margin-top: 0;
}
.va-table p,
.va-table * + ul,
.va-table * + ol {
margin-top: 3px;
}
.va-table ul li,
.va-table ol li {
margin-bottom: 0;
}
/* Highlighted rows */
.va-table > tr.va-table-highlight,
.va-table > * > tr.va-table-highlight,
.va-table > tr.va-table-highlight > th,
.va-table > * > tr.va-table-highlight > th {
background-color: var(--background-color-dp-01);
}
/* Tables with specific vertical alignment for cells */
.va-table-top > tr > td,
.va-table-top > * > tr > td {
vertical-align: top;
}
.va-table-middle > tr > td,
.va-table-middle > * > tr > td {
vertical-align: middle;
}
.va-table-bottom > tr > td,
.va-table-bottom > * > tr > td {
vertical-align: bottom;
}
/* Tables with specific horizontal alignment for cells/columns */
.va-table-center > tr > td,
.va-table-center > * > tr > td,
.va-table-center-col1 > * > tr > td:first-child,
.va-table-center-col2 > * > tr > *:first-child + td,
.va-table-center-col3 > * > tr > *:first-child + * + td,
.va-table-center-col4 > * > tr > *:first-child + * + * + td,
.va-table-center-col5 > * > tr > *:first-child + * + * + * + td,
.va-table-center-col6 > * > tr > *:first-child + * + * + * + * + td,
.va-table-center-col7 > * > tr > *:first-child + * + * + * + * + * + td,
.va-table-center-col8 > * > tr > *:first-child + * + * + * + * + * + * + td,
.va-table-center-col9 > * > tr > *:first-child + * + * + * + * + * + * + * + td,
.va-table-center-col10 > * > tr > *:first-child + * + * + * + * + * + * + * + * + td,
.va-table-center-col11 > * > tr > *:first-child + * + * + * + * + * + * + * + * + * + td,
.va-table-center-col12 > * > tr > *:first-child + * + * + * + * + * + * + * + * + * + * + td,
.va-table-center-col13 > * > tr > *:first-child + * + * + * + * + * + * + * + * + * + * + * + td,
.va-table-center-col14 > * > tr > *:first-child + * + * + * + * + * + * + * + * + * + * + * + * + td,
.va-table-center-col15 > * > tr > *:first-child + * + * + * + * + * + * + * + * + * + * + * + * + * + td {
text-align: center;
}
.va-table-left > tr > td,
.va-table-left > * > tr > td,
.va-table-left-col1 > * > tr > td:first-child,
.va-table-left-col2 > * > tr > *:first-child + td,
.va-table-left-col3 > * > tr > *:first-child + * + td,
.va-table-left-col4 > * > tr > *:first-child + * + * + td,
.va-table-left-col5 > * > tr > *:first-child + * + * + * + td,
.va-table-left-col6 > * > tr > *:first-child + * + * + * + * + td,
.va-table-left-col7 > * > tr > *:first-child + * + * + * + * + * + td,
.va-table-left-col8 > * > tr > *:first-child + * + * + * + * + * + * + td,
.va-table-left-col9 > * > tr > *:first-child + * + * + * + * + * + * + * + td,
.va-table-left-col10 > * > tr > *:first-child + * + * + * + * + * + * + * + * + td,
.va-table-left-col11 > * > tr > *:first-child + * + * + * + * + * + * + * + * + * + td,
.va-table-left-col12 > * > tr > *:first-child + * + * + * + * + * + * + * + * + * + * + td,
.va-table-left-col13 > * > tr > *:first-child + * + * + * + * + * + * + * + * + * + * + * + td,
.va-table-left-col14 > * > tr > *:first-child + * + * + * + * + * + * + * + * + * + * + * + * + td,
.va-table-left-col15 > * > tr > *:first-child + * + * + * + * + * + * + * + * + * + * + * + * + * + td {
text-align: left;
}
.va-table-right > tr > td,
.va-table-right > * > tr > td,
.va-table-right-col1 > * > tr > td:first-child,
.va-table-right-col2 > * > tr > *:first-child + td,
.va-table-right-col3 > * > tr > *:first-child + * + td,
.va-table-right-col4 > * > tr > *:first-child + * + * + td,
.va-table-right-col5 > * > tr > *:first-child + * + * + * + td,
.va-table-right-col6 > * > tr > *:first-child + * + * + * + * + td,
.va-table-right-col7 > * > tr > *:first-child + * + * + * + * + * + td,
.va-table-right-col8 > * > tr > *:first-child + * + * + * + * + * + * + td,
.va-table-right-col9 > * > tr > *:first-child + * + * + * + * + * + * + * + td,
.va-table-right-col10 > * > tr > *:first-child + * + * + * + * + * + * + * + * + td,
.va-table-right-col11 > * > tr > *:first-child + * + * + * + * + * + * + * + * + * + td,
.va-table-right-col12 > * > tr > *:first-child + * + * + * + * + * + * + * + * + * + * + td,
.va-table-right-col13 > * > tr > *:first-child + * + * + * + * + * + * + * + * + * + * + * + td,
.va-table-right-col14 > * > tr > *:first-child + * + * + * + * + * + * + * + * + * + * + * + * + td,
.va-table-right-col15 > * > tr > *:first-child + * + * + * + * + * + * + * + * + * + * + * + * + * + td {
text-align: right;
}
/* Tables which are full width */
.va-table-full {
width: 100%;
}
/* Tables which leave enough space for an infobox on the right */
.va-table-full-infobox {
width: 960px;
}
/* Tables which are floated */
.va-table-float-left {
clear: left;
float: left;
margin: 0 10px 10px 0;
}
.va-table-float-right {
clear: right;
float: right;
margin: 0 0 10px 10px;
}
/* Tables in which the first column starts with an icon */
.va-table-icon > tr > td:first-child,
.va-table-icon > * > tr > td:first-child {
padding-left: 18px;
text-indent: -18px;
}
/* ######################################################## */
/* ### Modèle:Infobox ### */
/* ######################################################## */
.avt-infobox {
box-shadow: var(--box-shadow);
padding: 5px;
background-color: var(--box-background-color);
border: 1px solid var(--border-color-base--darker);
clear: right;
float: right;
font-size: 0.9em;
line-height: 1.4;
margin: 0 0 0.5em 1em;
/*! width: 400px; */
word-wrap: break-word;
max-width: 400px;
}
.avt-infobox-header {
border: 1px solid var(--border-color-base--darker);
padding: 3px;
text-align: center;
font-size: 1.4em;
line-height: 1.1;
margin-bottom: 10px;
background-color: var(--background-color-dp-02);
display: grid;
grid-template-columns: 1fr 1.7fr 0.3fr;
grid-template-rows: 1fr 1fr 1fr;
grid-auto-flow: row;
gap: 0 0;
}
.avt-infobox-header-icon,
.avt-infobox-header-title,
.avt-infobox-header-subhead {
justify-self: center;
align-self: center;
}
.avt-infobox-header-icon {
grid-area: 1 / 3 / 4 / 4;
}
.avt-infobox-header-title {
grid-area: 2 / 1 / 4 / 4;
font-weight: bold;
}
.avt-infobox-header-subhead {
grid-area: 1 / 1 / 2 / 4;
font-size: 0.6em;
}
.avt-infobox-images {
text-align: center;
display: flex;
justify-content: space-around;
align-items: center;
padding: 2px 0;
}
.avt-infobox-images a {
max-width: 100%;
flex: 0 0 auto;
}
.avt-infobox-images img {
max-width: 100%;
height: auto;
}
.avt-infobox-images-legend {
text-align: center;
font-size: 0.8em;
}
.avt-infobox table {
width: 100%;
margin: 5px 0;
table-layout: fixed;
border-collapse: collapse;
display: table;
}
.avt-infobox caption {
text-align: center;
background-color: #CEDAF2;
border: 1px solid var(--border-color-base--darker);
}
.avt-infobox p.bloc,
.avt-infobox caption {
font-weight: bold;
line-height: 1.1;
margin: 0 0 5px 0;
padding: 4px;
background: #dfedff;
background-color: var(--background-color-dp-02);
;
}
.avt-infobox th[scope="row"],
.avt-infobox td {
padding-top: 4px;
vertical-align: super;
/*! width: auto; */
}
.avt-infobox th[scope="row"] {
text-align: left;
padding-right: 10px;
width: 8em;
max-width: 140px;
word-wrap: normal;
}
.avt-infobox span.mw-collapsible-toggle {
float: right;
}
.avt-infobox span.mw-collapsible-toggle a {
color: var(--color-base)
}
/* ######################################################## */
/* ### Modèle:Palette ### */
/* ######################################################## */
.palette {
border: 1px solid var(--border-color-base--darker);
}
.palette .mw-collapsible-toggle a {
color: var(--color-base);
}
.palette-titre {
background-color: var(--background-color-dp-02);
}
.palette-banniere {
border-top: 2px solid var(--box-background-color);
}
.palette-groupe {
border-top: 2px solid var(--box-background-color);
border-right: 2px solid var(--box-background-color);
font-weight: bold;
text-align: right;
white-space: normal;
}
.palette-banniere,
.palette-groupe,
.palette-section {
background: var(--background-color-dp-03);
}
.palette-listes .palette-groupe {
background: var(--background-color-dp-04);
}
.palette-pair {
background-color: var(--box-background-color);
border-top: 2px solid transparent;
}
/* Palette de navigation */
.palette {
clear: both;
margin: 1em 0 1em 0;
padding: 3px;
font-size: 88%;
}
.palette ul,
.palette li,
.palette p {
margin: 0 !important;
padding: 0;
line-height: 1.6em;
list-style: none none;
}
.palette-liens {
float: left;
font-variant: small-caps;
}
.palette span.mw-collapsible-toggle {
float: right;
}
.palette-liens,
.palette .mw-collapsible-toggle,
.palette-groupe {
padding: 0.25em 1em;
}
.palette-titre,
.palette-section {
font-size: 105%;
font-weight: bold;
padding: 0.25em 8em;
text-align: center;
}
.palette-ligne {
display: table-row;
}
.palette-groupe,
.palette-image,
.palette-liste,
.palette-listes {
display: table-cell;
vertical-align: middle;
}
.palette-banniere,
.palette-liste,
.palette-liste-simple {
padding: 0.25em;
}
.palette-liste,
.palette-listes {
width: 100%;
}
.palette-banniere,
.mw-collapsible-content > ul > li > .palette-liste-simple {
text-align: center;
}
div.palette-image {
padding: 0.25em 0 0.25em 0.25em;
width: 1%;
}
div.palette + div.palette {
margin-top: -1px;
}
/* ######################################################## */
/* ### Modèle:Liste horizontale ### */
/* ######################################################## */
.liste-horizontale ul,
.liste-horizontale li {
margin-left: 0;
display: inline;
}
.liste-horizontale ul:after {
white-space: normal;
}
.liste-horizontale li:after {
content: " "; /* au cas ou Mediawiki supprime les retours ligne */
}
.liste-horizontale li + li:before {
white-space: normal;
content: "· ";
font-weight: bold;
}
.liste-horizontale li li:first-child:before {
white-space: normal;
content: " (";
}
.liste-horizontale li ul:after {
content: ")";
margin-left: -0.28em;
}
/* ######################################################## */
/* ### Modèle:Documentation ### */
/* ######################################################## */
.va-documentation,
.va-documentation-bar-top,
.va-documentation-bar-bottom {
border-color: var(--border-color-base--darker);
border-style: solid;
clear: both;
}
.va-documentation {
border-width: 1px;
margin: 10px 0;
box-shadow: var(--box-shadow);
background: var(--box-background-color);
}
.va-documentation-bar-top,
.va-documentation-bar-bottom {
background-color: var(--background-color-dp-02);
margin: 0;
padding: 10px;
}
.va-documentation-bar-top {
border-width: 0 0 1px 0;
}
.va-documentation-bar-bottom {
border-width: 1px 0 0 0;
text-align: right;
}
.va-documentation-links {
float: right;
text-align: right;
}
.va-documentation-content {
margin: 0;
padding: 20px;
}
.va-documentation-small {
font-size: 0.8em;
}
.va-documentation-bar-top .external {
background: none !important;
padding: 0 !important;
}
/* Fix sur le bouton modifier qui se colle sous le titre */
.va-documentation h2,
.va-documentation h3,
.va-documentation h4,
.va-documentation h5 {
display: flex;
}