diff --git a/public/style.css b/public/style.css index 82903c9e..9156c60e 100644 --- a/public/style.css +++ b/public/style.css @@ -7183,10 +7183,12 @@ code { --notice-warn-color: #aa7d30; --notice-failure-color: #b42222; --spoiler-border: #aaa; + --site-width: 80rem; + --site-width-narrow: 60rem; } @media (prefers-color-scheme: dark) { :root { - --background-color: #202020; + --background-color: #2f2f2f; --color: #eee; --link-color: #cc3b95; --dim-color: #bbb; @@ -7202,6 +7204,7 @@ code { --main-background-color-transparent: rgba(#202020, 0); --card-background: #494949; --card-background-hover: #333; + --card-background-transparent: #242424D8; --dim-background: #252525; --dim-background-transparent: rgba(#252525, 0); --forum-thread-read-color: #777; @@ -7226,7 +7229,7 @@ br { body { background-color: var(--background-color); color: var(--color); - font-family: "Fira Sans", sans-serif; + font-family: "Inter", sans-serif; min-height: 100vh; box-sizing: border-box; } @@ -7242,6 +7245,9 @@ a.external::after, content: " 1"; vertical-align: middle; } +.link--normal { + --link-color: var(--color); +} b, strong { font-weight: 500; @@ -7374,7 +7380,10 @@ pre, font-size: 0.65rem; } .mw-site { - max-width: 80rem; + max-width: var(--site-width); +} +.mw-site-narrow { + max-width: var(--site-width-narrow); } .mh-3 { max-height: var(--height-3); @@ -7496,6 +7505,12 @@ pre, .hide-if-empty:empty { display: none !important; } +.fill-current { + fill: currentColor; +} +.rot-180 { + transform: rotate(180deg); +} @media screen and (min-width: 35em) { .bi-avoid-ns { break-inside: avoid; @@ -8475,18 +8490,13 @@ span.icon-rss::before { .project-card { color: var(--fg-font-color); background-color: var(--card-background); - border-color: var(--project-card-border-color); - transition: box-shadow 0.2s, background-color 0.2s; +} +.project-card.project-card-black { + background-color: var(--card-background-transparent); } .slideshow .project-card { margin-top: 8px; } -.project-card:hover { - background-color: var(--card-background-hover); -} -.project-card:hover > .title { - text-decoration: underline; -} .project-card .image-container { --image-size: 8rem; width: var(--image-size); @@ -8498,9 +8508,6 @@ span.icon-rss::before { top: 0; bottom: 0; } -.project-card .details { - transition: background-color 0.2s; -} .project-card .badges:empty { display: none; } @@ -8537,6 +8544,9 @@ span.icon-rss::before { max-width: 100%; max-height: 80vh; } +.timeline-item .avatar { + width: 2.5rem; +} .timeline-modal .container { max-height: 100vh; max-width: 100%; diff --git a/src/rawdata/scss/core.css b/src/rawdata/scss/core.css index 25060bb5..9187878d 100644 --- a/src/rawdata/scss/core.css +++ b/src/rawdata/scss/core.css @@ -13,7 +13,7 @@ br { body { background-color: var(--background-color); color: var(--color); - font-family: "Fira Sans", sans-serif; + font-family: "Inter", sans-serif; min-height: 100vh; box-sizing: border-box; } @@ -31,6 +31,10 @@ a, } } +.link--normal { + --link-color: var(--color); +} + b, strong { font-weight: 500; @@ -209,7 +213,11 @@ pre, } .mw-site { - max-width: 80rem; + max-width: var(--site-width); +} + +.mw-site-narrow { + max-width: var(--site-width-narrow); } .mh-3 { @@ -372,6 +380,14 @@ pre, display: none !important; } +.fill-current { + fill: currentColor; +} + +.rot-180 { + transform: rotate(180deg); +} + @media screen and (min-width: 35em) { .bi-avoid-ns { break-inside: avoid; diff --git a/src/rawdata/scss/projects.css b/src/rawdata/scss/projects.css index cc1ce11b..80706247 100644 --- a/src/rawdata/scss/projects.css +++ b/src/rawdata/scss/projects.css @@ -53,22 +53,15 @@ .project-card { color: var(--fg-font-color); background-color: var(--card-background); - border-color: var(--project-card-border-color); - transition: box-shadow 0.2s, background-color 0.2s; + &.project-card-black { + background-color: var(--card-background-transparent); + } .slideshow & { margin-top: 8px; } - &:hover { - background-color: var(--card-background-hover); - - &>.title { - text-decoration: underline; - } - } - .image-container { --image-size: 8rem; @@ -83,11 +76,6 @@ } } - .details { - /* Background color given by theme */ - transition: background-color 0.2s; - } - .badges:empty { display: none; } diff --git a/src/rawdata/scss/timeline.css b/src/rawdata/scss/timeline.css index 84b6b18d..ed67dd88 100644 --- a/src/rawdata/scss/timeline.css +++ b/src/rawdata/scss/timeline.css @@ -22,6 +22,11 @@ max-height: 80vh; } } + + .avatar { + /* 40px */ + width: 2.5rem; + } } .timeline-modal { diff --git a/src/rawdata/scss/vars.css b/src/rawdata/scss/vars.css index 5e0f29da..9bfbe3ee 100644 --- a/src/rawdata/scss/vars.css +++ b/src/rawdata/scss/vars.css @@ -47,11 +47,14 @@ $breakpoint-large: screen and (min-width: 60em) --notice-failure-color: #b42222; --spoiler-border: #aaa; + + --site-width: 80rem; + --site-width-narrow: 60rem; } @media (prefers-color-scheme: dark) { :root { - --background-color: #202020; + --background-color: #2f2f2f; --color: #eee; --link-color: #cc3b95; @@ -73,6 +76,7 @@ $breakpoint-large: screen and (min-width: 60em) /* --card-background: #282828; */ --card-background: #494949; --card-background-hover: #333; + --card-background-transparent: #242424D8; --dim-background: #252525; --dim-background-transparent: rgba(#252525, 0); diff --git a/src/templates/src/include/footer-2024.html b/src/templates/src/include/footer-2024.html index 10d36ca9..afeae00a 100644 --- a/src/templates/src/include/footer-2024.html +++ b/src/templates/src/include/footer-2024.html @@ -1,5 +1,5 @@ diff --git a/src/templates/src/include/header-2024.html b/src/templates/src/include/header-2024.html index 2ef47f60..1a0314d5 100644 --- a/src/templates/src/include/header-2024.html +++ b/src/templates/src/include/header-2024.html @@ -1,4 +1,4 @@ -