-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaybe.css
49 lines (39 loc) · 1.12 KB
/
maybe.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
/* PAGE HEADER */
/* Use this on larger screens if necessary. But for the moment the mobile version seems to be working. */
body>header {
height: var(--size-body-header-height);
padding: 0px var(--size-gutter);
display: flex;
justify-items: center;
/* Center image vertically in link */
/* ! Need to match the specificity of the earlier <a> so some duplication below. */
& a:first-of-type {
display: flex;
align-items: center;
}
& a:last-of-type {
display: flex;
align-items: center;
margin-left: auto;
border-radius: 20px;
background-color: white;
}
& a:not(:has(img)) {
padding: 0px 60px;
min-height: 47px;
color: var(--very-dark-cyan);
background-color: white;
font-weight: 700;
letter-spacing: normal;
/* See "Gotchas": https://moderncss.dev/css-button-styling-guide/ */
align-self: center;
&:hover, &:active {
background-color: #eee;
}
}
& img {
/* Measure mockup */
width: 200px;
height: 31px;
}
}