From 913d34df8b323a7bff09232141d8e525222ed9b9 Mon Sep 17 00:00:00 2001 From: Pk11 Date: Tue, 15 Jun 2021 17:44:34 -0500 Subject: [PATCH] Use CSS for bash $ That way it doesn't copy it and looks distinct --- assets/css/dark.scss | 1 + assets/css/light.scss | 1 + assets/css/style.scss | 5 +++++ pages/_en-US/twilightmenu/custom-dsi-3ds-skins.md | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/assets/css/dark.scss b/assets/css/dark.scss index e9ddebd6..725e32c5 100755 --- a/assets/css/dark.scss +++ b/assets/css/dark.scss @@ -11,6 +11,7 @@ --blockquote-color: #999; --code-bg: #5559; --code-color: #ddd; + --code-light: #999; --a-color: #58a6ff; --small-color: gray; --carousel-caption-bg: #333b; diff --git a/assets/css/light.scss b/assets/css/light.scss index 4e782cc2..db719d51 100755 --- a/assets/css/light.scss +++ b/assets/css/light.scss @@ -11,6 +11,7 @@ --blockquote-color: #666; --code-bg: #ccc6; --code-color: #333; + --code-light: #999; --a-color: #0366d6; --small-color: gray; --carousel-caption-bg: #fffb; diff --git a/assets/css/style.scss b/assets/css/style.scss index 6f187807..9db10afb 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -62,6 +62,11 @@ a > code { color: inherit!important; } +div.language-bash pre.highlight code::before { + content: "$ "; + color: var(--code-light); +} + // .a is for making other things look like s a, .a { text-decoration: none; diff --git a/pages/_en-US/twilightmenu/custom-dsi-3ds-skins.md b/pages/_en-US/twilightmenu/custom-dsi-3ds-skins.md index fca8cd10..9108b22c 100644 --- a/pages/_en-US/twilightmenu/custom-dsi-3ds-skins.md +++ b/pages/_en-US/twilightmenu/custom-dsi-3ds-skins.md @@ -11,7 +11,7 @@ The easiest way of customizing a theme is by editing the png textures in a theme Changes to paletted textures are more involved. Within the `grit` and `background_grit` folders of a theme, the various image files may be edited. You will also require [devkitPro's toolchains](https://devkitpro.org) with GRIT installed. Once you have finished editing your files, you must run ```bash -$ make +make ``` in order to compile your themes into Grit RIFF Format. This will compile your paletted textures into **.grf** format in the `grf` folder. Do not make changes to the `.grit` files until you have read the [advanced theming](#advanced-theming) section below.