summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-23 22:55:25 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-23 22:55:25 +0200
commit1ae282f091aa77990efec98c7ba00b91d427819d (patch)
treeb7577c6a893b6c8ad1b81089a9e296fd7648e22c /public
parentc9a27bf83f2421fb794d053ea3e3bdc8bd18d155 (diff)
More tiny visual cleanups
Diffstat (limited to 'public')
-rw-r--r--public/stylesheets/ccc.css66
1 files changed, 36 insertions, 30 deletions
diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css
index 50b20b22..1f8ef7d9 100644
--- a/public/stylesheets/ccc.css
+++ b/public/stylesheets/ccc.css
@@ -327,8 +327,8 @@ div#center_column {
327 327
328/* Footer */ 328/* Footer */
329#footer { 329#footer {
330 border-bottom: 2px solid #aeadad; 330 border-bottom: 1px solid color-mix(in srgb, CanvasText, Canvas 60%);
331 border-top: 2px solid #aeadad; 331 border-top: 1px solid color-mix(in srgb, CanvasText, Canvas 60%);
332 bottom: 0; 332 bottom: 0;
333 color: CanvasText; 333 color: CanvasText;
334} 334}
@@ -391,6 +391,7 @@ div.main_navigation ul {
391 391
392div.main_navigation a { 392div.main_navigation a {
393 text-decoration: none; 393 text-decoration: none;
394 hyphens: none;
394} 395}
395 396
396div.main_navigation a.inactive:hover, div#left_column span.inactive:hover { 397div.main_navigation a.inactive:hover, div#left_column span.inactive:hover {
@@ -542,8 +543,8 @@ div#frontpage_calendar {
542} 543}
543 544
544div#frontpage_calendar h2, div#tags h2, div#featured_articles h2, div#open_erfas_today h2, div.main_navigation h2 { 545div#frontpage_calendar h2, div#tags h2, div#featured_articles h2, div#open_erfas_today h2, div.main_navigation h2 {
545 border-top: 2px solid; 546 border-top: none;
546 border-bottom: 2px solid; 547 border-bottom: 1px solid color-mix(in srgb, CanvasText, Canvas 60%);
547 font-size: 1.1em; 548 font-size: 1.1em;
548 padding-top: 2px; 549 padding-top: 2px;
549 padding-bottom: 2px; 550 padding-bottom: 2px;
@@ -571,19 +572,6 @@ div#open_erfas_today .event_time {
571 color: color-mix(in srgb, CanvasText, #808080); 572 color: color-mix(in srgb, CanvasText, #808080);
572} 573}
573 574
574@media(max-width:1015px) {
575 div#tags li {
576 list-style-type: none;
577 display: inline-block;
578 }
579
580 div#tags li:not(:first-child):before {
581 content: '•';
582 margin-left: .3em;
583 margin-right: .6em;
584 }
585}
586
587@media(min-width:1016px) { 575@media(min-width:1016px) {
588 div#frontpage_calendar h2, div#tags h2, div#featured_articles h2, div#open_erfas_today h2 { 576 div#frontpage_calendar h2, div#tags h2, div#featured_articles h2, div#open_erfas_today h2 {
589 font-size: 1rem; 577 font-size: 1rem;
@@ -603,14 +591,26 @@ div#frontpage_calendar ul, div#tags ul, div#featured_articles ul, div#open_erfas
603 line-height: 1.5em; 591 line-height: 1.5em;
604} 592}
605 593
606/* ODDITY, kept: per-widget icon paddings — delete when these icons rotate 594div#featured_articles ul {
607 out of the featured box */ 595 display: flex;
608div#featured_articles #ds_icon img { 596 flex-wrap: wrap;
609 padding-top: 10px; 597 gap: 10px;
598 align-items: center;
599 padding: 0;
600}
601
602div#featured_articles li {
603 margin: 0;
610} 604}
611 605
612div#featured_articles #events_icon img { 606div#featured_articles img {
613 padding-left: 10px; 607 max-width: 100%;
608 height: auto;
609 opacity: .85;
610}
611
612div#featured_articles a:hover img {
613 opacity: 1;
614} 614}
615 615
616div#frontpage_calendar li { 616div#frontpage_calendar li {
@@ -639,9 +639,16 @@ div#featured_articles img {
639 filter: grayscale(1); 639 filter: grayscale(1);
640} 640}
641 641
642#tags ul li { 642div#tags ul {
643 margin-block-start: 0.5rem; 643 display: flex;
644 margin-block-end: 0.5rem; 644 flex-wrap: wrap;
645 gap: 0.2rem 0.9rem;
646}
647
648div#tags li {
649 list-style-type: none;
650 margin: 0;
651 line-height: 1.4;
645} 652}
646 653
647/* ========================================================================== 654/* ==========================================================================
@@ -671,9 +678,9 @@ div#center_column h2.headline {
671} 678}
672 679
673div#center_column .article_partial h2.headline { 680div#center_column .article_partial h2.headline {
681 border-top: 1px solid color-mix(in srgb, CanvasText, Canvas 70%);
674 padding-top: 30px; 682 padding-top: 30px;
675 margin-bottom: 0.3rem; 683 margin-bottom: 0.3rem;
676 border-top: 2px solid #cccccc;
677} 684}
678 685
679/* except for erfa list */ 686/* except for erfa list */
@@ -703,9 +710,8 @@ div.author_and_date {
703} 710}
704 711
705div.teaser_ruler { 712div.teaser_ruler {
706 border-top: 1px solid #CCCCCC; 713 border-top: 1px solid color-mix(in srgb, CanvasText, Canvas 70%);
707 border-bottom: 1px dashed #CCCCCC; 714 height: 0;
708 height: 3px;
709 margin-top: 30px; 715 margin-top: 30px;
710} 716}
711 717