Шаблон:PortalBox/styles.css: различия между версиями
Aylong (обсуждение | вклад) Новая страница: «.portalbox { overflow: hidden; position: relative; display: flex; background-color: var(--portalbox-transparent); outline: 1px solid var(--portalbox-light); border-radius: var(--border-radius-medium); box-shadow: var(--template-shadow--small) -1px var(--portalbox-light); } .portalbox-role { display: flex; flex-direction: column; justify-content: center; text-align: center; width: 128px; gap: 0.5rem; padding: 0.5rem 0; background-color: var...» |
Aylong (обсуждение | вклад) мНет описания правки |
||
Строка 23: | Строка 23: | ||
.portalbox-name { | .portalbox-name { | ||
font-weight: bold; | |||
line-height: 1rem; | line-height: 1rem; | ||
padding: 0 0.25rem; | padding: 0 0.25rem; | ||
Строка 29: | Строка 30: | ||
.portalbox-name a { | .portalbox-name a { | ||
color: var(--color-text); | color: var(--color-text); | ||
} | |||
.portalbox-name a:before { | |||
position: absolute; | |||
inset: 0; | |||
} | } | ||
Версия от 21:41, 29 мая 2025
.portalbox {
overflow: hidden;
position: relative;
display: flex;
background-color: var(--portalbox-transparent);
outline: 1px solid var(--portalbox-light);
border-radius: var(--border-radius-medium);
box-shadow: var(--template-shadow--small) -1px var(--portalbox-light);
}
.portalbox-role {
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
width: 128px;
gap: 0.5rem;
padding: 0.5rem 0;
background-color: var(--portalbox-light);
border-right: 1px solid var(--portalbox-light);
box-shadow: var(--template-shadow--medium) -1px var(--portalbox-secondary);
}
.portalbox-name {
font-weight: bold;
line-height: 1rem;
padding: 0 0.25rem;
}
.portalbox-name a {
color: var(--color-text);
}
.portalbox-name a:before {
position: absolute;
inset: 0;
}
.portalbox-desc {
flex: 1;
line-height: 1.1rem;
padding: 0.5rem;
}