Шаблон:RulesBox
.rules__block { display: flex; justify-content: space-between; text-align: left; margin: 14px 2px; padding: 12px; background: #27272e; border-left: 4px solid #2B30BD; border-radius: 0.3em; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); position: relative; /* добавляем позиционирование для родительского элемента */ } .rules__block li { margin-bottom: 15px; } .rules__block:hover { background-color: #26262C; } .rules__container { width: 75%; } .rules__title { font-size: 1.3em; } .rules__title--addition { font-size: 1em; } .rules__content--addition, .rules__content { margin-top: 10px; } .rules__container--addition { padding: 12px; border-radius: 0.3em; background-color: #303038; position: absolute; top: 0; right: 0; width: 25%; border-left: 4px solid #494953; }