-
Notifications
You must be signed in to change notification settings - Fork 8
/
style.css
180 lines (156 loc) · 3.21 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
body {
margin: 0;
font: 400 14px/1.5 Lato, -apple-system, BlinkMacSystemFont, 'Segoe UI', "Helvetica Neue", Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
-webkit-tap-highlight-color: transparent;
}
::selection {
background-color: #ffd500;
color: #000;
}
header {
padding: 20px 20px;
background: linear-gradient(45deg, #ffe561, #ffd500);
text-align: center;
font-size: 25px;
font-family: 'Berkshire Swash', serif;
}
nav {
z-index: 999999999;
padding: 10px 40px;
position: sticky;
top: 0;
background-color: #fffffffc;
backdrop-filter: blur(20px) saturate(180%);
display: flex;
justify-content: space-between;
align-items: center;
text-transform: uppercase;
border-bottom: 0px solid #333333;
box-shadow: 0 0 0 2px #fff;
}
a {
text-decoration: none;
color: #000;
transition: all 200ms linear;
}
nav a :not(:nth-of-type(2)) {
cursor: pointer;
}
nav a:not(:nth-of-type(2)):hover {
color: #fa6400;
}
main {
display: flex;
justify-content: center;
}
#main-list {
border-radius: 8px;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 10px;
list-style-type: none;
width: 95%;
padding: 0;
}
#main-list li {
background-color: #fff;
border-radius: 8px;
border: 1px solid #dadce0;
height: 400px;
display: grid;
grid-template-rows: 3fr 2fr 1fr;
align-items: center;
overflow: hidden;
transition: all 180ms ease, border 0s linear;
cursor: pointer;
}
.person {
text-transform: uppercase;
letter-spacing: 0.4px;
font-size: 10px;
text-align: center;
}
#main-list li:hover {
box-shadow: 0px 1px 4px rgba(0, 0, 0, .1),
0px 2px 3px rgba(0, 0, 0, .12),
0px 1px 3px rgba(0, 0, 0, .14);
transform: translateY(-1px);
border-width: 0px;
}
.icon {
height: 50%;
width: 100%;
object-fit: contain;
user-select: none;
}
.title {
font-size: 40px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-weight: bold;
box-sizing: border-box;
padding: 10px;
}
#show-on-scroll {
font-size: 25px;
opacity: 0;
transition: opacity 200ms ease-in;
font-weight: bold;
}
h1 {
margin: 0;
color: #ff3c00;
}
footer {
display: none;
}
.not-yet-made {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
padding: 10px 0;
text-align: center;
background: #222;
color: #fff;
opacity: 0;
transition: all 200ms linear;
}
@media print,
screen and (max-width: 750px) {
#main-list {
grid-template-columns: 1fr 1fr;
}
}
@media print,
screen and (max-width: 600px) {
nav {
justify-content: center;
}
nav :not(:nth-child(2)) {
display: none;
}
footer {
display: flex;
align-items: center;
justify-content: space-around;
text-align: center;
flex-direction: row;
padding: 20px 10px;
}
footer a {
text-decoration: none;
color: #000;
}
}
@media print,
screen and (max-width: 490px) {
#main-list {
grid-template-columns: 1fr;
}
nav {
font-size: 10px;
}
}