From 17478f87e5aa333f40ab70447bb11554a0c64ad6 Mon Sep 17 00:00:00 2001 From: A Farzat Date: Thu, 21 Nov 2024 17:15:56 +0900 Subject: Made an initial attempt --- sass/style.scss | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 sass/style.scss (limited to 'sass/style.scss') diff --git a/sass/style.scss b/sass/style.scss new file mode 100644 index 0000000..5feebc0 --- /dev/null +++ b/sass/style.scss @@ -0,0 +1,32 @@ +@import "variables"; +@import "header"; +@import "main"; +@import "mixins"; +@import "typography"; +:root { + @include color-theme(dark); + &[data-theme="auto"] { + @include color-theme(light); + @media (prefers-color-scheme: dark) { + @include color-theme(dark); + } + } + &[data-theme="light"] { + @include color-theme(light); + } +} +html { + font-size: 100%; + @media only screen and (max-width: 37.5em) { + font-size: 2.8vw; + } +} +body { + background-color: var(--color-background); + color: var(--color-text); + font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + font-weight: normal; + padding: 0; + margin: 0; + position: relative; +} -- cgit v1.2.3-70-g09d2