From 8158bccb77b3d79fef9ea5f4d9148a778ea98c8e Mon Sep 17 00:00:00 2001 From: Hanwen Guo Date: Wed, 20 Sep 2023 19:52:00 +0800 Subject: [PATCH] css(highlight): fix #9 --- README.md | 2 +- assets/css/main.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 10f7a85..8d4d22f 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ The easiest way is to clone this repo (or add as a submodule) to themes/nostylep ## Usage -You can edit `config.toml` file to customize your blog. You can change things such as the name of the blog, the author, the appearance of the theme (light, dark or auto), how dates are formatted, etc. Customizable fields should be straightforward to understand. Still, `config.toml` contains some comments to help you understand what each field does. +You can edit `config.toml` file to customize your blog. You can change things such as the name of the blog, the author, the appearance of the theme (light, dark or auto), how dates are formatted, etc. Customizable fields should be straightforward to understand. Still, `config.toml` contains some comments to help you understand what each field does. Note that the `config.toml` under root directory of your hugo site will completely override the one in the theme directory, so copy the attributes you want to keep or edit from the theme's `config.toml` to your site's `config.toml`. ### Customize the menu diff --git a/assets/css/main.scss b/assets/css/main.scss index c8315c7..ad50f74 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -78,7 +78,7 @@ table, th, td { padding: 0.4rem; } -code { +code:not(pre > code) { color: white; background: black; font-size: 80%;