Files
OUCMirror-WebUI/src/style.css
T

261 lines
24 KiB
CSS

:root {
--muted: var(--ink-2);
/* Palette from itouc.cn. */
--blue: #0969da; --blue-bright: #58a6ff; --blue-soft: rgba(9, 105, 218, .08);
--ink: #24292f; --ink-2: #343a40; --ink-3: var(--ink-2); --line: #d0d7de; --line-soft: #d8dee4;
--paper: #fff; --surface: #f6f8fa; --panel: #fff; --panel-blue: var(--surface);
--on-accent: #fff; --accent-hover: color-mix(in srgb, var(--blue) 88%, #000);
--shadow: 0 4px 12px rgba(140, 149, 159, .15); --dialog-shadow: 0 8px 24px rgba(140, 149, 159, .2);
--green: #2dba4e; --amber: #b98325; --red: #cf222e; --red-soft: rgba(207, 34, 46, .08); --violet: #8957e5;
color-scheme: light;
}
:root[data-theme='dark'] {
--blue: #58a6ff; --blue-soft: rgba(88, 166, 255, .12);
--ink: #c9d1d9; --ink-2: #6d737c; --line: #30363d; --line-soft: #21262d;
--paper: #0d1117; --surface: #161b22; --panel: #161b22;
--on-accent: #0d1117; --accent-hover: color-mix(in srgb, var(--blue) 88%, #fff);
--green: #6fda83; --amber: #f5b04d; --red: #ff8a80; --red-soft: rgba(255, 138, 128, .12); --violet: #b9a0ff;
--shadow: 0 4px 12px rgba(0, 0, 0, .5); --dialog-shadow: 0 8px 24px rgba(0, 0, 0, .8);
color-scheme: dark;
}
* { box-sizing: border-box; scrollbar-width: thin; scrollbar-color: var(--blue) transparent; }
@supports selector(::-webkit-scrollbar) {
* { scrollbar-width: auto; scrollbar-color: auto; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { border: 0; border-radius: 0; background: var(--blue); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
}
html { min-width: 0; scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 0; background: var(--paper); color: var(--ink); font-family: system-ui, -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif; line-height: 1.5; text-rendering: optimizeLegibility; }
body.dialog-open { overflow: hidden; }
button, input { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.page-width { width: min(1220px, calc(100% - 64px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 50; top: 10px; left: 16px; padding: 8px 12px; border-radius: 7px; background: var(--blue); color: var(--on-accent); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 20; display: flex; align-items: center; gap: 32px; min-height: 140px; padding: 30px clamp(24px, 5vw, 120px); background: var(--paper); }
.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand-logo { display: block; flex-shrink: 0; width: 320px; max-width: 100%; aspect-ratio: 2000 / 433; }
.brand-logo img { display: block; width: 100%; height: auto; }
:root[data-theme='dark'] .about-seal { filter: brightness(0) invert(1); opacity: .85; }
.desktop-nav { display: flex; flex-shrink: 0; align-items: center; gap: 20px; margin-left: auto; }
.nav-link { padding: 14px 0; border-bottom: 2px solid transparent; color: var(--ink-2); font-size: 14px; transition: color .18s, border-color .18s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link.active { border-bottom-color: var(--blue); font-weight: 600; }
.header-tools { display: flex; flex-shrink: 0; align-items: center; gap: 10px; }
.language-trigger, .icon-button { border-radius: 7px; transition: background .18s, color .18s; }
.language-picker { position: relative; }
.language-trigger { min-height: 34px; padding: 7px 9px; color: var(--ink); font-size: 13px; white-space: nowrap; }
.language-trigger:hover, .language-trigger[aria-expanded='true'], .icon-button:hover { color: var(--blue); background: var(--blue-soft); }
.language-options { position: absolute; top: calc(100% + 8px); right: 0; width: 160px; max-width: calc(100vw - 24px); max-height: min(320px, calc(100dvh - 108px)); overflow-y: auto; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.language-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 38px; padding: 8px 11px; border-radius: 4px; color: var(--ink); font-size: 13px; text-align: left; }
.language-option span { min-width: 0; overflow-wrap: anywhere; }
.language-option svg { flex-shrink: 0; }
.language-option:hover, .language-option:focus { background: var(--blue-soft); }
.language-option[aria-checked='true'] { background: var(--blue-soft); color: var(--blue); font-weight: 500; }
.language-option:focus-visible { outline-offset: -2px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; }
.icon-button { width: 34px; height: 34px; color: var(--ink-2); }
.tool-divider { width: 1px; height: 22px; background: var(--line); }
.theme-picker { position: relative; }
.theme-options { position: absolute; top: calc(100% + 10px); right: 0; width: 132px; padding: 5px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); box-shadow: var(--shadow); }
.theme-options button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 9px; border-radius: 6px; color: var(--ink-2); font-size: 12px; text-align: left; }
.theme-options button:hover { background: var(--blue-soft); color: var(--blue); }
.theme-options button svg:last-child { margin-left: auto; }
.mobile-toggle, .mobile-nav { display: none; }
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: 54px; padding: 32px 0 86px; }
.status-page { min-height: 60vh; padding: 32px 0 86px; }
.mirror-section { min-width: 0; scroll-margin-top: 92px; }
.section-heading, .side-heading { display: flex; align-items: center; justify-content: space-between; }
.section-heading { margin-bottom: 22px; }
.section-heading h1 { margin: 0; font-size: 36px; font-weight: 600; letter-spacing: -.03em; line-height: 1.3; }
h2 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.04em; }
.search-box { position: relative; display: flex; align-items: center; height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); color: var(--ink-3); transition: border .18s, box-shadow .18s; }
.search-box:focus-within { border-color: color-mix(in srgb, var(--blue) 58%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 12%, transparent); }
.search-box input { width: 100%; height: 100%; padding: 0 10px; outline: 0; border: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-box input::placeholder { color: var(--ink-3); }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; }
.clear-search { width: 25px; height: 25px; }
.mirror-table-wrap { margin-top: 20px; }
.mirror-table { width: 100%; border-spacing: 0; border-collapse: collapse; table-layout: fixed; }
.mirror-table th { padding: 12px 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 14px; font-weight: 700; text-align: left; }
.mirror-table th:first-child { width: 48%; padding-left: 0; }
.mirror-table th:nth-child(2), .mirror-table th:nth-child(3) { width: 26%; }
.mirror-table td { height: 44px; padding: 4px 10px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14px; vertical-align: middle; }
.mirror-table td:first-child { padding-left: 0; }
.mirror-table tbody tr:hover { background: color-mix(in srgb, var(--blue-soft) 35%, transparent); }
.mirror-table tbody tr[data-status='syncing'] { background: var(--blue-soft); }
.mirror-table tbody tr[data-status='failed'] { background: var(--red-soft); }
.mirror-name-group { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mirror-name-button { display: inline-flex; align-items: center; min-width: 0; min-height: 36px; padding: 0; color: var(--blue); font: 600 16px/1.5 ui-monospace, 'Cascadia Code', Consolas, monospace; text-align: left; overflow-wrap: anywhere; }
.mirror-name-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.distro-mark { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 31px; height: 31px; border: 1px solid color-mix(in srgb, var(--distro-color) 31%, var(--line)); border-radius: 7px; background: color-mix(in srgb, var(--distro-color) 10%, var(--panel)); color: var(--distro-color); font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 14px; font-weight: 500; }
.status-chip { display: inline-flex; align-items: center; gap: 6px; min-width: 72px; color: var(--ink-2); font-size: 11px; white-space: nowrap; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.status-chip.success .status-dot { background: var(--green); }.status-chip.syncing .status-dot { background: var(--blue-bright); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-bright) 14%, transparent); }.status-chip.waiting .status-dot { background: var(--amber); }.status-chip.failed .status-dot { background: var(--red); }.status-chip.paused .status-dot { background: var(--violet); }
.status-chip.paused { color: var(--violet); }
.status-list > div[data-status='syncing'] { background: var(--blue-soft); }
.status-list > div[data-status='failed'] { background: var(--red-soft); }
.mirror-table :is(.time-cell, .metric-cell) { font-variant-numeric: tabular-nums; }
.mirror-table .roll-frame { display: grid; width: 100%; max-width: 100%; }
.help-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--blue); transition: color 120ms, background-color 120ms; }
.help-button svg { display: block; }
.help-button:hover { background: var(--blue-soft); color: var(--accent-hover); }
.help-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.roll-frame { display: inline-grid; min-width: 0; max-width: 100%; vertical-align: middle; line-height: 1.5; }
.roll-stage { position: relative; display: grid; min-width: 0; overflow: hidden; }
.roll-sizer { grid-area: 1 / 1; min-width: 0; visibility: hidden; white-space: nowrap; overflow: hidden; }
.roll-track { position: absolute; inset: 0 0 auto; display: grid; grid-template-rows: 1fr 1fr; height: 200%; animation: readout-roll var(--roll-duration) cubic-bezier(.25, .6, .35, 1) both; }
.roll-face, .roll-rest { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.roll-rest { position: absolute; inset: 0; }
@keyframes readout-roll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 350px; color: var(--ink-3); text-align: center; }.empty-state h3 { margin: 12px 0 3px; color: var(--ink); font-size: 15px; }.empty-state p { margin: 0; font-size: 12px; }
.text-button { display: inline-flex; align-items: center; gap: 6px; padding: 0; color: var(--blue); font-size: 12px; }.text-button:hover { text-decoration: underline; }.empty-state .text-button { margin-top: 17px; }
.sidebar { display: flex; flex-direction: column; min-width: 0; gap: 22px; }
@media (min-width: 981px) {
.main-grid { grid-template-rows: auto 1fr; row-gap: 20px; }
.mirror-section { display: grid; grid-column: 1; grid-row: 1 / span 2; grid-template-rows: subgrid; }
.mirror-table-wrap { margin-top: 0; }
.sidebar { grid-column: 2; grid-row: 2; }
}
.side-section { min-width: 0; }
.side-heading { gap: 12px; margin-bottom: 8px; }
.side-heading h2 { font-size: 22px; line-height: 1.3; }
:root[data-theme='dark'] :is(.section-heading, .mirror-table th, .sync-table thead th, .side-heading) { color: #fff; }
.sidebar-more { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 32px; padding: 4px 0 4px 8px; color: var(--blue); font-size: 13px; }
.sidebar-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.news-item { display: flex; align-items: baseline; gap: 8px; width: 100%; min-height: 30px; padding: 4px 0; color: var(--blue); font-size: 14px; font-weight: 500; text-align: left; }
.news-item time { flex-shrink: 0; font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }
.news-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-item:hover .news-title { text-decoration: underline; text-underline-offset: 3px; }
.downloads .side-heading { margin-bottom: 0; }
.download-menu-button { flex-shrink: 0; min-height: 34px; padding: 7px 12px; border-radius: 5px; background: var(--blue); color: var(--on-accent); font-size: 13px; font-weight: 600; }
.download-menu-button:hover { background: var(--accent-hover); }
.useful-links { display: grid; }
.useful-links a, .useful-links button { display: flex; align-items: center; min-height: 30px; padding: 4px 0; color: var(--blue); font-size: 14px; font-weight: 500; text-align: left; }
.useful-links a:hover, .useful-links button:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer { background: var(--surface); color: var(--ink-2); }
.footer-main { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 56px; padding: 56px 0 42px; }
.footer-main > * { min-width: 0; }
.footer-brand { display: inline-block; width: 300px; max-width: 100%; }
.footer-brand img { display: block; width: 100%; height: auto; }
.footer-identity p { margin: 22px 0 0; max-width: 32em; font-size: 13px; line-height: 1.9; }
.footer-main h2 { margin: 5px 0 19px; color: var(--ink); font-size: 18px; letter-spacing: 0; }
.footer-links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; padding: 0; margin: 0; list-style: none; }
.footer-main a { text-underline-offset: 4px; }
.footer-links a, .footer-contact a { font-size: 13px; }
.footer-main a:hover { color: var(--blue); text-decoration: underline; }
.footer-contact address { margin-top: 15px; font-size: 13px; font-style: normal; line-height: 1.9; }
.footer-affiliations { display: flex; align-items: flex-end; gap: 21px; width: 411px; max-width: 100%; margin-left: auto; }
.footer-affiliation { position: relative; display: block; min-width: 0; }
.footer-studio { flex: 240; --affiliation-image: url('/assets/itstudio.png'); --wordmark-start: 26%; }
.footer-university { flex: 280; --affiliation-image: url('/assets/ouc.png'); --wordmark-start: 25.3%; }
.footer-affiliation img { display: block; width: 100%; height: auto; }
/* Recolor the pale wordmarks on light backgrounds while keeping the symbols in their original colors. */
.footer-affiliation::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, transparent var(--wordmark-start), #004098 var(--wordmark-start)); mask: var(--affiliation-image) center / contain no-repeat; pointer-events: none; }
:root[data-theme='dark'] .footer-affiliation::after { display: none; }
.content-dialog { width: min(680px, calc(100% - 32px)); max-height: min(710px, calc(100dvh - 44px)); padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); box-shadow: var(--dialog-shadow); }.content-dialog::backdrop { background: rgba(0, 0, 0, .57); backdrop-filter: blur(4px); }.dialog-inner { max-height: min(710px, calc(100dvh - 44px)); overflow: auto; }.dialog-heading { position: sticky; z-index: 1; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 22px 25px; border-bottom: 1px solid var(--line); background: var(--panel); }.dialog-heading h2 { font-size: 18px; }.dialog-heading .icon-button { margin: -8px -8px 0 0; }.dialog-content { padding: 25px; }.dialog-lead { margin: 0 0 23px; color: var(--ink-2); font-size: 13px; line-height: 1.75; }.mirror-facts { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: 11px; }.mirror-facts > span:nth-child(even) { color: var(--ink); }.directory-preview { display: flex; gap: 13px; align-items: flex-start; margin: 23px 0; padding: 18px; border-radius: 8px; background: var(--panel-blue); color: var(--blue); }.directory-preview h3 { margin: -2px 0 4px; color: var(--ink); font-size: 13px; }.directory-preview p { margin: 0; color: var(--ink-2); font-size: 11px; }.dialog-content h3 { margin: 21px 0 7px; font-size: 13px; }.dialog-hint { color: var(--ink-3); font-size: 11px; line-height: 1.65; }.dialog-content pre { overflow: auto; margin: 12px 0; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: color-mix(in srgb, var(--paper) 80%, var(--panel)); color: var(--blue); font: 11px ui-monospace, 'Cascadia Code', Consolas, monospace; white-space: pre-wrap; }.dialog-actions { display: flex; align-items: center; gap: 18px; }.secondary-button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 6px; background: var(--blue); color: var(--on-accent); font-size: 11px; }.secondary-button:hover { background: var(--accent-hover); }.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.help-grid button, .article-link, .modal-downloads a { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); font-size: 12px; text-align: left; }.help-grid button:hover, .article-link:hover, .modal-downloads a:hover { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }.help-grid button span:nth-child(2), .modal-downloads a span:nth-child(2) { flex: 1; }.help-grid button svg, .modal-downloads a svg { margin-left: auto; }.article-date { display: block; margin-bottom: 18px; color: var(--ink-3); font: 10px ui-monospace, 'Cascadia Code', Consolas, monospace; }.article-body { margin: 0; color: var(--ink); font-size: 13px; line-height: 1.9; }.article-link { justify-content: space-between; margin-bottom: 8px; }.article-link span { flex: 1; }.status-list { display: grid; gap: 1px; border-top: 1px solid var(--line); }.status-list > div { display: flex; justify-content: space-between; align-items: center; min-height: 45px; border-bottom: 1px solid var(--line); }.mono { font: 12px ui-monospace, 'Cascadia Code', Consolas, monospace; }.modal-downloads { display: grid; gap: 9px; }.about-seal { display: block; margin: 0 auto 21px; }.about-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }.about-links a { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-size: 12px; }
.content-dialog.download-dialog { --download-dialog-max-height: min(720px, calc(100dvh - 48px)); width: min(960px, calc(100% - 40px)); max-width: none; height: var(--download-dialog-max-height); max-height: var(--download-dialog-max-height); overflow: hidden; border-radius: 2px; border-top: 3px solid var(--blue); background: var(--paper); box-shadow: 0 16px 48px rgba(0, 0, 0, .28); }
.content-dialog.download-dialog::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: none; }
.download-dialog .dialog-inner { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100%; max-height: calc(var(--download-dialog-max-height) - 4px); overflow: hidden; }
.download-dialog .dialog-heading { position: static; gap: 20px; padding: 22px 24px; border-bottom: 0; background: var(--paper); }
.download-dialog .dialog-heading h2 { color: var(--ink); font-size: 24px; font-weight: 600; line-height: 1.4; }
.download-dialog .dialog-heading .icon-button { flex-shrink: 0; width: 36px; height: 36px; margin: 0 -6px 0 0; border-radius: 2px; color: var(--ink); }
.download-dialog .dialog-content { display: flex; min-width: 0; min-height: 0; overflow: hidden; padding: 0 24px 24px; }
:root[data-theme='dark'] .download-dialog .dialog-heading h2 { color: #fff; }
@media (max-width: 640px) {
.content-dialog.download-dialog { --download-dialog-max-height: calc(100dvh - 32px); width: calc(100% - 24px); }
.download-dialog .dialog-heading { gap: 12px; padding: 16px 18px; }
.download-dialog .dialog-heading h2 { font-size: 22px; }
.download-dialog .dialog-heading .icon-button { width: 44px; height: 44px; margin-right: -8px; }
.download-dialog .dialog-content { padding: 4px 18px 22px; }
}
@media (max-width: 1100px) {
.site-header { min-height: 112px; gap: 22px; padding: 24px; }
.brand-logo { width: 260px; }
.desktop-nav { gap: 16px; }
}
@media (max-width: 980px) {
.footer-main { grid-template-columns: 1fr 1fr; gap: 36px; padding-top: 42px; }
.footer-identity { grid-column: 1 / -1; }
.footer-identity p { max-width: none; margin-top: 16px; }
.page-width { width: min(100% - 40px, 760px); }.main-grid { grid-template-columns: minmax(0, 1fr); gap: 62px; }.sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 22px 28px; }
}
@media (max-width: 700px) {
.site-header { flex-wrap: wrap; min-height: 88px; gap: 0 8px; padding: 18px 16px; }
.footer-main { grid-template-columns: 1fr; gap: 30px; padding: 36px 0 28px; }
.footer-main h2 { margin-bottom: 12px; }
.footer-links ul { gap: 0 18px; }
.footer-links a, .footer-contact > a { display: flex; align-items: center; min-height: 44px; font-size: 14px; }
.footer-contact address { margin-top: 4px; font-size: 14px; }
.page-width { width: calc(100% - 32px); }
.brand { flex: 1; min-width: 0; }
.brand-logo { width: 180px; }
.header-tools { gap: 0; }
.header-tools .icon-button { width: 44px; height: 44px; }
.language-trigger { min-height: 44px; }
.language-option { min-height: 44px; font-size: 14px; }
.desktop-nav, .tool-divider { display: none; }
.mobile-toggle { display: inline-flex; }
.mobile-nav { display: flex; flex-direction: column; flex-basis: 100%; padding: 16px 0 0; background: var(--paper); max-height: calc(100dvh - 88px); overflow: auto; }
.mobile-nav a { min-height: 44px; padding: 11px 0; color: var(--ink-2); font-size: 14px; text-align: left; }
.mobile-nav a:hover, .mobile-nav a[aria-current='page'] { color: var(--blue); }
.theme-options { width: 160px; }
.theme-options button { min-height: 44px; font-size: 14px; }
.main-grid { padding-top: 16px; padding-bottom: 45px; gap: 36px; }
.status-page { padding: 16px 0 45px; }
.section-heading { margin-bottom: 17px; }
.section-heading h1 { font-size: 28px; }
.search-box { height: 48px; }
.search-box input { font-size: 16px; }
.clear-search { min-width: 36px; height: 44px; }
.mirror-table-wrap { margin-top: 16px; }
.mirror-table th { padding: 10px 4px; font-size: 13px; text-wrap: balance; }
.mirror-table td { height: 48px; padding: 5px 4px; font-size: 12px; }
.mirror-table th:first-child { width: 44%; }
.mirror-table th:nth-child(2), .mirror-table th:nth-child(3) { width: 28%; }
.mirror-name-button { min-height: 44px; font-size: 14px; }
.mirror-name-group { gap: 4px; }
.mirror-name-group .help-button { width: 32px; height: 32px; }
.mirror-table .time-cell { line-height: 1.5; }
.sidebar { display: flex; align-items: stretch; gap: 20px; }
.side-heading { margin-bottom: 6px; }
.side-heading h2 { font-size: 20px; }
.news-item, .sidebar-more, .download-menu-button, .useful-links a, .useful-links button { min-height: 44px; }
.text-button { min-height: 44px; font-size: 13px; }
.dialog-content, .dialog-heading { padding: 18px; }
.dialog-heading { gap: 12px; }
.dialog-heading h2 { min-width: 0; overflow-wrap: anywhere; }
.dialog-heading .icon-button { flex-shrink: 0; width: 44px; height: 44px; margin: -8px; }
.help-grid { grid-template-columns: 1fr; }
.mirror-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); font-size: 12px; }
.dialog-hint, .directory-preview p { font-size: 12px; overflow-wrap: anywhere; }
.dialog-content pre { overflow-wrap: anywhere; font-size: 12px; }
.dialog-actions { flex-wrap: wrap; gap: 6px 13px; }
.secondary-button { min-height: 44px; font-size: 13px; }
}
@media (max-width: 360px) {
.site-header { padding-inline: 12px; }
.page-width { width: calc(100% - 24px); }
.brand-logo { width: 148px; }
.distro-mark { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }
.data-notice { padding: 10px 0; color: var(--ink-2); font-size: 14px; }
[data-theme='dark'] .admin-page :is(h1,h2,h3,thead th) { color: #fff; }