-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
79 lines (65 loc) · 1.1 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
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400&display=swap');
*,
*::before,
*::after{
box-sizing: border-box;
margin: 0
}
.header{
background: #ff4838;
height: 22rem;
width: 100%;
}
.top-links{
display: flex;
justify-content: space-between;
align-items: center;
margin: 4rem auto;
padding: 0 6vw;
max-width: 900px;
overflow: hidden;
}
.top-link{
display: inline-block;
margin: 0 auto;
border: 7px solid #ff4838;
border-radius: 50%;
height: 10rem;
width: 10rem;
line-height: 9.5rem;
font-size: 1rem;
text-align: center;
transition: background .3s ease-in;
}
.top-link a{
text-decoration: none;
color: #395e66;
font-family: 'Quicksand', sans-serif;
position: relative;
}
.top-link a:after{
content:'';
background: linear-gradient(360deg,#fff,transparent);;
width: 100%;
height: 2px;
position: absolute;
bottom: 0;
left: 0;
}
.top-link:hover{
background: #ff4838;
}
.top-link:hover a{
color:#fff;
}
@media (max-width: 500px){
.top-link{
font-size: .8rem;
height: 8rem;
width: 8rem;
line-height: 7.5rem;
}
.header{
height: 200px;
}
}