Шаблон:Tabs/styles.css: различия между версиями
Материал из YastreWiki
Дополнительные действия
Нет описания правки |
Нет описания правки |
||
| Строка 1: | Строка 1: | ||
.tab-container { | .tab-container { | ||
max-height: 600px; | max-height: 600px; | ||
height: auto; | |||
max-width: 400px; | |||
width: 300px; | |||
margin: 1em 0; | margin: 1em 0; | ||
background: #12141A; | background: #12141A; | ||
border: 1px solid #3A3D4A; | border: 1px solid #3A3D4A; | ||
border-radius: | border-radius: 0.25rem; | ||
} | } | ||
Версия от 01:03, 13 апреля 2026
.tab-container {
max-height: 600px;
height: auto;
max-width: 400px;
width: 300px;
margin: 1em 0;
background: #12141A;
border: 1px solid #3A3D4A;
border-radius: 0.25rem;
}
.tabs-nav {
display: flex;
background: #1A1D26;
border-bottom: 2px solid #3A3D4A;
padding-bottom: 0.25rem;
}
.tab-link {
padding: 10px 20px;
cursor: pointer;
color: #b0b0b0;
transition: 0.2s;
border-right: 1px solid #3A3D4A;
border-bottom: 2px solid #3A3D4A;
white-space: nowrap;
}
.tab-link:hover {
background: #222631;
color: #fff;
}
.tab-link.active {
background: #12141A;
color: #fff;
font-weight: bold;
border-bottom-color: #2962ff;
}
.tab-content {
padding: 15px;
color: #e0e0e0;
}
.tab-pane {
display: none;
}
.tab-pane.active {
display: block;
}