feat(css): add border to <kbd>

- inspired by https://github.com/alvaromontoro/almond.css
This commit is contained in:
Ming Di Leom 2022-03-01 08:46:10 +00:00
parent 19e7aa66df
commit 834a75bba0
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
3 changed files with 15 additions and 1 deletions

View File

@ -93,7 +93,7 @@ forward-zone:
forward-addr: 149.112.112.112
```
_`Ctrl + X` to quit, press `Y` to save, `Enter` to confirm._
<kbd>Ctrl</kbd> + <kbd>X</kbd> to quit, <kbd>Y</kbd> to save, <kbd>Enter</kbd> to confirm.
> With the above config, Unbound will respond to _all_ IP, including _public_ IP if exposed to internet.

View File

@ -216,6 +216,13 @@ samp {
font-size: 0.9em;
}
kbd {
border: 1px solid var(--alt-bg-color);
border-radius: 3px;
/* https://github.com/alvaromontoro/almond.css */
padding: 0.125rem 0.25rem;
}
/* set bg colour of single backtick wrap */
p code {
background: var(--alt-bg-color);

View File

@ -532,6 +532,13 @@ samp {
font-size: 0.9em;
}
kbd {
border: 1px solid var(--alt-bg-color);
border-radius: 3px;
/* https://github.com/alvaromontoro/almond.css */
padding: 0.125rem 0.25rem;
}
/* set bg colour of single backtick wrap */
p code {
background: var(--alt-bg-color);