mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
theme: add style for kbd
element #822
This commit is contained in:
parent
58610aeefa
commit
24ba96eccb
1 changed files with 16 additions and 0 deletions
|
@ -533,6 +533,22 @@ mark {
|
||||||
padding: 0.1em 0.4em;
|
padding: 0.1em 0.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kbd {
|
||||||
|
background-color: rgba( 134, 134, 134, .166 );
|
||||||
|
border: 1px solid rgba( 134, 134, 134, .5 );
|
||||||
|
border-radius: 0.25rem;
|
||||||
|
box-shadow: 0 1px 0 1px rgba( 134, 134, 134, .5 );
|
||||||
|
color: var(--INTERNAL-TEXT-color);
|
||||||
|
font-family: var(--INTERNAL-CODE-font);
|
||||||
|
font-size: 0.75em;
|
||||||
|
line-height: 1;
|
||||||
|
min-width: 0.75rem;
|
||||||
|
padding: 2px 5px 2px 5px;
|
||||||
|
position: relative;
|
||||||
|
text-align: center;
|
||||||
|
top: -2px;
|
||||||
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 3.25rem;
|
font-size: 3.25rem;
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
|
|
Loading…
Reference in a new issue