-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
123 lines (103 loc) · 1.92 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--bg-main-color: white;
--bg-color: #cccccc;
--text-color: black;
--link-color: #4e4e4e;
}
ul {
list-style: none;
}
body {
font-family: sans-serif;
background-color: var(--bg-color);
}
main {
background-color: var(--bg-main-color);
padding: 20px;
border-radius: 15px;
box-shadow: 3px 3px 20px 0 #030303;
width: min(85vw, 900px);
margin-inline: auto;
margin-block: 50px;
}
main h1 {
text-align: center;
margin-block: 20px 30px;
}
main .tip {
font-size: 20px;
text-align: center;
animation: tip ease-in 2s infinite;
}
@keyframes tip {
0% {
transform: scale(120%);
}
50% {
transform: scale(100%);
}
100% {
transform: scale(120%);
}
}
main #challenges-number {
font-size: 22px;
margin-block: 30px;
}
main #challenges {
display: flex;
flex-wrap: wrap;
gap: 40px 20px;
}
main #challenges .challenge {
flex-grow: 1;
flex-basis: 300px;
overflow: hidden;
border-radius: 15px;
}
main #challenges .challenge a:hover img {
transform: scale(120%);
}
main #challenges .challenge a img {
width: 100%;
transition: transform .5s;
}
footer {
background-color: white;
box-shadow: 3px 3px 20px 0 #030303;
width: min(85vw, 900px);
margin-inline: auto;
border-radius: 15px 15px 0 0;
padding: 20px 20px 70px 20px;
text-align: center;
}
footer h2 {
margin-block: 20px;
font-size: 28px;
}
footer p {
font-size: 22px;
font-weight: 700;
margin-bottom: 50px;
}
footer ul {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
gap: 30px 10px;
}
footer ul li a {
font-size: 18px;
text-decoration: none;
color: var(--link-color);
font-weight: 700;
}
footer ul li a:hover {
color: var(--text-color);
text-decoration: underline 1.5px;
}