File tree 3 files changed +37
-31
lines changed 3 files changed +37
-31
lines changed Original file line number Diff line number Diff line change @@ -1322,12 +1322,14 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
1322
1322
.mobile-nav-chapters {
1323
1323
display : none;
1324
1324
}
1325
- # page-wrapper {
1326
- left : 0 ;
1327
- overflow-y : initial;
1328
- }
1329
1325
# page-wrapper .page-wrapper {
1330
- padding-left : 0px ;
1326
+ -webkit-transform : none;
1327
+ -moz-transform : none;
1328
+ -o-transform : none;
1329
+ -ms-transform : none;
1330
+ transform : none;
1331
+ margin-left : 0px ;
1332
+ overflow-y : initial;
1331
1333
}
1332
1334
# content {
1333
1335
max-width : none;
@@ -1361,16 +1363,14 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
1361
1363
h6 {
1362
1364
page-break-inside : avoid;
1363
1365
page-break-after : avoid;
1364
- /*break-after: avoid*/
1365
1366
}
1366
1367
pre ,
1367
1368
code {
1368
1369
page-break-inside : avoid;
1369
- white-space : pre-wrap /* CSS 3 */ ;
1370
- white-space : -moz-pre-wrap /* Mozilla, since 1999 */ ;
1371
- white-space : -pre-wrap /* Opera 4-6 */ ;
1372
- white-space : -o-pre-wrap /* Opera 7 */ ;
1373
- word-wrap : break-word /* Internet Explorer 5.5+ */ ;
1370
+ white-space : pre-wrap;
1371
+ }
1372
+ .fa {
1373
+ display : none !important ;
1374
1374
}
1375
1375
}
1376
1376
.tooltiptext {
Original file line number Diff line number Diff line change 212
212
</script >
213
213
{{ /if }}
214
214
215
- {{ #if is_print }}
216
- <script type =" text/javascript" >
217
- document .addEventListener (' DOMContentLoaded' , function () {
218
- window .print ();
219
- })
220
- </script >
221
- {{ /if }}
222
-
223
215
{{ #if playpen_js }}
224
216
<script src =" ace.js" type =" text/javascript" charset =" utf-8" ></script >
225
217
<script src =" editor.js" type =" text/javascript" charset =" utf-8" ></script >
246
238
<script type =" text/javascript" src =" {{ this }} " ></script >
247
239
{{ /each }}
248
240
241
+ {{ #if is_print }}
242
+ {{ #if mathjax_support }}
243
+ <script type =" text/javascript" >
244
+ window .addEventListener (' load' , function () {
245
+ MathJax .Hub .Register .StartupHook (' End' , function () {
246
+ window .setTimeout (window .print , 100 );
247
+ });
248
+ });
249
+ </script >
250
+ {{ else }}
251
+ <script type =" text/javascript" >
252
+ window .addEventListener (' load' , function () {
253
+ window .setTimeout (window .print , 100 );
254
+ });
255
+ </script >
256
+ {{ /if }}
257
+ {{ /if }}
258
+
249
259
</body >
250
260
</html >
Original file line number Diff line number Diff line change 7
7
display : none
8
8
}
9
9
10
- #page-wrapper {
11
- left : 0 ;
12
- overflow-y : initial ;
13
- }
14
-
15
10
#page-wrapper .page-wrapper {
16
- padding-left : 0px ;
11
+ transform : none ;
12
+ margin-left : 0px ;
13
+ overflow-y : initial ;
17
14
}
18
15
19
16
#content {
46
43
h1 , h2 , h3 , h4 , h5 , h6 {
47
44
page-break-inside : avoid
48
45
page-break-after : avoid
49
- /* break-after: avoid*/
50
46
}
51
47
52
48
pre , code {
53
49
page-break-inside : avoid
54
- white-space : pre-wrap /* CSS 3 */
55
- white-space : - moz-pre-wrap /* Mozilla, since 1999 */
56
- white-space : - pre-wrap /* Opera 4-6 */
57
- white-space : - o-pre-wrap /* Opera 7 */
58
- word-wrap : break-word /* Internet Explorer 5.5+ */
50
+ white-space : pre-wrap
51
+ }
52
+
53
+ .fa {
54
+ display : none !important
59
55
}
60
56
}
You can’t perform that action at this time.
0 commit comments