forked from VTRyo/mazrica-techbook8
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle-web.scss
87 lines (72 loc) · 1.18 KB
/
style-web.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
85
86
/* stylesheet for Re:VIEW web */
$cursor-top: 100px;
$cursor-width: 40px;
$side-width: 200px;
$page-width: 800px;
nav.side-content
{
width: $side-width;
position: fixed;
h1.side-title
{
margin: 0;
padding: 0;
font-size: 1em;
border-top: none;
}
ul
{
list-style: none;
}
}
.book-body
{
margin-left: $cursor-width + $side-width;
margin-right: $cursor-width;
position: relative;
.book-page
{
max-width: $page-width;
margin:0 auto;
padding: 32px 0 32px;
}
.book-navi
{
position: fixed;
top: 0;
min-width: $cursor-width;
a
{
text-decoration: none;
}
}
.book-prev
{
left: $side-width + 10px;
}
.book-next
{
right: 10px;
}
.book-cursor
{
height: 100vh;
text-align: center;
font-size: 32pt;
padding: $cursor-top 0 0 0;
color: #eee;
}
.book-cursor:hover
{
color: #333;
}
}
footer p
{
margin-left: $side-width + $cursor-width;
text-align: center;
}
.cover-image img
{
max-width: 100%;
}