-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.css
More file actions
91 lines (83 loc) · 1.7 KB
/
Copy pathabout.css
File metadata and controls
91 lines (83 loc) · 1.7 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
@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&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');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
html{
scroll-behavior: smooth;
}
#banner{
background: linear-gradient(rgba(0,0,0,0.5), #009688), url(/Barber_Shop_img/banner.jpg);
background-size: cover;
background-position: center;
height: 100vh;
}
.logo{
width: 140px;
position: absolute;
top: 4%;
left: 10%;
}
#sideNav{
width: 250px;
height: 100vh;
position: fixed;
right: -250px;
top: 0;
background: #009688;
z-index: 2;
transition: 0.5s;
}
nav ul li{
list-style: none;
margin: 60px 20px;
}
nav ul li a{
text-decoration: none;
color: #fff;
}
#menuBtn{
width: 50px;
height: 50px;
background: #009688;
text-align: center;
position: fixed;
right: 30px;
top: 20px;
border-radius: 3px;
z-index: 3;
cursor: pointer;
}
#menuBtn img{
width: 20px;
margin-top: 15px;
}
@media(max-width: 600px){
.banner-text h1{
font-size: 44px;
font-family: 'Kaushan Script', cursive;
}
.banner-btn a{
display: block;
margin: 20px auto;
}
}
.about-text{
display: flex;
align-items: center;
justify-content: start;
padding-top: 490px;
padding-left: 150px;
gap: 10px;
}
.about-text h1{
font-size: 30px;
color: #fff;
}
.about-text span{
font-size: 30px;
color: #fff;
font-weight: bold;
}