Модуль:Песочница/Vavilexxx/Индекс категории/styles.css: различия между версиями
Перейти к навигации
Перейти к поиску
[отпатрулированная версия] | [отпатрулированная версия] |
Содержимое удалено Содержимое добавлено
Vavilexxx (обсуждение | вклад) исправление |
Vavilexxx (обсуждение | вклад) исправление |
||
Строка 35: | Строка 35: | ||
padding: .8em; |
padding: .8em; |
||
margin: .5em auto 1em; |
margin: .5em auto 1em; |
||
overflow: hidden; |
|||
width: max-content; |
|||
} |
} |
||
Версия от 11:58, 9 мая 2024
/* <templatestyles src="Модуль:Индекс категории/styles.css" /> */
/* Preparation */
.ts-catindex * {
/* content: ''; */
list-style: none;
/* background: none; */
padding: 0;
margin: 0;
/* font-size: 14px; */
/* font-weight: 400; */
/* font-style: normal; */
/* font-family: serif; */
box-sizing: border-box;
}
.ts-catindex a.external[href*="//ru.wikipedia.org/"] {
background: none !important;
padding-right: 0 !important;
}
.ts-catindex--container li:after {
/* content: ''; */
}
/* Main class */
.ts-catindex {
display: flex;
flex-flow: column nowrap;
gap: .25em;
border: 1px solid #a2a9b1;
/* border-radius: 3px; */
background: #f8f9fa;
/* font-size: .9em; */
padding: .8em;
margin: .5em auto 1em;
overflow: hidden;
width: max-content;
}
/* Caption */
.ts-catindex--caption {
display: flex;
justify-content: space-between;
gap: .5em;
}
.ts-catindex--caption-title {
/* letter-spacing: .5px; */
/* padding-left: .25em; */
/* padding-right: .25em; */
font-weight: bold;
}
.ts-catindex--link-tostart {
font-style: italic;
/* letter-spacing: .5px; */
/* padding-left: .25em; */
/* padding-right: .25em; */
/* font-weight: 600; */
}
.ts-catindex--link-tostart:before {
content: "в\00a0";
font-style: italic;
}
/* Letter block */
.ts-catindex--container,
.ts-catindex--single-item {
display: flex;
flex-wrap: wrap;
gap: .4em
/* width: auto; */
}
.ts-catindex--multi-items {
display: flex;
flex-direction: column;
}
/* .ts-catindex--single-item li:first-child, */
.ts-catindex--multi-items li:first-child {
font-weight: bold;
}
.ts-catindex--container .ts-catindex--single-item li:first-child {
font-weight: 400;
}
.ts-catindex--caption-title,
.ts-catindex--link-tostart,
.ts-catindex--multi-items li,
.ts-catindex--single-item li {
white-space: nowrap;
}
.ts-catindex--single-item li:not(:last-child):after {
content: '\00a0· ';
font-weight: bold;
}
.ts-bullet:after {
/* content: '\00a0· '; */
/* font-weight: bold; */
}
.ts-bullet + li {
/* padding-left: 0; */
}
/* [[Категория:Модули:Подстраницы CSS]] */