mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
setup style
This commit is contained in:
15
assets/css/_core/_base.scss
Normal file
15
assets/css/_core/_base.scss
Normal file
@@ -0,0 +1,15 @@
|
||||
html {
|
||||
font-family: $global-font-family;
|
||||
font-weight: $global-font-weight;
|
||||
font-size: $global-font-size;
|
||||
line-height: $global-line-height;
|
||||
width: 100%;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: white;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
0
assets/css/_core/_media.scss
Normal file
0
assets/css/_core/_media.scss
Normal file
13
assets/css/_partial/_image.scss
Normal file
13
assets/css/_partial/_image.scss
Normal file
@@ -0,0 +1,13 @@
|
||||
.image {
|
||||
width: 40vmin;
|
||||
position: absolute;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.image[data-status="inactive"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.image[data-status="active"] {
|
||||
display: block;
|
||||
}
|
||||
10
assets/css/_variables.scss
Normal file
10
assets/css/_variables.scss
Normal file
@@ -0,0 +1,10 @@
|
||||
// ==============================
|
||||
// Variables
|
||||
// ==============================
|
||||
|
||||
// ========== Global ========== //
|
||||
// Font and Line Height
|
||||
$global-font-family: system-ui, -apple-system, BlinkMacSystemFont, PingFang SC, Microsoft YaHei UI, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, Helvetica, Arial, sans-serif !default;
|
||||
$global-font-size: 16px;
|
||||
$global-font-weight: 400;
|
||||
$global-line-height: 1.5rem;
|
||||
Reference in New Issue
Block a user