From eef539a20e914f66480751239ea84cbaf23565c5 Mon Sep 17 00:00:00 2001 From: Fliegerjohn Date: Fri, 1 Nov 2024 10:33:36 +0100 Subject: [PATCH 1/3] update License --- LICENSE.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LICENSE.md b/LICENSE.md index 630c225..83861e5 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -4,6 +4,8 @@ Copyright (c) 2016 Vimux Copyright (c) 2020 colorchestra +Copyright (c) 2024 fliegerjohn + 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 the Software without restriction, including without limitation the rights to From 874809c58842a841764bda721d34cd3eceb3b959 Mon Sep 17 00:00:00 2001 From: Fliegerjohn Date: Fri, 1 Nov 2024 10:41:32 +0100 Subject: [PATCH 2/3] Update Readme --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ccceb37..c1b2271 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # smol -A minimal, monospaced blogging theme for Hugo that respects your privacy and is easy on your bandwidth. A demo can be found at https://smol-demo.morph.sh. +A minimal, monospaced blogging theme for Hugo that respects your privacy and is easy on your bandwidth. smol is based on [Blank](https://github.com/Vimux/Blank) created by [Vimux](https://github.com/Vimux). @@ -19,7 +19,7 @@ smol is based on [Blank](https://github.com/Vimux/Blank) created by [Vimux](http In your Hugo site `themes` directory, run: ``` -git clone https://github.com/colorchestra/smol +git clone https://git.datenkastl.org/fliegerjohn/smol.git ``` Next, open `config.toml` in the base of the Hugo site and ensure the theme option is set to `smol`. @@ -85,8 +85,13 @@ You can add captions to images (technically using `
` HTML tags) by a ## Contributing -Have you found a bug or got an idea for a new feature? Feel free to use the [issue tracker](https://github.com/colorchestra/smol/issues) to let me know. Or make directly a [pull request](https://github.com/colorchestra/smol/pulls). +Have you found a bug or got an idea for a new feature? Feel free to use the [issue tracker](https://git.datenkastl.org/fliegerjohn/smol/issues)to let me know. Or make directly a [pull request](https://git.datenkastl.org/fliegerjohn/smol/pulls). ## License -This theme is released under the [MIT license](https://github.com/colorchestra/smol/blob/master/LICENSE). +This theme is released under the [MIT license](https://git.datenkastl.org/fliegerjohn/smol/raw/branch/master/LICENSE.md). + + +## Acknowledgements + +Smol - [colorchestra](https://github.com/colorchestra/smol) From 6d688ae20531b5dd0d4343ec4fd0274e4d9d954a Mon Sep 17 00:00:00 2001 From: Fliegerjohn Date: Sat, 4 Jan 2025 20:51:25 +0100 Subject: [PATCH 3/3] Better design --- static/css/style.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 585aaac..91f0cc4 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,7 +1,6 @@ html {overflow-y: scroll} -:root { --bgcolor: white; --fontcolor: #444; --linkcolor: #00e; --visitedcolor: #551a8b; --precolor: #fff; --prebgcolor: #000;} -@media (prefers-color-scheme: dark) { :root { --bgcolor: black; --fontcolor: white; --linkcolor: #5bf; --visitedcolor: #ae5ee0; --precolor: #fff; --prebgcolor: #383838;}} -body{max-width:800px;margin:40px auto;padding:0 10px;font:14px/1.5 monospace;color:var(--fontcolor); background: var(--bgcolor)}a:link{color: var(--linkcolor)}a:visited{color: var(--visitedcolor)}a:active{color: var(--visitedcolor)}h1,h2,h3{line-height:1.2} +:root { --bgcolor: #2c2e38; --fontcolor: white; --linkcolor: #5bf; --visitedcolor: #ae5ee0; --precolor: #fff; --prebgcolor: #383838;} +body{max-width:1000px;margin:40px auto;padding:0 10px;font:14px/1.5 monospace;color:var(--fontcolor); background: var(--bgcolor)}a:link{color: var(--linkcolor)}a:visited{color: var(--visitedcolor)}a:active{color: var(--visitedcolor)}h1,h2,h3{line-height:1.2} p > code{color: var(--precolor); background: var(--prebgcolor); padding:2px} code{color: var(--precolor); background: var(--prebgcolor); padding:2px} pre{color: var(--precolor); background: var(--prebgcolor); padding:24px; overflow-x: auto}