Improve accessibility and resolve website audit findings
This commit is contained in:
+18
-3
@@ -71,7 +71,7 @@ button, input { font: inherit; }
|
||||
.button-primary { color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); box-shadow: 0 14px 28px rgba(11, 69, 216, .27); }
|
||||
.button-secondary { color: var(--blue-900); border: 1px solid #cbd8fb; background: #fff; }
|
||||
.button-light { color: var(--blue-900); background: #fff; box-shadow: 0 14px 28px rgba(0,0,0,.12); }
|
||||
.microcopy { margin: 17px 0 0; color: #7a8498; font-size: .86rem; }
|
||||
.microcopy { margin: 17px 0 0; color: #626d83; font-size: .86rem; }
|
||||
|
||||
.hero-visual { position: relative; min-height: 535px; display: flex; align-items: center; }
|
||||
.browser-window { position: relative; z-index: 2; width: 100%; overflow: hidden; border: 1px solid rgba(154, 174, 228, .6); border-radius: 24px; background: #fff; box-shadow: var(--shadow); transform: rotate(1.2deg); }
|
||||
@@ -198,7 +198,7 @@ button, input { font: inherit; }
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.container { width: min(calc(100% - 28px), var(--container)); }
|
||||
.site-nav { position: absolute; left: 14px; right: 14px; top: 68px; display: none; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 20px 45px rgba(8,35,108,.14); }
|
||||
.site-nav { position: absolute; z-index: 60; left: 14px; right: 14px; top: 68px; display: none; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 20px 45px rgba(8,35,108,.14); }
|
||||
.site-nav.open { display: grid; }
|
||||
.menu-button { display: block; }
|
||||
.hero { padding: 58px 0 66px; }
|
||||
@@ -255,8 +255,9 @@ button, input { font: inherit; }
|
||||
.timer-card span { color: #65769b; font-size: .65rem; font-weight: 750; }
|
||||
.timer-card strong { color: var(--blue-800); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
|
||||
.control-row { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 7px; padding: 8px; }
|
||||
.control-row button { height: 30px; color: #fff; border: 0; border-radius: 8px; background: var(--blue-700); font-weight: 900; }
|
||||
.control-row .control-button { display: grid; place-items: center; height: 30px; color: #fff; border-radius: 8px; background: var(--blue-700); font-weight: 900; }
|
||||
.control-row span { color: #65769b; font-size: .7rem; font-weight: 800; text-align: center; }
|
||||
.control-row .control-button { color: #fff; }
|
||||
.presentation-mini-ui span { display: flex; justify-content: space-between; gap: 18px; }
|
||||
.presentation-mini-ui b { color: var(--blue-700); }
|
||||
|
||||
@@ -268,3 +269,17 @@ button, input { font: inherit; }
|
||||
.control-row { grid-column: 1 / -1; }
|
||||
.slide-screen { padding: 16px; }
|
||||
}
|
||||
|
||||
.section[id], .cta-section[id] { scroll-margin-top: 96px; }
|
||||
|
||||
.site-nav a:focus-visible,
|
||||
.menu-button:focus-visible,
|
||||
.button:focus-visible,
|
||||
.text-link:focus-visible,
|
||||
.product-card a:focus-visible,
|
||||
.faq-list summary:focus-visible,
|
||||
.footer-brand a:focus-visible,
|
||||
.footer-links a:focus-visible {
|
||||
outline: 3px solid #6f96ff;
|
||||
outline-offset: 4px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user