Шаблон:FlatCardWithHeader/styles.css: различия между версиями
Материал из Space Station 14 Вики
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
| Строка 1: | Строка 1: | ||
.flat-card-with-header { | .flat-card-with-header { | ||
display: flex; | |||
flex-direction: column; | |||
box-shadow: var(--box-shadow); | |||
border-radius: var(--border-radius-medium); | |||
} | } | ||
.flat-card-with-header__header { | .flat-card-with-header__header { | ||
display: flex; | |||
align-items: center; | |||
font-family: "noto sans"; | |||
text-align: left; | |||
padding: 4px; | |||
border: 1px solid rgba(var(--color-lighter--rgb), 0.07); | |||
border-bottom: 3px solid var(--color-darkened-border); | |||
border-radius: var(--border-radius-medium); | |||
min-height: 28px; | |||
font-size: 15px; | |||
gap: 2px; | |||
background: var(--bg-color); /* --bg-color из стилей шаблона; по умолчанию: var(--theme-bg-color-350) */ | |||
} | } | ||
.flat-card-with-header__header-img { | .flat-card-with-header__header-img { | ||
background: rgba(var(--color-darkened--rgb), var(--alpha-xs)); | |||
padding: 2px; | |||
border-radius: var(--border-radius-low); | |||
} | } | ||
.flat-card-with-header__content { | .flat-card-with-header__content { | ||
background: rgba(var(--theme-color-lighter--rgb), 0.025); | |||
border-radius: var(--border-radius-medium); | |||
flex-grow: 2; | |||
} | } | ||
Версия от 04:32, 16 апреля 2025
.flat-card-with-header {
display: flex;
flex-direction: column;
box-shadow: var(--box-shadow);
border-radius: var(--border-radius-medium);
}
.flat-card-with-header__header {
display: flex;
align-items: center;
font-family: "noto sans";
text-align: left;
padding: 4px;
border: 1px solid rgba(var(--color-lighter--rgb), 0.07);
border-bottom: 3px solid var(--color-darkened-border);
border-radius: var(--border-radius-medium);
min-height: 28px;
font-size: 15px;
gap: 2px;
background: var(--bg-color); /* --bg-color из стилей шаблона; по умолчанию: var(--theme-bg-color-350) */
}
.flat-card-with-header__header-img {
background: rgba(var(--color-darkened--rgb), var(--alpha-xs));
padding: 2px;
border-radius: var(--border-radius-low);
}
.flat-card-with-header__content {
background: rgba(var(--theme-color-lighter--rgb), 0.025);
border-radius: var(--border-radius-medium);
flex-grow: 2;
}