1
- @import url ("http://fonts.googleapis.com/css?family=Roboto" );
2
- @import url ('https://fonts.googleapis.com/css?family=Source+Code+Pro' );
1
+ @import url ("https://fonts.googleapis.com/css?family=Roboto" );
3
2
4
3
.book {
5
4
background-color : # fffff8 ;
6
- color : red;
7
5
}
8
6
9
7
.section {
13
11
.book .book-body .page-wrapper .page-inner section .normal {
14
12
display : block;
15
13
background-color : # fffff8 ;
16
- color : # 595959 ;
14
+ color : # 585858 ;
17
15
padding : 5px 15px ;
18
- font-family : Roboto;
16
+ font-family : Roboto, 'Helvetica Neue' , sans-serif ;
19
17
word-wrap : break-word;
20
18
overflow : hidden;
21
19
line-height : 1.7 ;
25
23
-moz-text-size-adjust : 100% ;
26
24
}
27
25
26
+ .book .book-body {
27
+ background : # fffff8 ;
28
+ -webkit-transition : left 250ms ease;
29
+ -moz-transition : left 250ms ease;
30
+ -o-transition : left 250ms ease;
31
+ transition : left 250ms ease;
32
+ }
33
+
34
+ /* link effects */
35
+ .book .book-body .page-wrapper .page-inner section .normal a {
36
+ color : # 3D68FF ;
37
+ background-image : linear-gradient (180deg , transparent 90% , # FFD43D 0 );
38
+ background-size : 0 100% ;
39
+ background-repeat : no-repeat;
40
+ text-decoration : none;
41
+ -webkit-transition : background-size .4s ease;
42
+ -moz-transition : background-size .4s ease;
43
+ -ms-transition : background-size .4s ease;
44
+ -o-transition : background-size .4s ease;
45
+ transition : background-size .4s ease;
46
+ border-bottom : 0px solid;
47
+ }
48
+
49
+ .book .book-body .page-wrapper .page-inner section .normal a : hover {
50
+ text-decoration : none;
51
+ background-size : 100% 100% ;
52
+ cursor : pointer;
53
+ }
54
+
28
55
.body-inner {
29
56
background-color : # fffff8 ;
30
57
}
43
70
44
71
.book .book-header {
45
72
overflow : visible;
46
- height : 50 px ;
73
+ height : 48 px ; /* adjust to match title space*/
47
74
padding : 0 8px ;
48
75
z-index : 2 ;
49
76
font-family : Roboto sans-serif;
53
80
/* background: 0 0; */
54
81
}
55
82
56
- element .style {
83
+ /* only way to set bgcolor of top bar?*/
84
+ .book-body .fixed {
57
85
background-color : # fffff8 ;
58
86
}
59
87
88
+ /* Rather than resize the header, just get rid of line */
60
89
.book .with-summary .book-header .fixed {
61
90
background-color : # fffff8 ;
91
+ /*font-family: Stalemate Roboto Sans; ignored as all it is doing is taking from index title*/
92
+ border-bottom : 0 solid rgba (0 , 0 , 0 , .07 ); /*just remove it; this makes height in .book-header above moot*/
93
+ border-bottom-width : 0 ;
94
+ border-bottom-style : solid;
95
+ border-bottom-color : rgba (0 , 0 , 0 , 0.07 );
62
96
}
63
97
64
98
i {
65
99
background-color : # fffff8 ;
66
100
}
67
101
68
- .book .book-summary ul .summary li a : hover ,
69
- .book .book-summary ul .summary li .active > a {
70
- color : # b2001d ; /* color of current chapter/selection*/
102
+ .book .book-summary {
103
+ position : absolute;
104
+ font-family : "Open Sans" , 'Helvetica Neue' , Roboto, sans-serif;
105
+ top : 0 ;
106
+ left : -300px ;
107
+ bottom : 0 ;
108
+ z-index : 1 ;
109
+ width : 300px ;
110
+ color : # 364149 ; /**/
111
+ background : # eaf5fb ; /*#d9edf7#bdcadb #3572D9 #fafafa*/
112
+ border-right : 1px solid rgba (0 , 0 , 0 , .07 );
113
+ -webkit-transition : left 250ms ease;
114
+ -moz-transition : left 250ms ease;
115
+ -o-transition : left 250ms ease;
116
+ transition : left 250ms ease;
117
+ }
118
+
119
+ /* nav/menu area */
120
+ .book .book-summary ul .summary li a , .book .book-summary ul .summary li span {
121
+ display : block;
122
+ padding : 10px 15px ;
123
+ border-bottom : none;
124
+ color : # 364149 ; /**/
125
+ background : 0 0 ;
126
+ text-overflow : ellipsis;
127
+ overflow : hidden;
128
+ white-space : nowrap;
129
+ position : relative;
130
+ }
131
+
132
+
133
+ .book .book-summary ul .summary li a : hover , .book .book-summary ul .summary li .active > a {
134
+ color : # fffff8 ; /*#6197D5*/
135
+ background-color : # b2001d ;
136
+ }
137
+
138
+ /* so that before and after aren't treated the same as the toc, because why would they? */
139
+ .book .book-summary ul .summary li .before a {
140
+ color : # b2001d ;
141
+ text-decoration : none;
142
+ font-size : 125% ;
143
+ font-variant : small-caps;
144
+ font-family : 'Helvetica Neue' , 'Open Sans' , Roboto, sans-serif;
145
+ font-weight : 800 ;
71
146
}
72
147
73
148
74
- .book .book-summary ul .summary li a : focus {
75
- color : # ffffff ; /* color of current chapter/selection*/
149
+ .book .book-summary ul .summary li .before a : hover ,
150
+ .book .book-summary ul .summary li .before li .active > a {
151
+ color : # fffff8 ; /*#6197D5*/
76
152
background-color : # b2001d ;
153
+ text-decoration : none;
77
154
}
78
155
156
+ .book .book-summary ul .summary li .after a , .book .book-summary ul .summary li .after a : hover {
157
+ background-color : transparent;
158
+ }
159
+
160
+ /* divider line for the title before and other stuff after toc */
161
+ .book .book-summary ul .summary li .divider {
162
+ height : 1px ;
163
+ margin : 7px 0 ;
164
+ overflow : hidden;
165
+ background : rgba (0 , 0 , 0 , .07 )
166
+ }
167
+
168
+ .book .book-body .page-wrapper .page-inner section .normal pre {
169
+ overflow : auto;
170
+ word-wrap : normal;
171
+ margin : 0 0 1.275em ;
172
+ padding : .85em 1em ;
173
+ background : # fafafa ;
174
+ }
175
+
176
+
79
177
.book .book-body .page-wrapper .page-inner section .normal code ,
80
178
.book .book-body .page-wrapper .page-inner section .normal pre {
81
- background-color : # fffff8 ;
82
- font-family : 'Source Code Pro' , 'Roboto Mono' ;
179
+ font-family : 'Roboto Mono' , Monaco, Consolas, "Liberation Mono" , Menlo, 'Courier New' , monospace;
180
+ direction : ltr;
181
+ border : none;
182
+ color : inherit;
183
+ }
184
+
185
+ .book .book-body .page-wrapper .page-inner section .normal .note {
186
+ background-color : # fafafa ;
187
+ /*background-image: url('../img/R.ico');*/
188
+ font-size : 80% ;
189
+ margin : auto;
190
+ font-weight : 500 ;
191
+ max-width : 75% ;
192
+ border-width : 10px ;
193
+ border-color : # bfbfbf ;
194
+ box-shadow : 10px 10px 5px # EBEBEB ; /*#888888*/
195
+ padding : 1em ;
196
+ }
197
+
198
+
199
+ .img-note {
200
+ vertical-align : central;
201
+ width : 2em ;
202
+ }
203
+
204
+ .footnotes {
205
+ color : # 00000080 ;
83
206
}
0 commit comments