The style and layout for Thurstylark's Wiki
Go to file
mntn e9cfcaf94c
Set pre overflow to auto and make bg !important
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.
2021-07-31 21:18:25 -04:00
.github/workflows Add cname to gh-pages workflow 2021-07-28 21:31:07 +02:00
archetypes Initial commit 2021-03-05 10:44:42 +01:00
exampleSite Change example site baseURL to live site 2021-07-28 21:16:49 +02:00
images Crop screenshot and generate thumbnail 2021-07-28 22:04:32 +02:00
layouts Fix bad link in footer 2021-07-27 21:09:30 -04:00
static Set pre overflow to auto and make bg !important 2021-07-31 21:18:25 -04:00
LICENSE Initial commit 2021-03-05 10:44:42 +01:00
README.md Update README with other install methods 2021-07-28 21:56:26 +02:00
config.toml Update theme.toml and add config.toml 2021-07-28 20:39:25 +02:00
theme.toml Add demo site to theme metadata 2021-07-28 21:20:50 +02:00

README.md

risotto

risotto is a minimalist, responsive hugo theme inspired by terminal ricing aesthetics.

Screenshot of the risotto theme

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