-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
127 lines (87 loc) · 1.8 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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');
/* *{
box-sizing:border-box;
margin:0;
padding:0;
} */
a{
text-decoration:none;
}
a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
a:active { text-decoration: none; }
li,a,button{
font-family: "Montserrat", sans-serif;
font-size:1.2rem;
font-weight:200;
color: #edf0f1;
text-decoration: none;
}
header{
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px 10%;
background: rgb(16, 146, 79)
}
.logo{
cursor: pointer;
margin-right: auto;
height: auto;
width: auto;
max-height: 72px;
max-width: 250px;
position: relative;
color: #edf0f1;
}
.logo:hover{
color: #edf0f1;
}
.nav__link{
list-style: none;
}
.nav__link li{
display: inline-block;
padding: 0px 20px;
}
.nav__link li a{
transition: all 0.3s ease-in-out;
}
.nav__link li a:hover{
color: rgb(252, 169, 14);
border-radius: 50px;
}
#sign {
margin-left: 20px;
padding: 9px 25px;
background-color: rgb(255, 136, 0);
border: none;
border-radius: 50px;
cursor: pointer;
transition: all 0.3s ease-in-out;
}
#sign:hover{
background-color: rgba(219, 12, 12, 0.8);
}
.hover-underline-animation {
display: inline-block;
position: relative;
color: white;
}
.hover-underline-animation:after {
content: '';
position: absolute;
width: 100%;
transform: scaleX(0);
height: 2px;
bottom: 0;
left: 0;
background-color: rgb(255, 136, 0);
transform-origin: bottom right;
transition: transform 0.25s ease-out;
}
.hover-underline-animation:hover:after {
transform: scaleX(1);
transform-origin: bottom left;
}