forked from torontojs/blog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
74 lines (62 loc) · 1.1 KB
/
styles.css
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#desktop-navigation, #mobile-navigation {
background-color: var(--tjs-dark-bg);
font-weight: bold;
padding: var(--size-2);
}
.nav-links {
gap: var(--size-2);
align-items: center;
list-style: none;
display: flex;
padding: var(--size-3)
}
.nav-links a {
color: white;
}
.logo-rounded {
border-radius: var(--size-2);
}
#hamburger-button {
background-color: transparent;
padding: var(--size-3)
}
#mobile-navigation {
display: none;
}
#mobile-menu:popover-open {
width: 100%;
height: 100%;
text-align: center;
display: flex;
flex-direction: column;
padding: var(--size-3)
}
#mobile-menu:popover-open ul {
display: flex;
flex-direction: column;
padding: var(--size-2);
}
#mobile-menu:popover-open button {
background-color: transparent;
margin-left: auto;
padding: var(--size-2);
}
#mobile-logo {
align-content: center;
padding: var(--size-3);
}
@media (max-width: 32rem) {
#mobile-navigation {
display: flex;
justify-content: space-between;
text-align: right;
}
#desktop-navigation {
display: none;
}
}
@media (max-width: 32rem) {
.nav-links {
flex-direction: column;
}
}