Compare commits

..

No commits in common. "6d688ae20531b5dd0d4343ec4fd0274e4d9d954a" and "793953fe61613216b7c9b7a9948efeb59cf9d45f" have entirely different histories.

3 changed files with 7 additions and 13 deletions

View file

@ -4,8 +4,6 @@ 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 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.
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://git.datenkastl.org/fliegerjohn/smol.git git clone https://github.com/colorchestra/smol
``` ```
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,13 +85,8 @@ 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://git.datenkastl.org/fliegerjohn/smol/issues)to let me know. Or make directly a [pull request](https://git.datenkastl.org/fliegerjohn/smol/pulls). 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).
## License ## License
This theme is released under the [MIT license](https://git.datenkastl.org/fliegerjohn/smol/raw/branch/master/LICENSE.md). This theme is released under the [MIT license](https://github.com/colorchestra/smol/blob/master/LICENSE).
## Acknowledgements
Smol - [colorchestra](https://github.com/colorchestra/smol)

View file

@ -1,6 +1,7 @@
html {overflow-y: scroll} html {overflow-y: scroll}
:root { --bgcolor: #2c2e38; --fontcolor: white; --linkcolor: #5bf; --visitedcolor: #ae5ee0; --precolor: #fff; --prebgcolor: #383838;} :root { --bgcolor: white; --fontcolor: #444; --linkcolor: #00e; --visitedcolor: #551a8b; --precolor: #fff; --prebgcolor: #000;}
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} @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}
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}