Шаблон:Таблица ролей/styles.css: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| (не показано 8 промежуточных версий этого же участника) | |||
| Строка 4: | Строка 4: | ||
padding: 0.4em; | padding: 0.4em; | ||
border-radius: var(--border-radius-low); | border-radius: var(--border-radius-low); | ||
width: 100%; | |||
} | } | ||
.таблица-ролей__content { | .таблица-ролей__content { | ||
padding: 12px | padding: 14px 12px; | ||
display: flex; | display: flex; | ||
gap: | gap: 12px; | ||
justify-content: space-evenly; | justify-content: space-evenly; | ||
align-items: flex-start; | align-items: flex-start; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
border: 1px solid var(--color-lighter-alpha-x); | |||
border-top: none; | |||
border-radius: var(--border-radius-low); | |||
} | } | ||
.таблица-ролей__content > .link-card { | .таблица-ролей__content > .link-card { | ||
min-width: | min-width: 165px; | ||
} | } | ||
.таблица-ролей__header { | .таблица-ролей__header { | ||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
padding: 2px 8px; | |||
font-weight: bold; | |||
border-radius: var(--border-radius-low); | border-radius: var(--border-radius-low); | ||
border-top: 1px solid var(--color-lighter-alpha-x); | border-top: 1px solid var(--color-lighter-alpha-x); | ||
border-bottom: 2px solid var(--color-darkened-border); | border-bottom: 2px solid var(--color-darkened-border); | ||
font-size: var(--font-size-l); | |||
box-shadow: var(--box-shadow); | |||
position: relative; | |||
} | } | ||
| Строка 31: | Строка 41: | ||
display: grid; | display: grid; | ||
gap: 6px; | gap: 6px; | ||
grid-template-columns: | grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | ||
margin-top: 6px; | margin-top: 6px; | ||
} | } | ||
.таблица-ролей__sub-content { | .таблица-ролей__sub-content { | ||
border | border: 1px solid var(--color-lighter-alpha-x); | ||
border-radius: var(--border-radius-low); | border-radius: var(--border-radius-low); | ||
} | } | ||