Модуль:Disambig/styles.css
Материал из Space Station 14 Вики
Версия от 08:05, 13 июня 2025; Pok (обсуждение | вклад) (Новая страница: «→-- source: https://ru.wikipedia.org/wiki/Модуль:Disambig/styles.css -- license: CC BY-SA 4.0: .ts-disambig { margin: 1em 0; } .ts-disambig:last-child { margin-bottom: 0; } body.ns-0 .ts-disambig { margin-top: 2em; } .ts-disambig-reflist { clear: both; } .ts-disambig-reflist > [role="heading"] { border-top: 1px solid var(--border-color-base, #a2a9b1); font-weight: bold; padding-top: 0.5em; } .ts-disambig-reflist > [role="heading"]:only...»)
/*
-- source: https://ru.wikipedia.org/wiki/Модуль:Disambig/styles.css
-- license: CC BY-SA 4.0
*/
.ts-disambig {
margin: 1em 0;
}
.ts-disambig:last-child {
margin-bottom: 0;
}
body.ns-0 .ts-disambig {
margin-top: 2em;
}
.ts-disambig-reflist {
clear: both;
}
.ts-disambig-reflist > [role="heading"] {
border-top: 1px solid var(--border-color-base, #a2a9b1);
font-weight: bold;
padding-top: 0.5em;
}
.ts-disambig-reflist > [role="heading"]:only-child {
display: none;
}
.ts-disambig-reflist .references {
font-size: 90%;
margin-bottom: 1em;
}
.ts-disambig-mbox {
background: var(--background-color-base, #fff);
border: solid var(--border-color-base, #a2a9b1);
border-width: 2px 0;
clear: both;
font-size: 90%;
font-style: italic;
padding: 0.5em 0;
}
@media (min-width: 640px) {
.ts-disambig-mbox {
font-size: inherit;
padding: 0.5em;
}
}
.ts-disambig-mbox .error {
font-size: inherit;
font-style: normal;
}
.ts-disambig-block {
align-items: center;
display: flex;
}
.ts-disambig-image {
box-sizing: border-box;
flex: 0 auto;
margin-right: 0.5em;
text-align: center;
width: 30px;
}
.ts-disambig-text {
flex: 1;
}
.ts-disambig-listIntro {
font-weight: bold;
margin-top: 0.5em;
}
.ts-disambig-list {
list-style: none;
margin: 0;
padding: 0;
}
.ts-disambig-list > li {
margin: 0;
}
.ts-disambig-list > li + li {
margin-top: 0.25em;
}
.ts-disambig-list .ts-disambig-block .ts-disambig-image {
padding-left: 10px;
}
.ts-disambig-categoryList {
font-style: normal;
}
.ts-disambig-categoryList .ts-disambig-image::before {
content: '—';
font-weight: bold;
}
.ts-disambig-projectLink {
margin-top: 0.5em;
text-align: center;
}
.ts-disambig-projectLink > * {
font-size: 90%;
position: relative;
}
.ts-disambig-projectLink img {
margin-right: 0.5em;
}
.ts-disambig-projectLink a::after {
/* для того, чтобы по иконке тоже можно было кликнуть на ссылку */
bottom: 0;
content: '';
left: 0;
position: absolute;
right: 0;
top: 0;
}
@media (min-width: 1120px) {
.ts-disambig-projectLink {
clear: right;
float: right;
margin-top: -2.25em;
}
.ts-disambig-projectLink > * {
font-size: inherit;
}
}
/* хак для исправления эффекта от закрывающего onlyinclude с переносом строки (не требуется в Parsoid) */
ul + p > br:only-child {
display: none;
}
/* [[Категория:Шаблоны:Подстраницы CSS]] */