[U] Migrate sass

This commit is contained in:
2025-10-24 15:45:10 +08:00
parent 835bccf288
commit 2ff45e1068
2 changed files with 8 additions and 8 deletions
+6 -6
View File
@@ -1,5 +1,5 @@
@import colors @use "colors"
@import font @use "font"
// Google Fonts // Google Fonts
// TODO: Localize // TODO: Localize
@@ -119,7 +119,7 @@ body
-webkit-font-smoothing: antialiased -webkit-font-smoothing: antialiased
-moz-osx-font-smoothing: grayscale -moz-osx-font-smoothing: grayscale
text-align: center text-align: center
color: $color-text-main color: colors.$color-text-main
// Max width and center // Max width and center
max-width: 900px max-width: 900px
@@ -170,11 +170,11 @@ html
text-justify: inter-word text-justify: inter-word
a a
color: $color-text-special color: colors.$color-text-special
text-decoration: none text-decoration: none
h1, h2 h1, h2
border-bottom: 1px solid $color-text-special border-bottom: 1px solid colors.$color-text-special
font-size: 1.5em font-size: 1.5em
margin-top: 1em margin-top: 1em
@@ -218,4 +218,4 @@ html
align-items: center align-items: center
font-size: 0.8em font-size: 0.8em
color: $color-text-light color: colors.$color-text-light
+2 -2
View File
@@ -1,4 +1,4 @@
@import "../css/colors" @use "../css/colors"
$width: 600px $width: 600px
@@ -14,7 +14,7 @@ $width: 600px
margin-bottom: 0 margin-bottom: 0
.subtitle .subtitle
color: $color-text-light color: colors.$color-text-light
// Phone layout // Phone layout