-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
113 lines (93 loc) · 1.5 KB
/
styles.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
body {
background: #1c1c1c;
}
header {
width: 100%;
padding: 1rem 0;
display: flex;
align-items: center;
flex-direction: column;
}
header h1 {
font: bold 2.5rem "Ubuntu", sans-serif;
padding-bottom: 0.8rem;
color: #fff;
}
header p {
font: 300 1.1rem "Ubuntu", sans-serif;
color: gray;
margin: 0.3rem 0;
}
header p a {
color: #fff;
}
main {
height: auto;
margin: 1rem auto;
display: grid;
grid-template-columns: repeat(5, 1fr);
column-gap: 1.4rem;
row-gap: 1.4rem;
place-items: center;
}
main div {
background: blueviolet;
width: 100%;
height: 80px;
border-radius: 8px;
transition: ease-in-out 0.3s;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
main div a {
text-decoration: none;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
width: 100%;
height: 100%;
}
main div a span {
margin: 0 0.5rem;
font: 500 1.2rem "Ubuntu", sans-serif;
}
main div a svg {
width: 18px;
height: 18px;
fill: #fff;
}
main div:hover {
transform: translateY(-10px);
opacity: 0.7;
}
@media (min-width: 1200px) {
main {
width: 1140px;
}
}
footer {
width: 100%;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
}
footer a {
width: 32px;
height: 32px;
margin: 0 1rem;
transition: ease-in-out 0.3s;
}
footer a:hover {
transform: translateY(-10px);
}
footer a:hover svg {
fill: #666;
}
footer a svg {
fill: #fff;
transition: ease-in-out 0.3s;
}