-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
57 lines (51 loc) · 868 Bytes
/
styles.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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
margin: 0;
width: 100vw;
overflow-x: hidden;
background-color: #F7F5FB;
}
/* Navigation menu styles */
nav {
display: flex;
justify-content: center;
}
header {
padding: 10px;
margin-top: 20px;
}
main {
display: flex;
overflow: hidden;
width: 100vw;
height: 100vh;
}
#slider {
display: flex;
transition: transform 0.5s ease-in-out;
width: 500%;
}
section {
min-width: 100vw;
height: 100vh;
position: relative;
}
.bookContainer {
position: relative;
width: 100%;
height: 100vh;
}
.book-label {
position: absolute;
color: #000;
font-size: 14px;
font-family: Arial, sans-serif;
pointer-events: none;
transform-origin: left top;
writing-mode: vertical-rl;
white-space: nowrap;
}