Шаблон:RulesBox: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
| Строка 56: | Строка 56: | ||
/* Адаптивные стили для мобильных устройств */ | /* Адаптивные стили для мобильных устройств */ | ||
@media (max-width: | @media (max-width: 700px) { | ||
.rules__block { | .rules__block { | ||
flex-direction: column; | flex-direction: column; | ||
| Строка 62: | Строка 62: | ||
.rules__container--addition { | .rules__container--addition { | ||
position: static; | position: static; | ||
width: | box-sizing: border-box; | ||
width: 100%; | |||
border-left: none; | border-left: none; | ||
box-shadow: none; | box-shadow: none; | ||
margin-top: 10px; | margin-top: 10px; | ||
} | |||
.rules__container--addition:hover { | |||
background-color: #33333b; | |||
} | } | ||
} | } | ||
</div> | </div> | ||