-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
142 lines (116 loc) · 2.31 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans|Encode+Sans:wght@400;600;700')
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-overflow-scrolling: touch;
-webkit-tap-highlight-color: transparent;
-webkit-text-size-adjust: none;
-webkit-touch-callout: none;
}
.book .book-body .page-wrapper .page-inner section {
line-height: 1.7;
font-size: 1.6rem;
}
.book .book-summary {
width: 300px;
position:absolute;
top:0;
left:-300px;
}
.book.with-summary .book-header.fixed {
left: 300px;
}
.book.with-summary .book-body {
left: 300px;
}
h1, h2, h3, h4, h5 {
font-family: 'Encode Sans', 'Helvetica';
font-size: 1.6rem;
color: #37bbed;
text-align: left;
}
div, p, li .caption {
font-family: 'Encode Sans', 'Helvetica'
font-size: 1.3rem;
color: #3b4449;
text-align: justify;
}
code, kbd, pre, samp, .sourceLine, .sourceCode {
font-family: 'PT Mono', monospace;
font-size: 1em;
}
p code {
white-space: inherit;
}
pre {
word-break: normal;
word-wrap: normal;
}
pre code {
white-space: inherit;
}
.title {
font-family: 'Encode Sans', serif;
font-size: 3em !important;
color: #50B8B1;
}
.subtitle {
font-family: 'Encode Sans', serif;
color: #50535C;
}
.note {
font-family: 'Roboto Light', 'Encode Sans';
font-size: 0.9em !important;
color: #000000;
}
.footer {
font-family: 'Roboto Light', 'Encode Sans';
font-size: 0.8em;!important;
color: #808080;
}
/*--- LOGO ---*/
.toc-logo {
width: 300px !important;
object-fit: contain;
margin: 0 auto;
display: block;
}
.toc-logo img {
max-width: 100%;
margin-bottom: 10px;
}
.summary > li:first-child {
height: auto !important;
}
/* HERO IMAGE */
.hero-image-container {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 200px;
background-color: #133454;
}
.hero-image {
width: 100%;
height: 200px;
object-fit: cover;
}
.page-inner {
padding-top: 200px !important;
}
/* -----------Sidebar div tips------------- */
/* from r-pkgs.org*/
div.note {
padding: 1em;
margin: 1em;
padding-left: 30px;
background-size: 70px;
background-repeat: no-repeat;
background-position: 15px center;
min-height: 120px;
color: #1f5386;
background-color: #e2e2e2;
/* border: solid 5px #000000; */
}