From d9701e160bea77a3b991889359f63fa63edbebbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 11 Apr 2022 23:13:49 +0300 Subject: [PATCH] a little bit of styling --- content/about.md | 14 ++++++++--- themes/default/layouts/_default/baseof.html | 5 ---- themes/default/static/css/main.css | 26 +++++++++++++++------ 3 files changed, 30 insertions(+), 15 deletions(-) diff --git a/content/about.md b/content/about.md index 99821d3..0ce8b56 100644 --- a/content/about.md +++ b/content/about.md @@ -1,6 +1,14 @@ --- -title: "About" -date: 2022-04-11T22:38:00+03:00 +title: "About me and this site" --- -Fix Me. +- **Email**: [motiejus@jakstys.lt](mailto:motiejus@jakstys.lt) +- **Matrix**: [@motiejus:jakstys.lt](https://matrix.to/#/@motiejus:jakstys.lt) +- **Libera.chat**: motiejus +- **Sourcehut**: [~motiejus](https://sr.ht/~motiejus) +- **PGP**: [6F133A0C1C2848D7](/gpg.txt) +- **Resume**: TBD. I promise I will get it done. + +Unless otherwise stated, ©Motiejus Jakštys. [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/). + +Theme credits go to [github.com/yanlinlin82/simple-style](https://github.com/yanlinlin82/simple-style/). diff --git a/themes/default/layouts/_default/baseof.html b/themes/default/layouts/_default/baseof.html index 8b00d9a..33ade2c 100644 --- a/themes/default/layouts/_default/baseof.html +++ b/themes/default/layouts/_default/baseof.html @@ -37,11 +37,6 @@ {{ block "main" . }}{{- end }} diff --git a/themes/default/static/css/main.css b/themes/default/static/css/main.css index fbb3ef2..6d42094 100644 --- a/themes/default/static/css/main.css +++ b/themes/default/static/css/main.css @@ -34,6 +34,10 @@ header h2 { font-size: 120%; } +main { + padding-bottom: 20px; +} + footer { margin: 0; padding: 10px 0; @@ -215,11 +219,6 @@ nav#TableOfContents:before { font-weight: bold; } -nav#TableOfContents:lang(*-Hans)::before { - content: '目录'; - font-weight: bold; -} - nav#TableOfContents ul { margin: 0; padding-inline-start: 24px; @@ -241,8 +240,7 @@ nav#TableOfContents ul { } } -.title h1, -.title h2 { +.title h1, .title h2 { padding: 0 } @@ -330,4 +328,18 @@ nav#TableOfContents ul { h5 a:hover, h6 a:hover { color: #f80; } + code { + border-color: #333; + background-color: #333; + padding: 1px 2px; + line-height: 200%; + word-wrap: break-word + } + + hr { + background-color: #999; + border: none; + color: #222; + height: 1px; + } }