-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
76 lines (65 loc) · 1.2 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/* General Styles */
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-color: #f4f4f4;
color: #333;
}
/* Header */
header {
position: sticky;
top: 0;
background: #b8860b; /* Dark blue background */
color: white;
z-index: 1000; /* Ensures the header stays above other elements */
text-align: center;
padding: 1rem 0;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for better visibility */
}
header h1 {
margin: 0;
font-size: 2.5rem;
}
header p {
font-size: 1.2rem;
margin: 0.5rem 0;
}
header nav {
margin-top: 1rem;
}
header nav a {
color: white;
text-decoration: none;
margin: 0 1rem;
font-size: 1rem;
}
header nav a:hover {
text-decoration: underline;
}
/* Main Content */
main {
padding: 1.5rem;
max-width: 800px;
margin: auto;
background: white;
}
section {
margin-bottom: 2rem;
}
h2 {
color: #004080;
border-bottom: 2px solid #f4f4f4;
padding-bottom: 0.5rem;
}
/* Footer */
footer {
background: #b8860b;
color: white;
text-align: center;
padding: 1rem 0;
position: fixed;
bottom: 0;
width: 100%;
}