e9cfcaf94c
Fixes 2 issues: 1. In Firefox, overflow: scroll puts an ugly unscrollable scrollbar on the page. With auto it behaves as normal but the scrollbar only appears when needed. 2. When using code highlighting, the generated Hugo styles replace the <pre> background color, making the page look ugly (only the text has a background, not the entire <pre> block). Setting the background !important fixes this. This is not ideal, but the styles are applied directly to the element when using the internal highlight shortcode, so this is the only way to override them. Tested on Firefox and Chrome. |
||
---|---|---|
.github/workflows | ||
archetypes | ||
exampleSite | ||
images | ||
layouts | ||
static | ||
LICENSE | ||
README.md | ||
config.toml | ||
theme.toml |
README.md
risotto
risotto is a minimalist, responsive hugo theme inspired by terminal ricing aesthetics.
Install
The easiest way to install the theme is to clone this repository into your site's themes
directory:
git clone https://github.com/joeroe/risotto themes/risotto
If your site is already a git repository, you can add the theme as a submodule instead:
git submodule add https://github.com/joeroe/risotto.git themes/risotto
Configure
To use the theme, add theme = risotto
to your site's config.toml
or config.yaml
.
See exampleSite/config.toml
for the theme-specific parameters you need to add to your site's config.toml
or config.yaml
to configure the theme.
Update
If you installed the theme using git clone
, pull the repository to get the latest version:
cd themes/risotto
git pull
Or, if you added it as a git submodule:
git submodule update --remote