diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..92e7119 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,27 @@ +# nextDESIGN v9 + +## Version 9.4 (2021-08-18) + +- Adjusted font sizes +- Justified text alignment +- Make "read more posts" link on main page a button +- Get about text through variable +- Rework "commenting" system + +## Version 9.3 (2021-05-04) + +- Added Plausible analytics script +- Switched monospace font from Hermit to JetBrains Mono + +## Version 9.2 (2020-09-23) + +- Provide dark color scheme + +## Version 9.1.1 (2020-08-29) + +- Add link to Gitea +- Reorder "other places" section + +## Version 9.1 (2020-05-15) + +- Initial release diff --git a/LICENSE b/LICENSE index b3b18bb..00a39a9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Marcel Kapfer +Copyright (c) 2020-2021 Marcel Kapfer Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/assets/css/main.scss b/assets/css/main.scss index 93258cc..7985295 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -31,14 +31,21 @@ $s-content: 1000px; $s-nav-title: 24px; $s-border: 2px; $s-border-radius: 2px; +$s-comment-margin-top: 60px; +$s-font-size: 18px; $p-box-shadow: 1px 1px 5px #888; +html { + font-size: $s-font-size; +} + body { background-color: $c-bg; color: $c-font; font-family: "Raleway", sans-serif; line-height: 1.5; + text-align: justify; @media (prefers-color-scheme: dark) { background-color: $c-bg-inv; @@ -151,7 +158,7 @@ main { } h1, h2 { - font-size: 3em; + font-size: 3rem; margin: 20px 0 0; padding: 0; text-decoration: underline; @@ -164,7 +171,7 @@ main { } h2 { - font-size: 2em; + font-size: 2rem; margin: 40px 0 0; text-decoration-thickness: 3px; @@ -183,6 +190,14 @@ main { } } + h3 { + font-size: 1.3rem; + } + + h4 { + font-size: 1.1rem; + } + figure { margin: 0; @@ -236,13 +251,18 @@ main { } } - .comment-notice { - margin-top: 50px; - font-size: 14px; + .comment { + font-size: 0.95rem; + margin-top: $s-comment-margin-top; + text-align: center; + + a { + font-size: 1.1rem; + } } #tags > a, #categories > a { - font-size: 14px; + font-size: 0.9rem; color: #fff; padding: 4px 8px; border-radius: 20px; diff --git a/layouts/_default/single.html b/layouts/_default/single.html index ece5c43..ca2117a 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -21,9 +21,10 @@

{{ .Content }} - {{ with .Site.Params.comment.commentmail }} -

- If you would like to comment on this post, feel free to write me a mail at {{ . }}! -

+ {{ if .Site.Params.comment.comments }} +
+

I would like to hear what you think about this post. Feel free to write me a mail!

+ Reply by mail +
{{ end }} {{ end }} diff --git a/layouts/index.html b/layouts/index.html index b88a3b7..9c61cbd 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,12 +1,12 @@ {{ define "main" }}

{{ .Site.Title }}

-

I compose music and write stuff

+

{{ .Site.Params.about }}

{{ .Content }} -

Read more from me

+

Read more from me

{{ with .Site.GetPage "/about" }} More about me @@ -20,7 +20,7 @@ My projects {{ end }} -

Find me on other places

+

Find me on other places

{{ with .OutputFormats.Get "rss" }} RSS Feed @@ -38,7 +38,7 @@ Repos on GitLab {{- end -}} -

Latest Post

+

Latest Posts

{{ range first 3 .Site.RegularPages }}
@@ -48,6 +48,6 @@ {{ end }} {{ with .Site.GetPage "/blog" }} - Read more posts + Read more posts {{ end }} {{ end }} diff --git a/theme.toml b/theme.toml index ee32682..79f5773 100644 --- a/theme.toml +++ b/theme.toml @@ -1,14 +1,11 @@ -# theme.toml template for a Hugo theme -# See https://github.com/gohugoio/hugoThemes#themetoml for an example - name = "nextDESIGN" license = "MIT" -licenselink = "https://gitlab.com/mmk2410/nextDESIGN/blob/master/LICENSE" +licenselink = "https://gitlab.com/mmk2410/nextDESIGN/blob/main/LICENSE" description = "Simple design created for mmk2410.org" homepage = "https://mmk2410.org/" tags = [] features = [] -min_version = "0.41.0" +min_version = "0.87.0" [author] name = "Marcel Kapfer"