-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyle.css
81 lines (69 loc) · 1.04 KB
/
style.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
75
76
77
78
79
80
81
* {
box-sizing: border-box;
font-family: sans-serif;
}
html,
body {
margin: 0;
padding: 0;
}
.visually-hidden {
clip: rect(0 0 0 0);
clip-path: inset(50%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
}
.background {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
}
.background img {
width: 300%;
transform: translate(-2%, -50%);
}
.foreground {
position: relative;
display: flex;
}
.foreground nav {
width: 80%;
}
.foreground .character-wrapper {
flex: 1;
padding-top: 10%;
}
.foreground .character-wrapper img {
width: 130%;
}
.main-navigation {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 64px 0;
}
.main-navigation li {
width: 50%;
padding: 32px;
}
.main-navigation a {
display: block;
}
.main-navigation li img {
display: block;
width: 100%;
}
@media (min-width: 600px) {
.main-navigation li {
width: 33.3%;
}
.main-navigation li:nth-of-type(2) {
transform: translateY(25%);
}
}