Шаблон:Infobox/styles.css: различия между версиями
Материал из Star Horizon Wiki
Дополнительные действия
DeRecnad (обсуждение | вклад) DeRecnad изменил модель содержимого страницы Шаблон:Infobox/styles.css с «вики-текст» на «Sanitized CSS» |
DeRecnad (обсуждение | вклад) Нет описания правки Метка: отменено |
||
| Строка 1: | Строка 1: | ||
.infobox { | |||
display: flex; | |||
flex-direction: column; | |||
page-break-inside: avoid; | |||
border: 0 solid var(--color-main); | |||
border-inline-start-width: 0.3rem; | |||
border-radius: 4px; /* ЗАМЕНЕНО: конкретное значение вместо переменной */ | |||
box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* ЗАМЕНЕНО: конкретное значение */ | |||
background: var(--theme-bg-color-175); | |||
margin: 1em 0; | |||
} | |||
.infobox__icon { | |||
position: relative; | |||
background-color: var(--color-second); | |||
display: flex; | |||
gap: 8px; | |||
font-weight: bold; | |||
align-items: center; | |||
border-radius: 0 4px 0 0; /* ЗАМЕНЕНО: конкретное значение */ | |||
} | |||
.infobox__icon, | |||
.infobox__content { | |||
padding: 0.45rem 0.8rem; | |||
} | |||
@media (min-width: 720px) { | |||
.infobox { | |||
margin-left: 1%; | |||
margin-right: 1%; | |||
} | |||
} | |||
Версия от 16:25, 26 июля 2025
.infobox {
display: flex;
flex-direction: column;
page-break-inside: avoid;
border: 0 solid var(--color-main);
border-inline-start-width: 0.3rem;
border-radius: 4px; /* ЗАМЕНЕНО: конкретное значение вместо переменной */
box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* ЗАМЕНЕНО: конкретное значение */
background: var(--theme-bg-color-175);
margin: 1em 0;
}
.infobox__icon {
position: relative;
background-color: var(--color-second);
display: flex;
gap: 8px;
font-weight: bold;
align-items: center;
border-radius: 0 4px 0 0; /* ЗАМЕНЕНО: конкретное значение */
}
.infobox__icon,
.infobox__content {
padding: 0.45rem 0.8rem;
}
@media (min-width: 720px) {
.infobox {
margin-left: 1%;
margin-right: 1%;
}
}