modify basic css config

This commit is contained in:
Spedon
2023-03-09 21:24:13 +08:00
parent 0341bc5e69
commit 2618bbbcf2
3 changed files with 7 additions and 6 deletions

View File

@@ -1,9 +1,7 @@
html { html {
font-family: $global-font-family; font-family: $global-font-family;
font-weight: $global-font-weight; overflow: hidden;
font-size: $global-font-size; position: relative;
line-height: $global-line-height;
width: 100%;
scroll-behavior: smooth; scroll-behavior: smooth;
} }
@@ -12,4 +10,5 @@ body {
height: 100vh; height: 100vh;
margin: 0; margin: 0;
overflow: hidden; overflow: hidden;
line-height: 1.5;
} }

View File

@@ -1,5 +1,5 @@
.image { .image {
width: 40vmin; width: 50vmin;
position: absolute; position: absolute;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
} }

View File

@@ -6,4 +6,6 @@
@import "_core/media"; @import "_core/media";
@import "_partial/image"; @import "_partial/image";
@import "_partial/footer";