Шаблон:RulesBox/styles.css: различия между версиями
Pok (обсуждение | вклад) Новая страница: «.rules-box__block { position: relative; display: flex; justify-content: space-between; border-radius: var(--border-radius-medium); box-shadow: var(--box-shadow-medium); } .rules-box__container { } .rules-box__title { font-size: 1.2em; } .rules-box__content { } .rules-box__container--addition { position: absolute; max-height: 85%; top: 0; right: 0; width: 20%; min-width: 300px; border-radius: 0.3em; background-color: #34343f; borde...» |
Pok (обсуждение | вклад) мНет описания правки |
||
| Строка 4: | Строка 4: | ||
justify-content: space-between; | justify-content: space-between; | ||
border-radius: var(--border-radius-medium); | border-radius: var(--border-radius-medium); | ||
box-shadow: var(--box-shadow-medium); | |||
} | } | ||
| Строка 20: | Строка 20: | ||
.rules-box__container--addition { | .rules-box__container--addition { | ||
display: flex; | |||
flex-direction: column; | |||
position: absolute; | position: absolute; | ||
max-height: 85%; | max-height: 85%; | ||
| Строка 25: | Строка 27: | ||
right: 0; | right: 0; | ||
width: 20%; | width: 20%; | ||
min-width: 300px; | |||
border-radius: | border-radius: var(--border-radius-medium); | ||
background-color: | background-color: var(--theme-bg-color-300); | ||
border-left: 4px solid | border-left: 4px solid var(--theme-border-color-100); | ||
box-shadow: | box-shadow: var(--box-shadow); | ||
} | } | ||
.rules-box__container--addition { | .rules-box__container--addition, | ||
.rules-box__container--addition .mw-collapsible-toggle { | |||
position: absolute; | |||
padding: 10px 12px; | padding: 10px 12px; | ||
} | } | ||
.rules-box__title--addition { | .rules-box__title--addition { | ||
| Строка 47: | Строка 50: | ||
overflow-y: auto; | overflow-y: auto; | ||
margin-top: 10px; | margin-top: 10px; | ||
padding-right: 10px; | |||
} | } | ||