-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
290 lines (243 loc) · 5.14 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Set HTML and body to 100% height to allow flexbox to work */
html, body {
height: 100%;
}
body {
font-family: "Source Code Pro", monospace;
line-height: 1.6;
background-color: #f4f4f4;
color: #333;
text-align: center;
display: flex;
flex-direction: column; /* Make the body a flex container */
min-height: 100vh; /* Ensure it takes up at least the full viewport height */
}
/* Ensure main content takes up the remaining space */
main {
flex: 1; /* This allows the main content to expand and push the footer down */
max-width: 1020px;
margin: 40px auto;
padding: 0 20px;
}
header {
padding: 50px 20px;
background-color: #fff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
/* Styles for the "Updated Weekly" text */
.updated-weekly-text {
font-size: 0.9rem; /* Smaller font size */
color: #666; /* Lighter text color */
margin-top: 10px; /* Space between the subtitle and this text */
font-style: italic; /* Make it italic if desired */
}
header h1, header p {
margin: 0;
}
header h1 {
font-size: 2.5rem;
margin-bottom: 10px;
}
header p {
font-size: 1rem;
color: #666;
}
/* Blog List */
.blog-list {
display: grid;
grid-template-columns: 1fr;
gap: 20px;
}
.blog-post {
text-align: left;
}
.blog-list a {
display: flex;
flex-direction: column;
align-items: flex-start;
text-decoration: none;
color: inherit;
}
.blog-list a p {
margin-bottom: 5px;
font-size: 0.9rem;
color: #777;
}
.blog-list a img {
max-width: 100%;
height: auto;
border-radius: 5px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.blog-list a img:hover {
transform: scale(1.01);
}
.image-title {
text-align: left;
font-size: 0.9rem;
margin-top: 5px;
color: #333;
}
/* Awards Page */
.awards-container {
max-width: 100%;
margin: 10px auto;
padding: 0 20px;
text-align: left;
}
.award-list {
list-style-type: none;
padding: 0;
margin: 0;
}
.award-item {
padding: 15px 0;
border-bottom: 1px solid #e0e0e0;
}
.award-item:last-child {
border-bottom: none;
}
.award-link {
text-decoration: none;
color: #333;
font-size: 1.2rem;
font-family: 'Source Code Pro', monospace;
transition: color 0.3s ease;
}
.award-link:hover {
color: #000;
}
/* Enter Now and Deadline positioning */
.entry-deadline-section {
margin-top: 5px;
font-size: 0.85rem;
font-family: 'Source Code Pro', monospace;
}
.latest-opening-entry-link {
font-size: 0.85rem;
color: #337ab7;
text-decoration: none;
display: block;
margin-bottom: 2px;
}
.deadline-text {
font-size: 0.85rem;
}
.deadline-expired {
color: red;
}
.deadline-active {
color: green;
}
/* Grey out N/A fields */
.latest-opening-entry-link[style="color: grey"] {
color: grey !important;
}
.deadline-text[style="color: grey"] {
color: grey !important;
}
/* Style for the last update text */
.last-update {
text-align: left; /* Align the text to the right */
margin-bottom: 10px; /* Add some space below it before the awards container */
margin-right: 10px; /* Slight padding on the right */
}
.last-update p {
font-size: 0.85rem; /* Smaller font size */
color: #666; /* Lighter text color */
font-style: italic; /* Make it italic for subtle emphasis */
}
/* Footer Styles */
footer {
padding: 20px;
font-size: 0.9rem;
background-color: #3e3939;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
text-align: center;
color: #fff;
margin-top: 40px;
}
.footer-links {
list-style: none;
padding: 0;
}
.footer-links li {
display: inline-block;
margin-right: 10px;
}
.footer-links a {
color: #e6e6e6;
text-decoration: none;
transition: color 0.3s ease-in-out;
}
.footer-links a:hover {
color: #848484;
}
/* Map Styles */
.map-container {
position: relative;
}
.map-image {
width: 100%;
height: auto;
}
.location-map {
max-width: 1000px;
margin: 0 auto;
}
#basicMap {
width: 100%;
height: 400px;
}
/* Custom style for the map to make it black and white */
.ol-layer {
filter: grayscale(100%);
}
/* Font Classes */
.source-code-pro-light {
font-family: "Source Code Pro", monospace;
font-weight: 200;
}
.source-code-pro-regular {
font-family: "Source Code Pro", monospace;
font-weight: 400;
}
.source-code-pro-medium {
font-family: "Source Code Pro", monospace;
font-weight: 500;
}
.source-code-pro-bold {
font-family: "Source Code Pro", monospace;
font-weight: 700;
}
.footer-links li a.photowards-link {
color: #ff2222;
text-decoration: none;
}
.footer-links li a.photowards-link:hover {
color: #dc7c5f; /* Optional: Change color on hover */
}
.pagination {
text-align: center;
margin-top: 20px;
}
.pagination-button {
margin: 0 5px;
padding: 5px 10px;
border: none;
background-color: #ddd;
cursor: pointer;
}
.pagination-button.active {
font-weight: bold;
background-color: #666;
color: #fff;
}