Add a simple 3D effect to kbd and button class.
This commit is contained in:
parent
b3de042dd3
commit
02bc28b9de
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user