-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpages.css
96 lines (80 loc) · 1.5 KB
/
pages.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/*!
* Pages
*/
.ui-page-a4 {
height: 297mm;
width: 210mm;
}
.ui-page-a5 {
height: 210mm;
width: 148mm;
}
.ui-page-b5 {
height: 250mm;
width: 176mm;
}
.ui-page-letter {
height: 279.4mm;
width: 215.9mm;
}
.ui-page-wrapper {
background-color: #fff;
-moz-box-sizing: border-box;
box-sizing: border-box;
color: #333;
padding: 10mm 16.18mm;
}
.ui-slides-wrapper {
color: #333;
font-size: 200%;
min-width: 768px;
}
.ui-slides-wrapper:hover > .ui-page-slide > div {
display: none;
}
.ui-slides-wrapper > .ui-page-slide:hover > div {
display: block;
}
.ui-page-slide {
-moz-box-sizing: border-box;
box-sizing: border-box;
height: 100vh;
padding: 5vh 10vw;
}
.ui-page-slide > div > h2 {
font-size: 200%;
}
.ui-page-slide > div > h3 {
font-size: 150%;
margin-top: 0;
}
.ui-overflow-hidden {
max-height: 100vh;
overflow-y: hidden;
}
.ui-scroll-mandatory {
height: 100vh;
overflow-y: auto;
-ms-scroll-snap-points-y: repeat(100%);
-webkit-scroll-snap-points-y: repeat(100%);
scroll-snap-points-y: repeat(100%);
-ms-scroll-snap-type: mandatory;
-webkit-scroll-snap-type: mandatory;
scroll-snap-type: mandatory;
}
.ui-scroll-indicator {
background: linear-gradient(45deg, #428bca 50%, #f5f5f5 50%) no-repeat;
background-size: 100% calc(100% - 100vh + 0.4em);
}
.ui-scroll-indicator::before {
background-color: #fff;
bottom: 0;
content: "";
position: fixed;
top: 0.4em;
width: 100%;
z-index: -1;
}
.ui-scroll-smooth {
scroll-behavior: smooth;
}