мНет описания правки |
мНет описания правки |
||
Строка 50: | Строка 50: | ||
} | } | ||
/* | /* Стили для содержимого вкладок */ | ||
.tab-content { | .tab-content { | ||
opacity: 0; | opacity: 0; | ||
Строка 57: | Строка 57: | ||
padding: 0 20px; | padding: 0 20px; | ||
margin-top: -1px; | margin-top: -1px; | ||
background: # | background: #3a0f0f; /* Основной цвет фона */ | ||
color: white; | color: white; | ||
transition: all 0.6s ease-in-out; | transition: all 0.6s ease-in-out; | ||
border: 1px solid #630000; | border: 1px solid #630000; | ||
border-top: none; | border-top: none; | ||
box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3); /* Внутренняя тень */ | |||
} | } | ||
/* | /* Анимация появления контента */ | ||
.tab-content | .tabs input:checked ~ .tab-content { | ||
opacity: 1; | |||
max-height: 1000px; | |||
padding: 20px; | |||
background: #4a1a1a; /* Активный цвет фона */ | |||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), | |||
inset 0 0 15px rgba(0, 0, 0, 0.2); /* Двойная тень */ | |||
background: linear-gradient( | } | ||
/* Остальные стили */ | |||
.tabs label:hover { | |||
background: linear-gradient(145deg, #A60000, #8B0000); | |||
transform: translateY(-2px); | |||
} | |||
.tabs label:last-child { | |||
border-right: none; | |||
} | |||
</style> | |||
}} | }} |
Версия от 15:51, 1 апреля 2025
тест
мега тест
Нихуя себе