diff --git a/config.toml b/config.toml index 99783b5..ecab14f 100644 --- a/config.toml +++ b/config.toml @@ -7,7 +7,6 @@ disableKinds = ["taxonomy", "taxonomyTerm", "RSS"] [params] AuthorName = "Elnu" - FontAwesomeKit = "c3c3b565dc" MatomoURL = "matomo.elnu.com" MatomoSiteId = "4" CopyrightStart = 2021 diff --git a/themes/tegakituesday.com/layouts/challenges/single.html b/themes/tegakituesday.com/layouts/challenges/single.html index fb4fb63..33ca65d 100644 --- a/themes/tegakituesday.com/layouts/challenges/single.html +++ b/themes/tegakituesday.com/layouts/challenges/single.html @@ -19,9 +19,9 @@ {{ if .Params.english }} {{ end }} - +
-

Tegaki Tuesday #{{- $current -}}

+

Tegaki Tuesday #{{- $current -}}

()()きの()(よう)()#{{- $current -}}・
{{ if .Params.override }} diff --git a/themes/tegakituesday.com/layouts/partials/head.html b/themes/tegakituesday.com/layouts/partials/head.html index 460fd59..7f6a487 100644 --- a/themes/tegakituesday.com/layouts/partials/head.html +++ b/themes/tegakituesday.com/layouts/partials/head.html @@ -41,5 +41,4 @@ secondary.addEventListener("touchmove", scrollHandler); })(); - diff --git a/themes/tegakituesday.com/layouts/partials/nav.html b/themes/tegakituesday.com/layouts/partials/nav.html index 238b254..635993a 100644 --- a/themes/tegakituesday.com/layouts/partials/nav.html +++ b/themes/tegakituesday.com/layouts/partials/nav.html @@ -1,17 +1,20 @@ \ No newline at end of file + diff --git a/themes/tegakituesday.com/layouts/partials/submission.html b/themes/tegakituesday.com/layouts/partials/submission.html index 43be573..c58b31d 100644 --- a/themes/tegakituesday.com/layouts/partials/submission.html +++ b/themes/tegakituesday.com/layouts/partials/submission.html @@ -3,7 +3,7 @@ {{ if .image }} {{ $thumbnail := .image.Resize "500x" }} -
{{ .submission.username }}{{ if .submission.late }} (Late){{ end }}
+
{{ .submission.username }}{{ if .submission.late }} (Late){{ end }}
{{ else }}
Image not found!
{{ end }} diff --git a/themes/tegakituesday.com/static/css/style.css b/themes/tegakituesday.com/static/css/style.css index 6367a0d..da940ef 100644 --- a/themes/tegakituesday.com/static/css/style.css +++ b/themes/tegakituesday.com/static/css/style.css @@ -429,27 +429,34 @@ h1, h2, h3, h4, h5, h6, b, strong, th { } nav { + position: sticky; + top: -1rem; margin-left: calc(-1 * var(--padding)); margin-right: calc(-1 * var(--padding)); margin-top: calc(-1 * var(--padding)); font-family: 'Patrick Hand'; font-size: 1.5em; - display: flex; background-color: var(--nav); - /* background-image: url("/ink.svg"), repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(60, 56, 54, 0.5) 35px, rgba(60, 56, 54, 0.5) 70px); */ - background-repeat: no-repeat, repeat; - background-position: right; - align-items: center; box-shadow: 0 4px 4px 0 rgba(0,0,0,.25); z-index: 999; -} + display: inline; + text-align: center; -.title { - display: block; padding-top: 0.5em; padding-bottom: 0.5em; - width: 100%; - text-align: center; +} + +nav form { + position: absolute; + left: 0; + right: 0; + margin-left: auto; + margin-right: auto; + pointer-events: none; +} + +nav * { + pointer-events: auto; } .nav-button { @@ -458,9 +465,9 @@ nav { color: var(--button-text); padding-left: 0.25em; padding-right: 0.25em; - display: flex; + /* display: flex; align-items: center; - justify-content: center; + justify-content: center; */ border: none !important; } @@ -469,6 +476,7 @@ nav { border-top-right-radius: 0.25em; border-bottom-right-radius: 0.25em; box-shadow: 4px 0 var(--gb-dm-bg0-hard); + float: left; } .nav-button:last-child { @@ -476,6 +484,7 @@ nav { border-top-left-radius: 0.25em; border-bottom-left-radius: 0.25em; box-shadow: -4px 0 var(--gb-dm-bg0-hard); + float: right; } figure a { @@ -511,11 +520,11 @@ figcaption span { opacity: 0.625; } -figure, figure img { +figure, figure img:not(.svg-inline) { border-radius: 0.25em; } -figure img { +figure img:not(.svg-inline) { width: 100%; box-sizing: border-box; border: none !important; @@ -584,7 +593,7 @@ a:hover, a:hover .underline { border-bottom: 2px solid; } -a:hover img { +a:hover img:not(.svg-inline) { filter: brightness(1.25); } @@ -779,7 +788,7 @@ button, .action-button a { box-shadow: 4px 4px var(--action-button-shadow); } -#content img { +#content img:not(.svg-inline) { max-width: 100%; background: var(--background-1); border-radius: 0.15em; @@ -799,7 +808,7 @@ button, .action-button a { display: inline !important; } -#content > div:last-child img { +#content > div:last-child img:not(.svg-inline) { background: var(--background-2) !important; } @@ -827,7 +836,7 @@ h1:first-child { width: 1.5em; height: 1.5em; margin: 0; - display: inline; + display: inline !important; vertical-align: bottom; } @@ -852,3 +861,33 @@ footer img { display: none; } } + +input[type=number] { + font-family: inherit; + font-size: inherit; + color: inherit; + background: var(--background-2); + border-radius: 0.25em; + width: 2em; + border: none; + text-align: center; +} + +input[type=number]:focus { + outline: 2px solid var(--foreground-dim) !important; +} + +nav input[type=number] { + -moz-appearance: textfield; +} + +nav input::-webkit-outer-spin-button, +nav input::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.svg-inline { + height: 1em; + vertical-align: -0.125em; +} diff --git a/themes/tegakituesday.com/static/discord.svg b/themes/tegakituesday.com/static/discord.svg new file mode 100644 index 0000000..ca65400 --- /dev/null +++ b/themes/tegakituesday.com/static/discord.svg @@ -0,0 +1 @@ + \ No newline at end of file