-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_base.scss
61 lines (48 loc) · 1.41 KB
/
_base.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
:root{
--color-primary:#eb2f64;
--color-primary-light:#ff3366;
--color-primary-dark:#BA265D;
--color-Gray-light-1:#faf9f9;
--color-Gray-light-2:#f4f2f2;
--color-Gray-light-3:#f0eeee;
--color-Gray-light-4:#ccc;
--color-Gray-dark-1:#333;
--color-Gray-dark-2:#777;
--color-Gray-dark-3:#999;
--shadow-dar: 0 2rem 6rem rgba(0,0,0,.3);
--shadow-light: 0 2rem 5rem rgba(0,0,0,.06);
--line: 1px solid var(--color-Gray-light-2);
}
$bp-largest: 90.605em; //1450px
$bp-large: 75em; // 1200px
$bp-medium: 56.25em; // 900px
$bp-small: 37.5em; //600px
$bp-smallest: 31.25em; // 500px
*{
margin: 0;
padding: 0;
}
html{
font-size: 62.5%;//by the cuse in this case 1rem =10px and the is provided by 10px/16px (browser defualt font-size)=62.5%
box-sizing: border-box;
@media only screen and (max-width: $bp-large){
font-size: 50%;
}
@media only screen and (max-width: $bp-large){
font-size: 45%;
}
}
*,
::after,
::before{
box-sizing: inherit;
}
body{
font-weight: 400;
font-family: sans-serif;
line-height: 1.6;
background-image: linear-gradient(to right bottom,var(--color-primary-light),var(--color-primary-dark));
background-size: cover;
background-repeat: no-repeat;
// height: 100vh ;
}