Módulo:Documentation/styles.css: mudanças entre as edições
Importando predefinição/módulo da Wikipédia em português para manter layout |
Importando predefinição/módulo da Wikipédia em português para manter layout |
||
| (Uma revisão intermediária pelo mesmo usuário não está sendo mostrada) | |||
| Linha 2: | Linha 2: | ||
.documentation, | .documentation, | ||
.documentation-metadata { | .documentation-metadata { | ||
border: 1px solid #a2a9b1; | border: 1px solid var( --border-color-base, #a2a9b1 ); | ||
background-color: # | background-color: var( --background-color-option-green, #dff2eb ); | ||
color: inherit; | |||
clear: both; | clear: both; | ||
} | |||
/* | |||
* A documentação de módulos recebe um tom ligeiramente diferente | |||
* para distingui-la visualmente da documentação de predefinições. | |||
*/ | |||
.documentation-module .documentation, | |||
.documentation-module .documentation-metadata { | |||
background-color: var( --background-color-option-blue, #e8eeff ); | |||
} | } | ||
| Linha 14: | Linha 24: | ||
.documentation-metadata { | .documentation-metadata { | ||
margin: 0.2em 0; /* same margin left-right as .documentation */ | margin: 0.2em 0; /* same margin left-right as .documentation */ | ||
font-style: italic; | |||
padding: 0.4em 1em; /* same padding left-right as .documentation */ | |||
} | } | ||
.documentation-startbox { | .documentation-startbox { | ||
padding-bottom: 3px; | padding-bottom: 3px; | ||
border-bottom: 1px solid # | border-bottom: 1px solid var( --border-color-base, #a2a9b1 ); | ||
margin-bottom: 1ex; | margin-bottom: 1ex; | ||
} | } | ||
| Linha 27: | Linha 37: | ||
font-weight: bold; | font-weight: bold; | ||
font-size: 125%; | font-size: 125%; | ||
} | |||
body.skin-minerva .documentation-startbox .mw-editsection-like a, | |||
body.skin-timeless .documentation-startbox .mw-editsection-like a { | |||
display: inline-block; | |||
margin-left: 0.3em; | |||
margin-right: 0.3em; | |||
} | } | ||
| Linha 37: | Linha 54: | ||
font-size: 85%; | font-size: 85%; | ||
} | } | ||
@media screen { | @media screen { | ||
html.skin-theme-clientpref-night .documentation, | |||
html.skin-theme-clientpref-night .documentation-metadata { | html.skin-theme-clientpref-night .documentation-metadata { | ||
background-color: #0b1e1c; | |||
} | |||
html.skin-theme-clientpref-night .documentation-module .documentation, | |||
html.skin-theme-clientpref-night .documentation-module .documentation-metadata { | |||
background-color: #12344d; | |||
} | } | ||
} | } | ||
@media screen and ( prefers-color-scheme: dark ) { | |||
html.skin-theme-clientpref-os .documentation, | |||
html.skin-theme-clientpref-os .documentation-metadata { | |||
background-color: #0b1e1c; | |||
} | |||
html.skin-theme-clientpref-os .documentation-module .documentation, | |||
html.skin-theme-clientpref-os .documentation-module .documentation-metadata { | |||
background-color: #12344d; | |||
} | |||
} | } | ||
Edição atual tal como às 04h41min de 20 de setembro de 2026
/* {{Pp|?|...}} */
.documentation,
.documentation-metadata {
border: 1px solid var( --border-color-base, #a2a9b1 );
background-color: var( --background-color-option-green, #dff2eb );
color: inherit;
clear: both;
}
/*
* A documentação de módulos recebe um tom ligeiramente diferente * para distingui-la visualmente da documentação de predefinições. */
.documentation-module .documentation, .documentation-module .documentation-metadata { background-color: var( --background-color-option-blue, #e8eeff ); }
.documentation { margin: 1em 0 0 0; padding: 1em; }
.documentation-metadata { margin: 0.2em 0; /* same margin left-right as .documentation */ font-style: italic; padding: 0.4em 1em; /* same padding left-right as .documentation */ }
.documentation-startbox { padding-bottom: 3px; border-bottom: 1px solid var( --border-color-base, #a2a9b1 ); margin-bottom: 1ex; }
.documentation-heading { font-weight: bold; font-size: 125%; }
body.skin-minerva .documentation-startbox .mw-editsection-like a, body.skin-timeless .documentation-startbox .mw-editsection-like a { display: inline-block; margin-left: 0.3em; margin-right: 0.3em; }
.documentation-clear { /* Don't want things to stick out where they shouldn't. */ clear: both; }
.documentation-toolbar { font-style: normal; font-size: 85%; }
@media screen { html.skin-theme-clientpref-night .documentation, html.skin-theme-clientpref-night .documentation-metadata { background-color: #0b1e1c; }
html.skin-theme-clientpref-night .documentation-module .documentation, html.skin-theme-clientpref-night .documentation-module .documentation-metadata { background-color: #12344d; } }
@media screen and ( prefers-color-scheme: dark ) { html.skin-theme-clientpref-os .documentation, html.skin-theme-clientpref-os .documentation-metadata { background-color: #0b1e1c; }
html.skin-theme-clientpref-os .documentation-module .documentation, html.skin-theme-clientpref-os .documentation-module .documentation-metadata { background-color: #12344d; } }