fix(scss): modifed some weird stuff

This commit is contained in:
Laureηt 2022-02-10 22:20:43 +01:00
parent 1b420ae97a
commit b71ffbc6b9
No known key found for this signature in database
GPG key ID: D88C6B294FD40994

View file

@ -1,7 +1,5 @@
$background: #232830; $background: #232830;
$foreground-text: #c0c5ce; $foreground-text: #c0c5ce;
$font-size: 1.5rem;
$h1-size: 3rem;
* { * {
margin: 0; margin: 0;
@ -23,7 +21,7 @@ body {
color: $foreground-text; color: $foreground-text;
font-family: "Inter", sans-serif; font-family: "Inter", sans-serif;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
font-size: $font-size; font-size: 2rem;
width: 60rem; width: 60rem;
padding: 0 2rem; padding: 0 2rem;
margin: auto; margin: auto;
@ -44,7 +42,6 @@ a {
header { header {
margin: 2rem 0; margin: 2rem 0;
height: $font-size;
} }
footer { footer {
@ -62,8 +59,7 @@ hr {
} }
h1 { h1 {
font-size: $h1-size; font-size: 3rem;
height: $h1-size;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
@ -85,6 +81,7 @@ ul {
} }
} }
img,
video { video {
width: 100%; width: 100%;
height: auto; height: auto;
@ -92,6 +89,15 @@ video {
margin: 0 auto; margin: 0 auto;
} }
[data-chaffle="submit"],
[data-chaffle="en"],
[data-chaffle="ja"],
[data-chaffle="ja-hiragana"],
[data-chaffle="ja-katakana"],
[data-chaffle="ua"] {
line-height: 1;
}
section { section {
padding-left: 1rem; padding-left: 1rem;
padding-bottom: 1rem; padding-bottom: 1rem;