-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
176 lines (149 loc) · 2.78 KB
/
styles.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
body {
font-family: Arial, sans-serif;
background-color: #f0f8ff;
color: #333;
margin: 0;
padding-top: 70px; /* Adjust this value to match the height of your fixed navbar plus some extra space */
}
nav {
background-color: #333;
padding: 10px 0;
text-align: center;
position: fixed;
width: 100%;
top: 0;
left: 0;
z-index: 1000;
}
nav a {
color: white;
margin: 0 15px;
text-decoration: none;
font-size: 1.2em;
}
header {
background-image: url('dosomethinggreat.jpg');
background-size: cover;
background-position: center;
color: white;
padding: 60px 0;
text-align: center;
}
header h1 {
font-size: 2.5em;
}
header p {
font-size: 1.2em;
}
header .quote {
font-style: italic;
margin: 20px 0;
text-align: center;
}
.content {
max-width: 800px;
margin: 20px auto;
background: white;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.content h2 {
margin-top: 0;
}
.content img {
max-width: 100%;
}
table {
width: 100%;
border-collapse: collapse;
}
table, th, td {
border: 1px solid #ddd;
padding: 8px;
}
th {
background-color: #f2f2f2;
text-align: left;
}
.social-media {
text-align: center;
margin: 20px 0;
}
.social-media a {
margin: 0 10px;
text-decoration: none;
}
.social-media img {
width: 40px;
height: 40px;
}
footer {
margin-top: 20px;
padding: 10px 0;
background-color: #333;
color: white;
text-align: center;
}
/* Modal styles */
.modal {
display: none;
position: fixed;
z-index: 1001;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
padding-top: 60px;
}
.modal-content {
background-color: #fefefe;
margin: 5% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 600px;
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
/* Buffer class for in-page links */
.buffer {
padding-top: 70px; /* Adjust this value to match the height of your fixed navbar */
margin-top: -70px; /* Adjust this value to match the height of your fixed navbar */
}
/* Responsive styles */
@media (max-width: 768px) {
header {
padding: 40px 0;
}
header h1 {
font-size: 2em;
}
header p {
font-size: 1em;
}
}
@media (max-width: 480px) {
header {
padding: 30px 0;
background-size: contain; /* Ensures the image scales down properly */
}
header h1 {
font-size: 1.5em;
}
header p {
font-size: 0.9em;
}
}