-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
105 lines (77 loc) · 1.34 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
padding: 0;
margin: 0;
}
body{
font-family: "Poppins", sans-serif;
}
html{
scroll-behavior: smooth;
}
p{
color: rgb(85,85,85);
}
/* transition */
a,.btn{
transition: all 300ms ease;
}
/*desktopnav*/
nav, .links{
display: flex ;
}
nav{
justify-content: space-around;
align-items: center;
height: 17vh;
}
.links{
list-style: none;
font-size: 1.5rem;
gap: 2rem;
}
a{
color: black;
text-decoration: none;
text-decoration-color: white;
}
a:hover{
color: grey;
text-decoration: underline;
text-underline-offset: 1rem;
text-decoration-color: grey;
}
.logo{
font-size: 2rem;
}
.logo:hover{
cursor: default;
}
#ham-nav{
display: none;
}
.ham{
position: relative;
display: inline-block;
padding-top: 100px;
}
.ham-icon {
display: flex;
flex-direction: column;
justify-content: space-around;
cursor: pointer;
height: 24px;
width: 30px;
}
.ham-menu .links
{
gap: 1rem;
display: flex;
flex-direction: column;
}
.ham-icon span{
width: 100%;
height: 2px;
background-color: black;
transition: all 0.3 ease-in-out;
}