Шаблон:Doc/styles.css: различия между версиями
Перейти к навигации
Перейти к поиску
[отпатрулированная версия] | [отпатрулированная версия] |
Содержимое удалено Содержимое добавлено
фон у шапки, отступы |
Putnik (обсуждение | вклад) минимальная поддержка тёмной темы |
||
(не показано 16 промежуточных версий 5 участников) | |||
Строка 1: | Строка 1: | ||
.ts-doc-doc { |
.ts-doc-doc { |
||
background: #eaf3ff; |
background-color: var(--background-color-progressive-subtle, #eaf3ff); |
||
border: 1px solid # |
border: 1px solid #a3caff; |
||
clear: both; |
|||
margin-top: 1em; |
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 { |
|||
⚫ | |||
} |
} |
||
.ts-doc-header { |
.ts-doc-header { |
||
align-items: center; |
|||
⚫ | |||
background-color: #c2dcff; |
|||
margin: -.714286em -1em .714286em; |
|||
display: flex; |
|||
⚫ | |||
flex-wrap: wrap; |
|||
⚫ | |||
overflow: hidden; |
|||
} |
|||
⚫ | |||
margin-left: auto; |
|||
} |
|||
.ts-doc-content { |
|||
⚫ | |||
} |
|||
.ts-doc-content:after { |
|||
content: ''; |
|||
clear: both; |
|||
display: block; |
|||
} |
} |
||
.ts-doc-heading { |
.ts-doc-heading { |
||
display: inline-block; |
display: inline-block; |
||
padding-left: |
padding-left: 2em; |
||
background: url(//upload.wikimedia.org/wikipedia/commons |
background: url(//upload.wikimedia.org/wikipedia/commons/c/ca/OOjs_UI_icon_info.svg) center left no-repeat; |
||
background-size: contain; |
|||
height: 24px; |
|||
font-size: small; |
|||
min-height: 1.75em; |
|||
font-weight: 600; |
font-weight: 600; |
||
letter-spacing: |
letter-spacing: 0.1em; |
||
text-transform: uppercase; |
text-transform: uppercase; |
||
} |
} |
||
.ts-doc-content > *:first-child, |
|||
.ts-doc-footer > *:first-child { |
.ts-doc-footer > *:first-child { |
||
margin-top: |
margin-top: .5em; |
||
} |
} |
||
.ts-doc- |
.ts-doc-content > *:last-child, |
||
.ts-doc-footer > *:last-child { |
.ts-doc-footer > *:last-child { |
||
margin-bottom: |
margin-bottom: .5em; |
||
} |
} |
||
.ts-doc-footer { |
.ts-doc-footer { |
||
background: #eaf3ff; |
background-color: var(--background-color-progressive-subtle, #eaf3ff); |
||
border: 1px solid # |
border: 1px solid #a3caff; |
||
padding: . |
padding: .214286em 1em; |
||
margin-top: .214286em; |
margin-top: .214286em; |
||
⚫ | |||
font-style: italic; |
font-style: italic; |
||
} |
} |
||
@media (max-width: 719px) { |
|||
.ts-doc-header { |
|||
display: block; |
|||
} |
|||
.ts-doc-header .ts-tlinks-tlinks { |
|||
float: none; |
|||
} |
|||
} |
|||
/* [[Категория:Шаблоны:Подстраницы CSS]] */ |
Версия от 17:18, 16 мая 2024
.ts-doc-doc {
background-color: var(--background-color-progressive-subtle, #eaf3ff);
border: 1px solid #a3caff;
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: #c2dcff;
}
.ts-doc-header {
align-items: center;
background-color: #c2dcff;
display: flex;
flex-wrap: wrap;
padding: .642857em 1em .5em;
overflow: hidden;
}
.ts-doc-header .ts-tlinks-tlinks {
margin-left: auto;
}
.ts-doc-content {
padding: .214286em 1em;
}
.ts-doc-content:after {
content: '';
clear: both;
display: block;
}
.ts-doc-heading {
display: inline-block;
padding-left: 2em;
background: url(//upload.wikimedia.org/wikipedia/commons/c/ca/OOjs_UI_icon_info.svg) center left no-repeat;
background-size: contain;
font-size: small;
min-height: 1.75em;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
}
.ts-doc-content > *:first-child,
.ts-doc-footer > *:first-child {
margin-top: .5em;
}
.ts-doc-content > *:last-child,
.ts-doc-footer > *:last-child {
margin-bottom: .5em;
}
.ts-doc-footer {
background-color: var(--background-color-progressive-subtle, #eaf3ff);
border: 1px solid #a3caff;
padding: .214286em 1em;
margin-top: .214286em;
margin-bottom: .214286em;
font-style: italic;
}
@media (max-width: 719px) {
.ts-doc-header {
display: block;
}
.ts-doc-header .ts-tlinks-tlinks {
float: none;
}
}
/* [[Категория:Шаблоны:Подстраницы CSS]] */