-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
82 lines (71 loc) · 1.32 KB
/
style.css
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
html, body {
margin: 0;
font-family: Arial, sans-serif;
width: 100vw;
height: 100vh;
position: fixed;
top: 0;
left: 0;
overflow: auto;
}
.toolbar {
position: sticky;
top: 0;
left: 0;
width: 100%;
z-index: 100;
margin-bottom: 1em;
display: flex;
justify-content: flex-start;
align-items: center;
}
.toolbar-item {
padding: 1em;
border-radius: 1px;
cursor: pointer;
transition: background-color 500ms;
}
.toolbar-item:hover {
background-color: #dee2e6;
}
.text-box {
text-align: justify;
padding: 1em;
}
.waystone {
width: 100%;
height: 100%;
background-image: url("./img/waystone.png");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
@media (max-width: 400px) {
.waystone {
height: 50px;
}
}
.box {
width: 100%;
min-width: 10em;
height: 70vh;
margin-bottom: 1em;
background: lightblue;
display: inline-block;
}
.viewme {
transition: all 500ms ease;
}
.viewme[data-view='inview-top'],
.viewme[data-view='inview-bottom'] {
opacity: 1;
transform: translateY(0);
}
.viewme[data-view='outview-top'] {
opacity: 0;
transform: translateY(-1em);
}
.viewme[data-view='outview-bottom'] {
opacity: 0;
transform: translateY(1em);
}