/
main.scss
86 lines (67 loc) · 1.64 KB
/
main.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
@import "packages/wsk_material/sass/resets/h5bp";
@import "colors";
@import 'packages/wsk_material/sass/typography/typography';
@import 'packages/wsk_material/sass/layout/layout';
@import 'packages/wsk_material/sass/textfield/textfield';
@import 'packages/wsk_material/sass/animation/animation';
@import 'packages/wsk_material/sass/palette/palette';
@import 'packages/wsk_material/sass/list/list';
@import "packages/wsk_material/sass/shadow/shadow";
@import "packages/wsk_material/sass/button/button";
@import "packages/wsk_material/sass/footer/mega_footer";
@import "packages/wsk_material/sass/footer/mini_footer";
html, body {
width: 100%;
height: auto;
margin: 0;
padding: 0;
background-color: #F4F4F4;
}
body {
display: flex;
flex-direction: column;
}
.wsk-layout__content {
padding: 0;
section {
padding: 24px;
&:first-child {
padding-top: 40px;
}
}
h3 ~ h4 {
padding-top: 20px;
}
}
.cols {
margin-top: 1em;
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: space-around;
flex-grow: 0;
div {
display: flex;
flex-direction: column;
}
}
.back-to-top {
position: fixed; bottom: 500px; right: -100px; transition: all 0.3s ease-out; opacity: 0;
z-index: 99;
}
.add-back-to-top-button .back-to-top {
bottom: 15px; right: 15px;
opacity: 1;
transition: all 0.3s ease-in;
}
@media (max-width: 768px ) {
.back-to-top {
left: auto;
right: -100px;
}
.add-back-to-top-button .back-to-top {
left: auto;
right: 15px;
bottom: 15px;
}
}