Шаблон:Doc/styles.css: различия между версиями

Новая страница: «.ts-doc-doc { background-color: var(--background-color-progressive-subtle, #eaf3ff); border: 1px solid var(--border-color-content-added, #afb6e9); clear: both; margin-top: 1em; } Ctrl+F ":target" in [[MediaWiki:Common.css]]: .ts-doc-doc sup.reference:target, .ts-doc-doc ol.references li:target, .ts-doc-doc .highlight-target:target, .ts-doc-doc cite:target, .ts-doc-doc span.citation:target { background-color: var(--background-color-progressive-subt...»
 
Нет описания правки
 
Строка 12: Строка 12:
.ts-doc-doc cite:target,
.ts-doc-doc cite:target,
.ts-doc-doc span.citation:target {
.ts-doc-doc span.citation:target {
background-color: var(--background-color-progressive-subtle, #eaf3ff);
background: var(--ruwiki-background-color-blue200, #cfe3ff);
}
}


.ts-doc-header {
.ts-doc-header {
align-items: center;
align-items: center;
background-color: var(--background-color-progressive-subtle, #eaf3ff);
background: var(--ruwiki-background-color-blue200, #cfe3ff);
display: flex;
display: flex;
flex-wrap: wrap;
flex-wrap: wrap;
Строка 41: Строка 41:
display: inline-block;
display: inline-block;
padding-left: 2em;
padding-left: 2em;
background-color: var(--background-color-progressive-subtle, #eaf3ff);
background: url(https://upload.wikimedia.org/wikipedia/commons/c/ca/OOjs_UI_icon_info.svg) center left no-repeat;
background-size: contain;
background-size: contain;
font-size: small;
font-size: small;
Строка 52: Строка 52:
@media screen {
@media screen {
html.skin-theme-clientpref-night .ts-doc-heading {
html.skin-theme-clientpref-night .ts-doc-heading {
background-color: var(--background-color-progressive-subtle, #eaf3ff);
background-image: url(https://upload.wikimedia.org/wikipedia/commons/c/c0/OOjs_UI_icon_info-invert.svg);
}
}
}
}
Строка 58: Строка 58:
@media screen and (prefers-color-scheme: dark) {
@media screen and (prefers-color-scheme: dark) {
     html.skin-theme-clientpref-os .ts-doc-heading {
     html.skin-theme-clientpref-os .ts-doc-heading {
background-color: var(--background-color-progressive-subtle, #eaf3ff);
background-image: url(https://upload.wikimedia.org/wikipedia/commons/c/c0/OOjs_UI_icon_info-invert.svg);
     }
     }
}
}