-
Notifications
You must be signed in to change notification settings - Fork 0
/
Web.CSS
99 lines (89 loc) · 1.69 KB
/
Web.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
.{
margin: 0;
padding:0;
box-sizing:border-box
font-family:'open sans ,sans sarif'
}
body{
height: 100vh;
background-image:url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQR0EjT_SMMmRQCS6yh5j6yWZUgR9VQFkHolQ&usqp=CAU) ;
background-size: cover;
background-position: center;
}
li{
list-style: none;
}
a{
text-decoration: none;
color: #fff;
font-size: 1rem;
}
a:hover{
color: orange;
}
/*HEADER*/
header{
position: relative;
padding: 0 2rem;
}
.navbar{
width: 100%;
height: 60px;
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
}
.navbar .logo a{
font-size: 1.5rem;
font-weight: bold;
}
.navbar .links{
display: flex;
gap: 2rem;s
}
.navbar .toggle_btn{
color: #fff;
font-size: 1.5rem;
cursor: pointer;
display:none;
}
.action_btn{
background-color: orange;
color: #fff;
padding: 0.5rem 1rem;
border: none;
outline: none;
border-radius: 20px;
font-size: 0.8rem;
font-weight: bold;
cursor: pointer;
transition: scale 0.2 ease;
}
.action_btn:hover{
scale: 1.05;
color: #fff;
}
.action_btn:active{
scale: 0.95;
}
/*DROPDOWN MENU*/
.dropdown_menu{
position: absolute;
right: 2rem;
top: 60px;
width: 300px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(15px);
}
/*RESPONSIVE DESIGN*/
@media(max-width :992px){
.navbar .links,
.navbar .action_btn {
display: none;
}
.navbar .toggle_btn {
display: block;
}
}