-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
94 lines (84 loc) · 2.21 KB
/
styles.css
File metadata and controls
94 lines (84 loc) · 2.21 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
/* Basic styling for the body */
body {
font-family: 'Treasure Map Deadhand', sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-image: url('https://wallpapercave.com/wp/wp11569590.jpg'); /* Replace with actual image URL */
background-size: cover; /* Ensure the image covers the entire background */
background-repeat: no-repeat; /* Prevent the image from repeating */
background-position: center center; /* Center the image */
color: #333;
}
/* Styling for the overlay */
.overlay {
background-color: rgba(0, 0, 0, 0.5); /* Dark transparent overlay */
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1; /* Place it behind the content */
}
/* Styling for the header */
header {
background-color: rgba(52, 152, 219, 0.9); /* Changed to a soft blue color */
color: #fff;
padding: 20px 0;
text-align: center;
font-size: 2em;
border-bottom: 5px solid #2980b9;
}
/* Styling for the navigation bar */
nav ul {
background-color: rgba(41, 128, 185, 0.9); /* Semi-transparent background */
overflow: hidden;
color: #fff;
padding: 0;
text-align: center;
margin: 0;
list-style: none;
}
nav ul li {
display: inline;
padding: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
font-size: 1.2em;
}
nav ul li a:hover {
background-color: #3498db;
padding: 20px;
border-radius: 10px;
}
/* Styling for the main content */
main {
padding: 20px;
background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
margin: 20px;
border-radius: 15px;
min-height: 1000px; /* Ensure the page is long */
}
/* Styling for sections */
section {
margin-bottom: 20px;
}
section h2 {
font-size: 1.8em;
color: #e74c3c;
border-bottom: 2px solid #c0392b;
padding-bottom: 10px;
}
/* Styling for the footer */
footer {
background-color: rgba(52, 73, 94, 0.9); /* Semi-transparent background */
color: #fff;
text-align: center;
padding: 10px 0;
border-top: 5px solid #2c3e50;
position: fixed;
width: 100%;
bottom: 0;
}