Skip to main content

max / makenotwork

1.3 KB · 87 lines History Blame Raw
1 /* SITE HEADER & NAV */
2
3 .site-header {
4 display: flex;
5 justify-content: space-between;
6 align-items: center;
7 padding: 0.75rem 1.25rem;
8 margin-bottom: 0.5rem;
9 }
10
11 .site-header nav {
12 margin: 0;
13 }
14
15 .site-header .nav-links {
16 display: flex;
17 gap: 1.5rem;
18 align-items: center;
19 }
20
21 .nav-links a {
22 color: var(--detail);
23 text-decoration: none;
24 font-family: "IBM Plex Mono", monospace;
25 transition: opacity 0.2s ease;
26 }
27
28 .nav-links a:hover {
29 opacity: 0.6;
30 text-decoration: none;
31 }
32
33 .site-logo {
34 font-family: "Young Serif", serif;
35 font-size: 1.25rem;
36 text-decoration: none;
37 color: var(--detail);
38 }
39
40 .site-logo:hover {
41 opacity: 0.8;
42 text-decoration: none;
43 }
44
45 .link-button {
46 background: none;
47 border: none;
48 color: var(--detail);
49 font-family: "IBM Plex Mono", monospace;
50 font-size: 1rem;
51 cursor: pointer;
52 padding: 0;
53 text-decoration: none;
54 transition: opacity 0.2s ease;
55 }
56
57 .link-button:hover {
58 opacity: 0.6;
59 text-decoration: underline;
60 }
61
62 .nav-form {
63 display: contents;
64 }
65
66 /* Hamburger toggle */
67 .nav-toggle-checkbox {
68 display: none;
69 }
70
71 .nav-toggle-label {
72 display: none;
73 cursor: pointer;
74 padding: 0.5rem;
75 z-index: 11;
76 }
77
78 .nav-toggle-label span {
79 display: block;
80 width: 22px;
81 height: 2px;
82 background: var(--detail);
83 margin: 5px 0;
84 transition: transform 0.2s ease, opacity 0.2s ease;
85 }
86
87