style: change sizes to rem
This commit is contained in:
@@ -44,7 +44,7 @@ body {
|
|||||||
main {
|
main {
|
||||||
max-width: 45rem;
|
max-width: 45rem;
|
||||||
margin-inline: auto;
|
margin-inline: auto;
|
||||||
padding: 0 8px;
|
padding: 0 .5rem;
|
||||||
flex: 1 0 auto;
|
flex: 1 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -91,7 +91,7 @@ header {
|
|||||||
flex-direction: row-reverse;
|
flex-direction: row-reverse;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
background-color: $mantle;
|
background-color: $mantle;
|
||||||
padding: 8px;
|
padding: .5rem;
|
||||||
font-size: larger;
|
font-size: larger;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -100,8 +100,8 @@ footer {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
background-color: $crust;
|
background-color: $crust;
|
||||||
margin-top: 32px;
|
margin-top: 2rem;
|
||||||
padding: 16px;
|
padding: 1rem;
|
||||||
column-gap: 4ch;
|
column-gap: 4ch;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -109,7 +109,7 @@ footer {
|
|||||||
font-family: Monocraft, monospace;
|
font-family: Monocraft, monospace;
|
||||||
background-color: $mantle;
|
background-color: $mantle;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
padding: 0 4px;
|
padding: 0 .25rem;
|
||||||
color: $subtext0;
|
color: $subtext0;
|
||||||
overflow-wrap: anywhere;
|
overflow-wrap: anywhere;
|
||||||
|
|
||||||
@@ -122,11 +122,11 @@ footer {
|
|||||||
.block {
|
.block {
|
||||||
display: block;
|
display: block;
|
||||||
background-color: $surface0;
|
background-color: $surface0;
|
||||||
border-radius: 8px;
|
border-radius: .5rem;
|
||||||
padding: 8px;
|
padding: .5rem;
|
||||||
|
|
||||||
& + & {
|
& + & {
|
||||||
margin-top: 8px;
|
margin-top: .5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.red {
|
&.red {
|
||||||
|
|||||||
Reference in New Issue
Block a user