-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
52 lines (50 loc) · 1.12 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
body {
margin: 0;
padding: 0;
overflow-x: hidden;
font-family: Arial, sans-serif;
}
nav {
background-color: #333;
color: #fff;
padding: 10px 20px;
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
}
nav a {
color: #fff;
text-decoration: none;
margin-right: 20px;
}
nav a:hover {
color: #ccc;
}
.background-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
z-index: -1; /* Ensure background is behind other content */
}
.overlay-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(0, 0, 0, 0.5);
color: #fff;
padding: 10px;
border-radius: 5px;
display: none; /* Initially hidden */
}
.content {
padding: 20px;
margin-top: 100vh; /* Ensure content starts below the full viewport height */
background-color: rgba(255, 255, 255, 0.8);
}