Улучшены стили кнопок в хедере: изменены размеры и шрифты, добавлено скрытие кнопок на больших экранах.

This commit is contained in:
2026-04-19 16:51:47 +03:00
parent 201ae9300a
commit 5524630d56
2 changed files with 58 additions and 58 deletions

View File

@@ -162,22 +162,22 @@ starlight-menu-button button .close-menu {
starlight-menu-button button::before {
content: '';
display: block;
width: 1.1rem;
width: 1rem;
text-align: center;
line-height: 1;
font-weight: 600;
font-weight: 400;
}
starlight-menu-button[aria-expanded='true'] button::before {
content: '✕';
font-size: 1.08rem;
font-size: 1.02rem;
letter-spacing: 0;
transform: none;
}
starlight-menu-button:not([aria-expanded='true']) button::before {
content: '';
font-size: 1.25rem;
content: '';
font-size: 1.06rem;
letter-spacing: 0;
transform: none;
}
@@ -202,6 +202,12 @@ starlight-menu-button button:hover {
0 0 16px color-mix(in srgb, var(--sl-color-accent) 20%, transparent) !important;
}
@media (min-width: 50rem) {
starlight-menu-button button {
display: none !important;
}
}
.sidebar-pane {
background:
radial-gradient(circle at 8% -4%, color-mix(in srgb, var(--wiki-purple-2) 7%, transparent), transparent 38%),