Replace ALL pixel values with REM

This commit is contained in:
daudix
2024-06-27 19:04:12 +03:00
parent bcba7405ef
commit 03446caaa9
6 changed files with 17 additions and 17 deletions

View File

@ -67,7 +67,7 @@ kbd {
display: inline-block;
transition: var(--transition);
cursor: pointer;
box-shadow: inset 0 -2px 0 var(--fg-muted-2), 0 -1px 0 var(--fg-muted-3);
box-shadow: inset 0 -0.125rem 0 var(--fg-muted-2), 0 -0.0625rem 0 var(--fg-muted-3);
border-radius: var(--rounded-corner-small);
background-color: var(--fg-muted-2);
padding: 0.125rem 0.375rem;
@ -77,7 +77,7 @@ kbd {
// Small nice thingy, keys can be pressed!
&:active {
transform: translateY(0.125rem);
box-shadow: inset 0 1px 0 var(--fg-muted-2);
box-shadow: inset 0 0.0625rem 0 var(--fg-muted-2);
background-color: var(--fg-muted-3);
}
}
@ -95,7 +95,7 @@ a {
hr {
margin: 2rem auto;
border: none;
border-top: 3px double var(--fg-muted-2);
border-top: 0.1875rem double var(--fg-muted-2);
overflow: visible;
color: var(--fg-muted-4);
font-size: 1.5rem;