theme: add style for kbd element #822

This commit is contained in:
Sören Weber 2024-04-04 23:15:51 +02:00
parent 58610aeefa
commit 24ba96eccb
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -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;