Add a simple 3D effect to kbd and button class.

This commit is contained in:
tastytea 2021-03-15 22:53:30 +01:00
parent b3de042dd3
commit 02bc28b9de
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 7 additions and 3 deletions

View File

@ -155,15 +155,19 @@ kbd
{
background-color: var(--fg);
color: var(--bg);
border: var(--fg-dim) solid 0.1em;
border: 0.15em solid;
border-color: var(--bg-admonition) var(--fg-dim) /* top, right*/
var(--fg-dim) var(--bg-admonition); /* bottom, left*/
border-radius: 0.2em;
}
.button
{
border: 0.1em solid var(--fg-dim);
border-radius: 0.2em;
padding: 0 0.1em;
border: 0.15em solid;
border-color: var(--fg-dim) var(--bg-admonition)
var(--bg-admonition) var(--fg-dim);
border-radius: 0.2em;
}
.toc