summaryrefslogtreecommitdiff
path: root/public/stylesheets/ccc.css
diff options
context:
space:
mode:
Diffstat (limited to 'public/stylesheets/ccc.css')
-rw-r--r--public/stylesheets/ccc.css306
1 files changed, 230 insertions, 76 deletions
diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css
index 9d9054f0..c782b1f9 100644
--- a/public/stylesheets/ccc.css
+++ b/public/stylesheets/ccc.css
@@ -1,29 +1,51 @@
1body { 1body {
2 background-color: #FFFFFF;
3 margin: 0; 2 margin: 0;
4 padding: 0; 3 padding: 0;
5 text-align: center; 4 text-align: center;
6 font-family: Verdana, Helvetica, Arial, sans-serif; 5 font-family: Verdana, Helvetica, Arial, sans-serif;
7 font-size: 11px; 6 background-color: Canvas;
8 line-height: 16px; 7 hyphens: auto;
9 background-color: #ffffff; 8 color: color-mix(in srgb, CanvasText, #808080 30%);
10 color: #535353; 9 color-scheme: light dark;
10}
11
12body:has(#light-mode:checked) {
13 color-scheme: light;
14}
15
16@media (prefers-color-scheme: light) {
17#light-mode-li, #light-mode, label[for=light-mode] {
18 display: none;
19}
20}
21
22@media (prefers-color-scheme: dark) {
23body:not(:has(#light-mode:checked)) #header img,
24body:not(:has(#light-mode:checked)) div#left_column::before
25{
26 filter: invert(50%);
27}
11} 28}
12 29
13div#header { 30p {
14 height: 224px; 31 line-height: 1.5em;
32}
33
34img {
35 max-width: 100%;
15} 36}
16 37
17div#header img { 38div#header img {
18 border: none; 39 border: none;
19} 40}
20 41
21div#wrapper { 42@media(min-width:1016px) {
22 position: relative; 43 div#wrapper {
23 width: 909px; 44 position: relative;
24 margin-left: 90px; 45 width: 909px;
25 text-align: left; 46 margin: 0 auto 0 auto;
26 min-height: 750px; 47 text-align: left;
48 }
27} 49}
28 50
29pre { 51pre {
@@ -52,18 +74,17 @@ a:hover {
52/*------------------headlines-------------------*/ 74/*------------------headlines-------------------*/
53 75
54h2 { 76h2 {
55 font-size: 15px; 77 font-size: 1.5rem;
56 line-height: 20px; 78 font-family: Helvetica, Arial, sans-serif;
57 font-family: Helvetica;
58} 79}
59 80
60div#center_column h2 a { 81div#center_column h2 a {
61 color: #535353; 82 color: color-mix(in srgb, CanvasText, #808080 80%);
62 text-decoration: none; 83 text-decoration: none;
63} 84}
64 85
65div#center_column h2 a:hover { 86div#center_column h2 a:hover {
66 color: #8e8e8e; 87 color: color-mix(in srgb, CanvasText, #808080 10%);
67} 88}
68 89
69div#center_column h2.headline { 90div#center_column h2.headline {
@@ -77,31 +98,65 @@ div.article_partial h2 a {
77} 98}
78 99
79h3 { 100h3 {
80 font-size: 13px; 101 font-size: 1.3rem;
81 text-decoration: none; 102 text-decoration: none;
82 103
83} 104}
84 105
85h4 { 106h4 {
86 font-size: 11px; 107 font-size: 1.0rem;
87 text-decoration: bold; 108 text-decoration: bold;
88} 109}
89 110
111#left_column {
112 font-size: .8em;
113 line-height: 1.5em;
114}
115
90/*------------------main-navigation-------------------*/ 116/*------------------main-navigation-------------------*/
91 117
92div.main_navigation ul { 118div.main_navigation ul {
93 margin-left: 0; 119 margin-left: 0;
94 padding-left: 0; 120 padding-left: 0;
95 line-height: 18px; 121 padding-left: 15px;
122 padding-right: 15px;
123 text-align: left;
96} 124}
97 125
98div.main_navigation li { 126div.main_navigation li {
99 list-style-type: none; 127 list-style-type: none;
128 display: inline-block;
129 line-height: 1.75em;
130}
131
132div.main_navigation li::after {
133 content: '-';
134 color: #aeadad;
135 margin-left: .3em;
136}
137
138div.main_navigation li:last-child::after {
139 content: none;
140}
141
142@media(min-width:1016px) {
143 div.main_navigation ul {
144 padding: 0;
145 text-align: right;
146 }
147
148 div.main_navigation li {
149 display: block;
150 line-height: 1.45em;
151 }
152
153 div.main_navigation li::after {
154 content: none;
155 }
100} 156}
101 157
102div.main_navigation a { 158div.main_navigation a {
103 text-decoration: none; 159 text-decoration: none;
104 font-size: 14px;
105} 160}
106 161
107div.main_navigation a.inactive:hover { 162div.main_navigation a.inactive:hover {
@@ -109,34 +164,68 @@ div.main_navigation a.inactive:hover {
109} 164}
110 165
111div.main_navigation a.active { 166div.main_navigation a.active {
112 color: #000000; 167 color: CanvasText;
113 text-decoration: none; 168 text-decoration: none;
114 font-size: 13px;
115} 169}
116 170
117div.main_navigation a.inactive { 171div.main_navigation a.inactive {
118 color: #aeadad; 172 color: #aeadad;
119 font-size: 13px;
120} 173}
121 174
122/*------------------calendar-featured-tags-------------------*/ 175/*------------------calendar-featured-tags-------------------*/
123 176
124div#frontpage_calendar { 177div#frontpage_calendar {
125 margin-top: 30px; 178 display: none;
179 margin-top: 10px;
180}
181
182@media(min-width:1016px) {
183 div#frontpage_calendar {
184 margin-top: 30px;
185 }
126} 186}
127 187
128div#frontpage_calendar h2, div#tags h2, div#featured_articles h2 { 188div#frontpage_calendar h2, div#tags h2, div#featured_articles h2 {
129 color: #aeadad; 189 color: #aeadad;
130 border-top: 2px solid #aeadad; 190 border-top: 2px solid #aeadad;
131 border-bottom: 2px solid #aeadad; 191 border-bottom: 2px solid #aeadad;
132 font-size: 16px; 192 font-size: 1.1em;
133 padding-top: 2px; 193 padding-top: 2px;
134 padding-bottom: 2px; 194 padding-bottom: 2px;
135} 195}
136 196
197div#frontpage_calendar h2 {
198 display: none;
199 border-top: none;
200 margin-left: auto;
201 margin-right: auto;
202 padding-left: 0.5em;
203 padding-right: 0.5em;
204 margin-top: 0;
205}
206
207@media(min-width:1016px) {
208 div#frontpage_calendar h2, div#tags h2, div#featured_articles h2 {
209 font-size: 16px;
210 }
211
212 div#frontpage_calendar h2 {
213 display: block;
214 border-top: 2px solid #aeadad;
215 padding: 2px 0;
216 }
217}
218
137div#frontpage_calendar ul, div#tags ul, div#featured_articles ul { 219div#frontpage_calendar ul, div#tags ul, div#featured_articles ul {
138 padding: 0px; 220 padding: 0px;
139 font-size: 11px; 221 font-size: 0.8em;
222 line-height: 1.5em;
223}
224
225@media(min-width:1016px) {
226 div#tags ul {
227 font-size: 0.8rem;
228 }
140} 229}
141 230
142div#featured_articles #ds_icon img { 231div#featured_articles #ds_icon img {
@@ -171,40 +260,63 @@ div#featured_articles li a:hover {
171 260
172div.author_and_date { 261div.author_and_date {
173 font-style: italic; 262 font-style: italic;
174 padding-left: 15px; 263 padding-left: 2em;
175 font-family: Georgia; 264 font-family: Georgia;
176} 265}
177 266
178div#left_column { 267@media(min-width:1016px) {
179 position: absolute; 268 div#left_column::before {
180 background-image: url(/images/left_column.png); 269 content: " ";
181 background-position: top right; 270 position: absolute;
182 background-repeat: no-repeat; 271 left: 0;
183 left: 0px; 272 top: 0;
184 width: 115px; 273 width: 100%;
185 min-height: 100px; 274 height: 100%;
186 text-align: right; 275 box-sizing: border-box;
187 padding-right: 70px; 276 background-image: url(/images/left_column.png);
277 background-position: top right;
278 background-repeat: no-repeat;
279 z-index: -10;
280 }
281 div#left_column {
282 position: absolute;
283 left: 0px;
284 width: 115px;
285 min-height: 100px;
286 text-align: right;
287 padding-right: 70px;
288 }
289
290 div#left_column > a {
291 font-size: 0.8rem;
292 }
188} 293}
189 294
190 295
191div#center_column { 296div#center_column {
192 position: absolute;
193 background-color: #ffffff;
194 left: 200px;
195 width: 460px;
196 padding-left: 15px; 297 padding-left: 15px;
197 padding-right: 15px; 298 padding-right: 15px;
198 padding-bottom: 0px; 299 padding-bottom: 40px;
199} 300}
200 301
201div#right_column { 302@media(min-width: 1016px) {
202 position: absolute; 303 div#center_column {
203 background-color: #ffffff; 304 position: absolute;
204 padding-left: 70px; 305 background-color: Canvas;
205 left: 675px; 306 left: 200px;
206 width: 155px; 307 width: 460px;
207 height: 100px; 308 }
309}
310
311@media(min-width:1016px) {
312 div#right_column {
313 position: absolute;
314 background-color: Canvas;
315 padding-left: 70px;
316 left: 675px;
317 width: 155px;
318 height: 100px;
319 }
208} 320}
209 321
210div.teaser_ruler { 322div.teaser_ruler {
@@ -220,21 +332,26 @@ div.article_partial {
220 332
221 333
222div.article_partial p.excerpt { 334div.article_partial p.excerpt {
223 color: #404040; 335 color: color-mix(in srgb, CanvasText, #808080 50%);
224} 336}
225 337
226div#center_column div.body, 338/* Search bar */
227div#center_column div.abstract { 339#search form table {
228 font-size: 11px; 340 display: inline-table;
229 line-height: 16px;
230} 341}
231 342
232div#search { 343@media(min-width:1016px) {
233 position: absolute; 344 #search form table {
234 top: 145px; 345 display: table;
235 left: 676px; 346 }
236 height: 20px; 347
237 vertical-align: top; 348 div#search {
349 position: absolute;
350 top: 145px;
351 left: 676px;
352 height: 20px;
353 vertical-align: top;
354 }
238} 355}
239 356
240div#search input[type=button] { 357div#search input[type=button] {
@@ -249,24 +366,61 @@ div#search input[type=text] {
249 height: 20px; 366 height: 20px;
250 width: 132px; 367 width: 132px;
251 line-height: 20px; 368 line-height: 20px;
252 border: none; 369 border: solid Canvas 1px;
370 border-radius: 5px;
253 background-image: url(/images/search_field.png); 371 background-image: url(/images/search_field.png);
254 background-repeat:no-repeat; 372 background-repeat:no-repeat;
255 padding-right: 5px;
256 margin-right: 5px; 373 margin-right: 5px;
257 background-position: top top; 374 text-indent: 0.5rem;
375 background-position: top;
376 color: #000;
258} 377}
259 378
260div#footer { 379/* Header */
261 position: relative; 380#header > a {
262 width: 1024px; 381 display: block;
263 height: 240px; 382 line-height: 0;
264 background-image: url(/images/footer.png);
265 background-repeat: no-repeat;
266} 383}
267 384
268p#quote { 385/* Main section */
269 position: absolute; 386.article, .article_partial {
270 left: 320px; 387 font-size: .9rem;
271 top: 90px; 388 text-align: left;
272} \ No newline at end of file 389}
390
391/*
392@media(min-width:1016px) {
393 .article, .article_partial {
394 font-size: 11px;
395 }
396}
397*/
398
399h1, h2, h3 {
400 word-wrap: anywhere;
401 hyphens:auto;
402}
403
404.pagination {
405 margin-bottom: .5em;
406}
407
408li {
409 line-height: 1.5em;
410 margin-block-start: 1em;
411 margin-block-end: 1em;
412}
413
414/* Footer */
415#footer {
416 border-bottom: 2px solid #aeadad;
417 border-top: 2px solid #aeadad;
418}
419
420#footer > br {
421 display: none;
422}
423
424#footer p {
425 margin: .5em auto;
426}