-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
85 lines (71 loc) · 1.32 KB
/
index.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
body {
margin: 0;
font-family: 'Source Sans Pro', sans-serif;
background-color: #54c3ef;
}
#main-heading {
font-family: 'Caveat Brush', cursive;
font-size: 90px;
text-align: center;
color: #fff748;
text-shadow: 2px 5px #2b3252;
margin: 0;
animation: shake 2s infinite;
}
@keyframes shake {
0% {
transform: rotate(1deg);
}
25% {
transform: rotate(0deg);
}
50% {
transform: rotate(-1deg);
}
75% {
transform: rotate(0deg);
}
100% {
transform: rotate(1deg);
}
}
#main-container {
width: 100%;
height: 100vh;
padding: 4% 8%;
box-sizing: border-box;
}
#card-wrapper {
height: 90%;
display: flex;
justify-content: center;
align-items: center;
}
.problem-card {
width: 200px;
height: 200px;
border-radius: 8px;
margin: 16px;
text-align: center;
background-color: #2b3252;
padding: 24px;
display: inline-flex;
justify-content: center;
align-items: center;
}
.problem-card:nth-child(odd) {
background-color: #fff748;
color: #2b3252
}
.problem-card:nth-child(even) {
background-color: #2b3252;
color: #fff748;
}
.problem-card a {
text-decoration: none;
color: unset;
}
.problem-card p {
font-weight: 700;
font-size: 36px;
}