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

View File

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

View File

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