-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
95 lines (87 loc) · 2.06 KB
/
main.css
File metadata and controls
95 lines (87 loc) · 2.06 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
body{
margin: 0;
padding: 0;
}
p{
color: lime;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-size: 25px;
}
body{
background-color: beige;
z-index: 0;
}
.banner{
width: 100%;
height: 620px;
background-image: url("https://www.anitashousekeeping.com/wp-content/uploads/2023/02/woman-in-red-long-sleeve-shirt-and-blue-denim-jeans-standing-beside-gray-couch-1024x683.jpeg");
background-position: center;
background-size: cover;
background-repeat: no-repeat;
overflow: hidden;
}
.banner h4{
color: azure;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
text-align: center;
}
h1{
color: azure;
font-size: 35px;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.container{
position: relative;
text-align: center;
color: azure;
}
.banner-overlay{
position: absolute;
height: 620px;
width: 100%;
left: 0;
right: 0;
background-color:rgba(0,0,0,0.5);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/* Style the navbar */
#navbar {
overflow: hidden;
background-color:beige;
display: flex;
align-items: center;
}
/* Navbar links */
#navbar a {
float: left;
display: block;
color:black;
text-align: center;
justify-content: end;
width: 100%;
text-decoration: none;
padding: 15px;
}
.logo{
margin-right: 40px ;
}
/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
position: fixed;
top: 0;
width: 100%;
}
/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
padding-top: 60px;
}
nav{
display: flex;
text-align: justify;
justify-content: space-between;
z-index: 1;
position: relative;
}