-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
112 lines (92 loc) · 1.8 KB
/
Copy pathstyle.css
File metadata and controls
112 lines (92 loc) · 1.8 KB
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
/* google fonts */
@import url("https://fonts.google.com/share?selection.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");
*{
font-family: "Poppins",sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
list-style: none;
text-decoration: none;
scroll-padding-top: 2rem;
scroll-behavior: smooth;
}
/* some variable */
:root{
--main-color:orange;
--text-color:black;
--bg-color:white;
}
body{
background: var(--text-color);
color: var(--bg-color);
}
section{
padding: 4.5rem 0 0.1rem;
}
header{
position:fixed;
width:100%;
top: 0;
right: 0;
z-index: 1000;
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px 100px;
transition: 0.5s;
/* background: var(--main-color); */
}
.logo{
font-size: 1.1rem;
font-weight: 600;
color: var(--bg-color);
display: flex;
align-items: center;
column-gap: 0.5rem;
}
.logo .bx{
font-size: 24px;
color: var(--main-color);
}
.navbar{
display: flex;
column-gap: 5rem;
}
.navbar li{
position: relative;
}
.navbar a{
font-size: 1rem;
font-weight: 500;
color: var(--bg-color);
}
.navbar a::after{
content: '';
width: 0;
height: 2px;
background: var(--main-color);
position: absolute;
bottom: -4px;
left: 0;
transition: 0.4s all linear;
}
.navbar a:hover::after,
.navbar .home-active::after{
width: 100%;
}
#menu-icon{
font-size: 24px;
cursor: pointer;
z-index: 1000001;
display: none;
}
.btn{
padding: 0.7rem 1.4rem;
background: var(--main-color);
color: var(--bg-color);
font-weight: 400;
border-radius: 0.5rem;
}
.btn:hover{
background: red;
}