Шаблон:Кобра/styles.css: различия между версиями
Перейти к навигации
Перейти к поиску
Rodion (обсуждение | вклад) Нет описания правки Метка: ручная отмена |
Rodion (обсуждение | вклад) Нет описания правки Метка: отменено |
||
| Строка 1: | Строка 1: | ||
/* Компактные стили навигации с горизонтальными надписями */ | |||
.darkvector-subtitle { | |||
text-align: center; | |||
font-size: 1em; | |||
margin: 0.3em 0; | |||
color: #202122; | |||
font-weight: bold; | |||
} | } | ||
. | |||
.darkvector-header { | |||
display: flex; | |||
flex-wrap: wrap; | |||
justify-content: center; | |||
gap: 4px; | |||
margin: 0.3em auto; | |||
max-width: 100%; | |||
background: #f0f0f0; | |||
padding: 6px; | |||
border-radius: 6px; | |||
box-shadow: 0 1px 3px rgba(0,0,0,0.1); | |||
} | } | ||
. | |||
.darkvector-tab { | |||
flex: 0 0 auto; | |||
min-width: 60px; | |||
height: 32px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
text-align: center; | |||
padding: 0 8px; | |||
margin: 0; | |||
background: #ffffff; | |||
color: #202122; | |||
border: 1px solid #d0d0d0; | |||
border-radius: 16px; | |||
font-size: 0.85em; | |||
font-weight: bold; | |||
line-height: 1; | |||
transition: all 150ms; | |||
text-decoration: none; | |||
box-shadow: 0 1px 2px rgba(0,0,0,0.05); | |||
} | } | ||
. | |||
.darkvector-tab:hover { | |||
background-color: #f5f5f5; | |||
transform: translateY(-1px); | |||
box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |||
} | } | ||
. | .darkvector-tab.selected { | ||
background-color: #36c; | |||
color: #ffffff; | |||
border-color: #36c; | |||
transform: translateY(-1px); | |||
box-shadow: 0 2px 5px rgba(0,0,0,0.15); | |||
} | } | ||
. | .orange-marker { | ||
display: none; | |||
} | } | ||
/* Адаптация для мобильных */ | |||
@media (max-width: 550px) { | |||
.darkvector-header { | |||
flex-direction: row; | |||
padding: 4px; | |||
gap: 3px; | |||
} | |||
@media (max-width:550px) { | |||
.darkvector-tab { | |||
height: 28px; | |||
min-width: 50px; | |||
font-size: 0.8em; | |||
padding: 0 6px; | |||
border-radius: 14px; | |||
} | |||
} | } | ||
Версия от 22:14, 24 октября 2025
/* Компактные стили навигации с горизонтальными надписями */
.darkvector-subtitle {
text-align: center;
font-size: 1em;
margin: 0.3em 0;
color: #202122;
font-weight: bold;
}
.darkvector-header {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 4px;
margin: 0.3em auto;
max-width: 100%;
background: #f0f0f0;
padding: 6px;
border-radius: 6px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.darkvector-tab {
flex: 0 0 auto;
min-width: 60px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 0 8px;
margin: 0;
background: #ffffff;
color: #202122;
border: 1px solid #d0d0d0;
border-radius: 16px;
font-size: 0.85em;
font-weight: bold;
line-height: 1;
transition: all 150ms;
text-decoration: none;
box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.darkvector-tab:hover {
background-color: #f5f5f5;
transform: translateY(-1px);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.darkvector-tab.selected {
background-color: #36c;
color: #ffffff;
border-color: #36c;
transform: translateY(-1px);
box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.orange-marker {
display: none;
}
/* Адаптация для мобильных */
@media (max-width: 550px) {
.darkvector-header {
flex-direction: row;
padding: 4px;
gap: 3px;
}
.darkvector-tab {
height: 28px;
min-width: 50px;
font-size: 0.8em;
padding: 0 6px;
border-radius: 14px;
}
}