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 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) 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}