Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
41 lines (38 loc) · 1.43 KB
/
Copy pathstyles.css
File metadata and controls
41 lines (38 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
:root {
color-scheme: light;
--paper: #fffaf2;
--ink: #30261f;
--accent: #7b3822;
--line: #dac7b3;
}
* { box-sizing: border-box; }
body {
margin: 0;
background: var(--paper);
color: var(--ink);
font-family: Georgia, serif;
line-height: 1.65;
}
header, main, footer { max-width: 64rem; margin: auto; padding: 2rem; }
header { border-bottom: 1px solid var(--line); }
.brand { font-size: 1.5rem; font-weight: bold; margin: 0 0 1rem; }
h1 { font-size: 3rem; line-height: 1.15; }
h2 { line-height: 1.25; }
a { color: var(--accent); text-underline-offset: 0.2em; }
nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
section { margin-block: 2.5rem; }
footer { border-top: 1px solid var(--line); font-size: 0.9rem; }
.menu-list { list-style: none; padding: 0; }
.menu-list li { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; border-bottom: 1px solid var(--line); }
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; }
.hours dd { margin: 0; }
@media (max-width: 36rem) {
header, main, footer { padding: 1.25rem; }
h1 { font-size: 2.25rem; }
.hours { grid-template-columns: 1fr; }
.hours dd { margin-bottom: 0.75rem; }
}
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
nav a[aria-current="page"] { font-weight: bold; }
.skip-link { position: absolute; left: 1rem; top: -10rem; padding: 0.75rem; background: var(--paper); }
.skip-link:focus { top: 1rem; }