Compare commits

...

3 commits

Author SHA1 Message Date
6d688ae205
Better design 2025-01-04 20:51:25 +01:00
874809c588
Update Readme 2024-11-01 10:41:32 +01:00
eef539a20e
update License 2024-11-01 10:33:36 +01:00
3 changed files with 13 additions and 7 deletions

View file

@ -4,6 +4,8 @@ Copyright (c) 2016 Vimux
Copyright (c) 2020 colorchestra Copyright (c) 2020 colorchestra
Copyright (c) 2024 fliegerjohn
Permission is hereby granted, free of charge, to any person obtaining a copy of 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 this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to the Software without restriction, including without limitation the rights to

View file

@ -1,6 +1,6 @@
# smol # 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). 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: 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`. 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 `<figcaption>` HTML tags) by a
## Contributing ## 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 ## 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)

View file

@ -1,7 +1,6 @@
html {overflow-y: scroll} html {overflow-y: scroll}
:root { --bgcolor: white; --fontcolor: #444; --linkcolor: #00e; --visitedcolor: #551a8b; --precolor: #fff; --prebgcolor: #000;} :root { --bgcolor: #2c2e38; --fontcolor: white; --linkcolor: #5bf; --visitedcolor: #ae5ee0; --precolor: #fff; --prebgcolor: #383838;}
@media (prefers-color-scheme: dark) { :root { --bgcolor: black; --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}
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}
p > code{color: var(--precolor); background: var(--prebgcolor); padding:2px} p > code{color: var(--precolor); background: var(--prebgcolor); padding:2px}
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} pre{color: var(--precolor); background: var(--prebgcolor); padding:24px; overflow-x: auto}