forked from PreTeXtBook/CSS_core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pretext.css
1408 lines (1389 loc) · 60 KB
/
pretext.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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*******************************************************************************
* PreTeXt Stylesheet
*******************************************************************************
*
* Authors: Michael DuBois, David Farmer, Rob Beezer
*
*******************************************************************************
*/
/**
* Containers restrict the max-width of content within elements
* whose backgrounds must stretch to the width of the viewport.
*/
/* line 12, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_layout.scss */
.container {
margin: 0;
transition-property: width;
transition-duration: 400ms;
}
/* line 20, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_layout.scss */
.container, .container.layout-left, .layout-left .container {
max-width: 664px;
}
/* line 24, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_layout.scss */
.container.has-sidebar-left, .has-sidebar-left .container {
max-width: 904px;
}
/* line 21, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead {
position: relative;
background: #fafafa;
min-height: inherit;
border: none;
box-shadow: none;
}
/* line 45, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #title-container, #masthead .title-container {
font-size: 1em;
padding-left: 9.68px;
overflow: hidden;
*zoom: 1;
/* On mobile phones */
}
@media screen and (max-width: 480px) {
/* line 45, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #title-container, #masthead .title-container {
padding: 0;
text-align: center;
margin-top: 0.625em;
}
}
/* line 105, ../../../../../MathBook/mathbook-assets/scss/shared/_heading.scss */
#masthead #title-container > .heading, #masthead .title-container > .heading {
font-family: "PT Serif", "Times New Roman", Times, serif;
font-weight: 700;
color: inherit;
}
/* line 70, ../../../../../MathBook/mathbook-assets/scss/shared/_heading.scss */
#masthead #title-container > .heading.hide-type .type, #masthead .title-container > .heading.hide-type .type {
display: none;
}
/* line 77, ../../../../../MathBook/mathbook-assets/scss/shared/_heading.scss */
#masthead #title-container > .heading.hide-codenumber .codenumber, #masthead .title-container > .heading.hide-codenumber .codenumber {
display: none;
}
/* line 84, ../../../../../MathBook/mathbook-assets/scss/shared/_heading.scss */
#masthead #title-container > .heading.hide-title .title, #masthead .title-container > .heading.hide-title .title {
display: none;
}
/* line 65, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #title-container > .heading, #masthead .title-container > .heading {
margin: 0;
font-size: 2em;
line-height: 1.25em;
font-family: "PT Serif", "Times New Roman", Times, serif;
color: #932919;
}
@media screen and (max-width: 480px) {
/* line 19, ../../../../../MathBook/mathbook-assets/scss/shared/_heading.scss */
#masthead #title-container > .heading, #masthead .title-container > .heading {
font-size: 1.5em;
line-height: 1.25em;
margin: 0;
margin-bottom: 0.41667em;
}
}
/* line 86, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #title-container > .heading a:link, #masthead #title-container > .heading a:visited, #masthead .title-container > .heading a:link, #masthead .title-container > .heading a:visited {
color: #932919;
color: #932919;
background: none;
}
/* line 182, ../../../../../MathBook/mathbook-assets/scss/shared/_typography.scss */
#masthead #title-container > .heading a:link, .lt-ie10 #masthead #title-container > .heading a:link, #masthead #title-container > .heading a:visited, .lt-ie10 #masthead #title-container > .heading a:visited, #masthead .title-container > .heading a:link, .lt-ie10 #masthead .title-container > .heading a:link, #masthead .title-container > .heading a:visited, .lt-ie10 #masthead .title-container > .heading a:visited {
text-decoration: none;
}
/* line 94, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #title-container > .heading a:hover, #masthead #title-container > .heading a:focus, #masthead .title-container > .heading a:hover, #masthead .title-container > .heading a:focus {
color: #932919;
/**
* Better underlines using background gradients
* See http://bit.ly/1vTg7hr
*/
/* the better underlines were removed by David Farmer on 2/9/16
because of various headaches */
}
/* line 102, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #title-container > .heading a:active, #masthead .title-container > .heading a:active {
color: #3572a0;
/**
* Better underlines using background gradients
* See http://bit.ly/1vTg7hr
*/
/* the better underlines were removed by David Farmer on 2/9/16
because of various headaches */
}
/* line 112, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #title-container > .heading .subtitle, #masthead .title-container > .heading .subtitle {
font-weight: normal;
/* Much classier */
}
/* line 115, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
/*
#masthead #title-container > .heading .subtitle:before, #masthead .title-container > .heading .subtitle:before {
content: ": ";
}
*/
@media screen and (max-width: 800px) {
/* line 112, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #title-container > .heading .subtitle, #masthead .title-container > .heading .subtitle {
/* Force the subtitle onto a seperate line */
display: block;
font-size: 1.16667em;
line-height: 1.42857em;
/* De-emphasize relative to main title */
color: #595959;
/* Remove colon */
}
/* line 131, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #title-container > .heading .subtitle:before, #masthead .title-container > .heading .subtitle:before {
content: normal;
}
}
/* line 140, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #logo-link, #masthead .logo-link {
position: relative;
float: left;
font-size: 50px;
margin-top: 0.1em;
margin-left: 9.68px;
text-align: center;
line-height: 1;
/* Must be 1 so that icon placeholder is centered */
/* Display placeholder icon for css3 browsers (progressive enhancement) */
/* Override addons */
/* On mobile phones */
}
/* line 153, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #logo-link img, #masthead .logo-link img {
width: auto;
height: auto;
/* Allow font-size to control height
* so that icon placeholder height matches */
max-height: 1em;
}
/* line 167, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #logo-link:empty:before, #masthead .logo-link:empty:before {
font-family: "Open Sans";
font-size: 1em;
/* Center the icon in a square the size of the parent's font-size */
line-height: 1;
width: 1em;
display: inline-block;
vertical-align: top;
text-align: center;
color: #ccc;
}
/* line 169, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #logo-link:empty:before, .mathbook-book #masthead #logo-link:empty:before, #masthead .logo-link:empty:before, .mathbook-book #masthead .logo-link:empty:before {
/*
content: "\f2d0";
*/
content: "\2211";
}
/* line 173, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
.mathbook-article #masthead #logo-link:empty:before, .mathbook-article #masthead .logo-link:empty:before {
/*
content: "\f12e";
*/
content: "\2211";
}
/* line 189, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #logo-link:empty:hover:before, #masthead .logo-link:empty:hover:before {
color: #932919;
}
/* line 193, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #logo-link:empty:active:before, #masthead .logo-link:empty:active:before {
color: #3572a0;
}
/* line 199, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #logo-link:link, #masthead #logo-link:hover, #masthead #logo-link:active, #masthead .logo-link:link, #masthead .logo-link:hover, #masthead .logo-link:active {
background: transparent;
border: none;
text-decoration: none;
}
@media screen and (max-width: 480px) {
/* line 140, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #logo-link, #masthead .logo-link {
display: block;
float: none;
margin: 0;
font-size: 50px;
}
}
/* line 217, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #byline, #masthead .byline {
color: #333333;
font-weight: normal;
margin: 0;
font-size: 1.3125em;
line-height: 1.42857em;
min-height: inherit;
font-family: "PT Serif", "Times New Roman", Times, serif;
}
@media screen and (max-width: 480px) {
/* line 217, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #byline, #masthead .byline {
margin-top: 0;
font-size: 1em;
line-height: 1.25em;
}
}
/* line 235, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #byline a:link, #masthead #byline a:visited, #masthead .byline a:link, #masthead .byline a:visited {
color: #333333;
}
/* line 243, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #byline a:hover, #masthead #byline a:focus, #masthead .byline a:hover, #masthead .byline a:focus {
color: #932919;
}
/* line 250, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_masthead.scss */
#masthead #byline a:active, #masthead .byline a:active {
color: #3572a0;
}
/**
* Primary Navbar
* Contains primary actions for navigation or layout control
*/
/* line 44, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar, #primary-navbar-sticky-wrapper {
background: #ededed;
border-bottom: 1px solid #bababa;
z-index: 200;
height: 35.36px;
font-family: "PT Serif", "Times New Roman", Times, serif;
/* Smoothly transition box-shadow when navbar sticks/unsticks */
transition: box-shadow 400ms;
overflow: hidden;
*zoom: 1;
/*
* Styles applied to make the navbar persistently visible
* when it's sticky-wrapper is stuck
*/
}
/* line 60, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
.stuck #primary-navbar, .stuck #primary-navbar-sticky-wrapper {
position: fixed;
top: 0;
right: 0;
left: 0;
box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 5px;
}
@media screen and (max-width: 800px) {
/* line 73, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar, .stuck #primary-navbar, #primary-navbar-sticky-wrapper, .stuck #primary-navbar-sticky-wrapper {
position: fixed;
top: auto;
bottom: 0;
left: 0;
right: 0;
background: #ededed;
box-shadow: rgba(0, 0, 0, 0.3) 0px -2px 5px;
height: 44.2px;
}
}
/* line 90, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .button, #primary-navbar-sticky-wrapper .button {
cursor: pointer;
display: inline-block;
vertical-align: middle;
*vertical-align: auto;
zoom: 1;
*display: inline;
/* Disable accidental text-selection */
user-select: none;
/* Truncate overflowing text with ellipsis */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transition-property: text-indent, background-color;
transition-duration: 200ms;
float: left;
text-align: left;
position: relative;
display: block;
/* subtract border and padding from width
* so we can set width precisely as percent */
box-sizing: border-box;
font-size: 1em;
padding: 0;
margin: 0;
line-height: 35.36px;
/* Override link properties */
/* hover state */
/* active/pressed state */
/* Icon only at small screen sizes */
}
/* line 51, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_buttons.scss */
#primary-navbar .button:focus, #primary-navbar-sticky-wrapper .button:focus {
outline: thin dotted #333;
outline-offset: -2px;
/**
* Remove stupid inner dotted border applied by Firefox on focus
* See http://stackoverflow.com/a/199319/1599617
*/
}
/* line 215, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_buttons.scss */
#primary-navbar .button:active, #primary-navbar .button.active, #primary-navbar-sticky-wrapper .button:active, #primary-navbar-sticky-wrapper .button.active {
box-shadow: rgba(0, 0, 0, 0.5) 0 2px 5px inset;
}
/* line 111, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .button, #primary-navbar .button:hover, #primary-navbar .button:focus, #primary-navbar .button:visited, #primary-navbar .button:link, #primary-navbar .button:active, #primary-navbar-sticky-wrapper .button, #primary-navbar-sticky-wrapper .button:hover, #primary-navbar-sticky-wrapper .button:focus, #primary-navbar-sticky-wrapper .button:visited, #primary-navbar-sticky-wrapper .button:link, #primary-navbar-sticky-wrapper .button:active {
text-decoration: none;
}
/* line 115, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .button, #primary-navbar .button:link, #primary-navbar .button:visited, #primary-navbar-sticky-wrapper .button, #primary-navbar-sticky-wrapper .button:link, #primary-navbar-sticky-wrapper .button:visited {
color: #333333;
background-color: #ededed;
}
/* line 120, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .button:hover, #primary-navbar-sticky-wrapper .button:hover {
background-color: #fafafa;
}
/* line 125, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .button.active, #primary-navbar .button:active, #primary-navbar-sticky-wrapper .button.active, #primary-navbar-sticky-wrapper .button:active {
background-color: #e0e0e0;
}
/* line 130, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .button.disabled, #primary-navbar .button.disabled:link, #primary-navbar .button.disabled:visited, #primary-navbar .button.disabled:hover, #primary-navbar .button.disabled:focus, #primary-navbar .button.disabled:active, #primary-navbar-sticky-wrapper .button.disabled, #primary-navbar-sticky-wrapper .button.disabled:link, #primary-navbar-sticky-wrapper .button.disabled:visited, #primary-navbar-sticky-wrapper .button.disabled:hover, #primary-navbar-sticky-wrapper .button.disabled:focus, #primary-navbar-sticky-wrapper .button.disabled:active {
opacity: .4;
color: #333333;
background: #ededed;
cursor: default;
box-shadow: none;
}
@media screen and (max-width: 800px) {
/* line 90, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .button, #primary-navbar-sticky-wrapper .button {
/*@include button-hide-text($navbar-icon-box-size);*/
float: left;
text-align: center;
margin: 0;
line-height: 44.2px;
}
/* line 148, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .button.active, #primary-navbar .button:active, #primary-navbar-sticky-wrapper .button.active, #primary-navbar-sticky-wrapper .button:active {
/* Vertically flip shadow for lower navbar */
box-shadow: rgba(0, 0, 0, 0.5) 0 -2px 5px inset;
}
}
/* line 183, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .sidebar-left-toggle-button, #primary-navbar-sticky-wrapper .sidebar-left-toggle-button {
/* Do not display if has-sidebar-left is missing */
display: none;
/*On desktop screens, */
padding: 0;
}
/* line 187, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
.has-sidebar-left #primary-navbar .sidebar-left-toggle-button, .has-sidebar-left #primary-navbar-sticky-wrapper .sidebar-left-toggle-button {
display: block;
width: 240px;
}
@media screen and (min-width: 801px) {
/* line 194, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .sidebar-left-toggle-button.active, #primary-navbar-sticky-wrapper .sidebar-left-toggle-button.active {
/* Show text if hidden and match sidebar width */
text-indent: 0;
width: 240px;
}
}
/* line 284, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_buttons.scss */
#primary-navbar .sidebar-left-toggle-button:before, #primary-navbar-sticky-wrapper .sidebar-left-toggle-button:before {
content: "\f20d";
content: "\2630";
text-align: center;
font-size: 24px;
line-height: 35.36px;
width: 35.36px;
text-indent: 0;
/* So text isn't removed from this too */
display: inline-block;
vertical-align: baseline;
*vertical-align: auto;
zoom: 1;
*display: inline;
}
@media screen and (max-width: 800px) {
/* line 183, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .sidebar-left-toggle-button, #primary-navbar-sticky-wrapper .sidebar-left-toggle-button {
/* Disable ellipsis */
white-space: normal;
overflow: visible;
text-overflow: clip;
/* center the icon */
text-align: center;
position: relative;
/* hide the text */
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
}
/* line 284, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_buttons.scss */
#primary-navbar .sidebar-left-toggle-button:before, #primary-navbar-sticky-wrapper .sidebar-left-toggle-button:before {
content: "\f20d";
content: "\2630";
text-align: center;
font-size: 30px;
line-height: 36px;
width: 44.2px;
text-indent: 0;
/* So text isn't removed from this too */
display: inline-block;
vertical-align: auto;
zoom: 1;
}
/* line 320, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_buttons.scss */
#primary-navbar .sidebar-left-toggle-button:before, #primary-navbar-sticky-wrapper .sidebar-left-toggle-button:before {
position: absolute;
left: 50%;
right: auto;
margin-left: -22.1px;
top: 50%;
bottom: auto;
margin-top: -22.1px;
}
}
/* line 229, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .up-button, #primary-navbar-sticky-wrapper .up-button {
text-align: center;
}
/* line 284, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_buttons.scss */
#primary-navbar .up-button:before, #primary-navbar-sticky-wrapper .up-button:before {
content: "\f126";
content: "^";
text-align: center;
font-size: 16px;
font-size: 24px;
font-family: "Open Sans";
/*
line-height: 35.36px;
width: 35.36px;
*/
text-indent: 0;
/* So text isn't removed from this too */
display: inline-block;
vertical-align: middle;
}
@media screen and (max-width: 800px) {
/* line 229, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .up-button, #primary-navbar-sticky-wrapper .up-button {
/* Disable ellipsis */
white-space: normal;
overflow: visible;
text-overflow: clip;
/* center the icon */
text-align: center;
position: relative;
/* hide the text */
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
}
/* line 284, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_buttons.scss */
#primary-navbar .up-button:before, #primary-navbar-sticky-wrapper .up-button:before {
content: "\f126";
content: "^";
text-align: center;
font-size: 20px;
font-size: 36px;
font-family: "Open Sans";
line-height: 44.2px;
width: 44.2px;
text-indent: 0;
padding-top: 5px;
/* So text isn't removed from this too */
display: inline-block;
vertical-align: middle;
}
/* line 320, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_buttons.scss */
#primary-navbar .up-button:before, #primary-navbar-sticky-wrapper .up-button:before {
position: absolute;
left: 50%;
right: auto;
margin-left: -22.1px;
top: 50%;
bottom: auto;
margin-top: -22.1px;
}
}
/* line 284, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_buttons.scss */
#primary-navbar .previous-button:before, #primary-navbar-sticky-wrapper .previous-button:before {
content: "\f124";
content: "<";
text-align: center;
font-size: 16px;
font-size: 24px;
font-family: "Open Sans";
/*
line-height: 35.36px;
width: 55.36px;
*/
text-indent: 0;
/* So text isn't removed from this too */
display: inline-block;
vertical-align: middle;
padding-bottom: 5px;
zoom: 1;
}
@media screen and (max-width: 800px) {
/* line 234, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .previous-button, #primary-navbar-sticky-wrapper .previous-button {
/* Disable ellipsis */
white-space: normal;
overflow: visible;
text-overflow: clip;
/* center the icon */
text-align: center;
position: relative;
/* hide the text */
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
}
/* line 284, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_buttons.scss */
#primary-navbar .previous-button:before, #primary-navbar-sticky-wrapper .previous-button:before {
content: "\f124";
content: "<";
text-align: center;
font-size: 20px;
font-size: 40px;
font-family: "Open Sans";
line-height: 36px;
width: 44.2px;
text-indent: 0;
/* So text isn't removed from this too */
display: inline-block;
padding-top: 5px;
vertical-align: baseline;
vertical-align: middle;
}
/* line 320, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_buttons.scss */
#primary-navbar .previous-button:before, #primary-navbar-sticky-wrapper .previous-button:before {
position: absolute;
left: 50%;
right: auto;
margin-left: -22.1px;
top: 50%;
bottom: auto;
margin-top: -22.1px;
}
}
/* line 238, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .next-button, #primary-navbar-sticky-wrapper .next-button {
text-align: right;
}
/* line 284, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_buttons.scss */
#primary-navbar .next-button:after, #primary-navbar-sticky-wrapper .next-button:after {
content: "\f125";
content: ">";
text-align: center;
font-size: 16px;
font-size: 24px;
font-family: "Open Sans";
/*
line-height: 35.36px;
width: 35.36px;
*/
text-indent: 0;
padding-bottom: 5px;
/* So text isn't removed from this too */
display: inline-block;
vertical-align: middle;
}
@media screen and (max-width: 800px) {
/* line 238, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .next-button, #primary-navbar-sticky-wrapper .next-button {
/* Disable ellipsis */
white-space: normal;
overflow: visible;
text-overflow: clip;
/* center the icon */
text-align: center;
position: relative;
/* hide the text */
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
}
/* line 284, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_buttons.scss */
#primary-navbar .next-button:after, #primary-navbar-sticky-wrapper .next-button:after {
content: "\f125";
content: ">";
text-align: center;
font-size: 20px;
font-size: 40px;
font-family: "Open Sans";
line-height: 36px;
width: 44.2px;
text-indent: 0;
padding-top: 5px;
/* So text isn't removed from this too */
display: inline-block;
vertical-align: baseline;
}
/* line 320, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_buttons.scss */
#primary-navbar .next-button:after, #primary-navbar-sticky-wrapper .next-button:after {
position: absolute;
left: 50%;
right: auto;
margin-left: -22.1px;
top: 50%;
bottom: auto;
margin-top: -22.1px;
}
}
@media screen and (max-width: 800px) {
/* line 243, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .settings-button, #primary-navbar-sticky-wrapper .settings-button {
/* Disable ellipsis */
white-space: normal;
overflow: visible;
text-overflow: clip;
/* center the icon */
text-align: center;
position: relative;
/* hide the text */
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
}
/* line 320, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_buttons.scss */
#primary-navbar .settings-button:before, #primary-navbar-sticky-wrapper .settings-button:before {
position: absolute;
left: 50%;
right: auto;
margin-left: -22.1px;
top: 50%;
bottom: auto;
margin-top: -22.1px;
}
}
/* line 255, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar, #primary-navbar .toolbar > .toolbar-item, #primary-navbar .button, #primary-navbar-sticky-wrapper .toolbar, #primary-navbar-sticky-wrapper .toolbar > .toolbar-item, #primary-navbar-sticky-wrapper .button {
/* Use a left border */
border: 1px solid #bababa;
border-top: none;
border-bottom: none;
border-right: none;
/* subtract border and padding from width
* so we can set width precisely as percent */
box-sizing: border-box;
}
/* line 270, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar, #primary-navbar-sticky-wrapper .toolbar {
/**
* Ensure adjacent borders do not double up
* BEWARE: THERE BE DRAGONS HERE.
*/
/*
* Order is reversed when we float right
* So we need to swap first and last on toolbar-item-children
* BEWARE: THERE BE DRAGONS HERE.
*/
/**
* Make this item's bottom edge clear floated toolbar-items
* so that our borders display correctly
*/
overflow: hidden;
*zoom: 1;
}
#primary-navbar .toolbar .toolbar-item, #primary-navbar .toolbar.toolbar-align-left .toolbar-item, #primary-navbar-sticky-wrapper .toolbar .toolbar-item, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-left .toolbar-item {
float: left;
}
#primary-navbar .toolbar.toolbar-align-right .toolbar-item, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-right .toolbar-item {
float: right;
}
#primary-navbar .toolbar.toolbar-divisor-1 > .toolbar-item, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-1 > .toolbar-item {
width: 100%;
}
#primary-navbar .toolbar.toolbar-divisor-2 > .toolbar-item, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-2 > .toolbar-item {
width: 50%;
}
#primary-navbar .toolbar.toolbar-divisor-3 > .toolbar-item, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-3 > .toolbar-item {
width: 33.33333%;
}
#primary-navbar .toolbar.toolbar-divisor-4 > .toolbar-item, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-4 > .toolbar-item {
width: 25%;
}
#primary-navbar .toolbar.toolbar-divisor-5 > .toolbar-item, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-5 > .toolbar-item {
width: 20%;
}
/* line 292, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-divisor-1 > .toolbar-item:first-child, #primary-navbar .toolbar.toolbar-align-left.toolbar-divisor-1 > .toolbar-item:first-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-1 > .toolbar-item:first-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-left.toolbar-divisor-1 > .toolbar-item:first-child {
border-left: none;
}
/* line 300, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-divisor-1 > .toolbar-item:last-child, #primary-navbar .toolbar.toolbar-align-left.toolbar-divisor-1 > .toolbar-item:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-1 > .toolbar-item:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-left.toolbar-divisor-1 > .toolbar-item:last-child {
border-right: none;
}
/* line 304, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-divisor-1 > .toolbar-item:first-child:last-child, #primary-navbar .toolbar.toolbar-align-left.toolbar-divisor-1 > .toolbar-item:first-child:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-1 > .toolbar-item:first-child:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-left.toolbar-divisor-1 > .toolbar-item:first-child:last-child {
border-left: none;
border-right: 1px solid #bababa;
}
/* line 292, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-divisor-2 > .toolbar-item:first-child, #primary-navbar .toolbar.toolbar-align-left.toolbar-divisor-2 > .toolbar-item:first-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-2 > .toolbar-item:first-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-left.toolbar-divisor-2 > .toolbar-item:first-child {
border-left: none;
}
/* line 300, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-divisor-2 > .toolbar-item:last-child, #primary-navbar .toolbar.toolbar-align-left.toolbar-divisor-2 > .toolbar-item:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-2 > .toolbar-item:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-left.toolbar-divisor-2 > .toolbar-item:last-child {
border-right: none;
}
/* line 304, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-divisor-2 > .toolbar-item:first-child:last-child, #primary-navbar .toolbar.toolbar-align-left.toolbar-divisor-2 > .toolbar-item:first-child:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-2 > .toolbar-item:first-child:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-left.toolbar-divisor-2 > .toolbar-item:first-child:last-child {
border-left: none;
border-right: 1px solid #bababa;
}
/* line 292, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-divisor-3 > .toolbar-item:first-child, #primary-navbar .toolbar.toolbar-align-left.toolbar-divisor-3 > .toolbar-item:first-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-3 > .toolbar-item:first-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-left.toolbar-divisor-3 > .toolbar-item:first-child {
border-left: none;
}
/* line 300, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-divisor-3 > .toolbar-item:last-child, #primary-navbar .toolbar.toolbar-align-left.toolbar-divisor-3 > .toolbar-item:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-3 > .toolbar-item:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-left.toolbar-divisor-3 > .toolbar-item:last-child {
border-right: none;
}
/* line 304, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-divisor-3 > .toolbar-item:first-child:last-child, #primary-navbar .toolbar.toolbar-align-left.toolbar-divisor-3 > .toolbar-item:first-child:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-3 > .toolbar-item:first-child:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-left.toolbar-divisor-3 > .toolbar-item:first-child:last-child {
border-left: none;
border-right: 1px solid #bababa;
}
/* line 292, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-divisor-4 > .toolbar-item:first-child, #primary-navbar .toolbar.toolbar-align-left.toolbar-divisor-4 > .toolbar-item:first-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-4 > .toolbar-item:first-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-left.toolbar-divisor-4 > .toolbar-item:first-child {
border-left: none;
}
/* line 300, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-divisor-4 > .toolbar-item:last-child, #primary-navbar .toolbar.toolbar-align-left.toolbar-divisor-4 > .toolbar-item:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-4 > .toolbar-item:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-left.toolbar-divisor-4 > .toolbar-item:last-child {
border-right: none;
}
/* line 304, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-divisor-4 > .toolbar-item:first-child:last-child, #primary-navbar .toolbar.toolbar-align-left.toolbar-divisor-4 > .toolbar-item:first-child:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-4 > .toolbar-item:first-child:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-left.toolbar-divisor-4 > .toolbar-item:first-child:last-child {
border-left: none;
border-right: 1px solid #bababa;
}
/* line 292, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-divisor-5 > .toolbar-item:first-child, #primary-navbar .toolbar.toolbar-align-left.toolbar-divisor-5 > .toolbar-item:first-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-5 > .toolbar-item:first-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-left.toolbar-divisor-5 > .toolbar-item:first-child {
border-left: none;
}
/* line 300, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-divisor-5 > .toolbar-item:last-child, #primary-navbar .toolbar.toolbar-align-left.toolbar-divisor-5 > .toolbar-item:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-5 > .toolbar-item:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-left.toolbar-divisor-5 > .toolbar-item:last-child {
border-right: none;
}
/* line 304, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-divisor-5 > .toolbar-item:first-child:last-child, #primary-navbar .toolbar.toolbar-align-left.toolbar-divisor-5 > .toolbar-item:first-child:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-divisor-5 > .toolbar-item:first-child:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-left.toolbar-divisor-5 > .toolbar-item:first-child:last-child {
border-left: none;
border-right: 1px solid #bababa;
}
/* line 319, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-align-right.toolbar-divisor-1 > .toolbar-item:first-child, #primary-navbar .toolbar.toolbar-align-right.toolbar-divisor-1 > .toolbar-item:first-child:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-right.toolbar-divisor-1 > .toolbar-item:first-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-right.toolbar-divisor-1 > .toolbar-item:first-child:last-child {
border-right: none;
border-left: 1px solid #bababa;
}
/* line 324, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-align-right.toolbar-divisor-1 > .toolbar-item:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-right.toolbar-divisor-1 > .toolbar-item:last-child {
border-left: none;
}
/* line 319, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-align-right.toolbar-divisor-2 > .toolbar-item:first-child, #primary-navbar .toolbar.toolbar-align-right.toolbar-divisor-2 > .toolbar-item:first-child:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-right.toolbar-divisor-2 > .toolbar-item:first-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-right.toolbar-divisor-2 > .toolbar-item:first-child:last-child {
border-right: none;
border-left: 1px solid #bababa;
}
/* line 324, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-align-right.toolbar-divisor-2 > .toolbar-item:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-right.toolbar-divisor-2 > .toolbar-item:last-child {
border-left: none;
}
/* line 319, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-align-right.toolbar-divisor-3 > .toolbar-item:first-child, #primary-navbar .toolbar.toolbar-align-right.toolbar-divisor-3 > .toolbar-item:first-child:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-right.toolbar-divisor-3 > .toolbar-item:first-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-right.toolbar-divisor-3 > .toolbar-item:first-child:last-child {
border-right: none;
border-left: 1px solid #bababa;
}
/* line 324, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-align-right.toolbar-divisor-3 > .toolbar-item:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-right.toolbar-divisor-3 > .toolbar-item:last-child {
border-left: none;
}
/* line 319, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-align-right.toolbar-divisor-4 > .toolbar-item:first-child, #primary-navbar .toolbar.toolbar-align-right.toolbar-divisor-4 > .toolbar-item:first-child:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-right.toolbar-divisor-4 > .toolbar-item:first-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-right.toolbar-divisor-4 > .toolbar-item:first-child:last-child {
border-right: none;
border-left: 1px solid #bababa;
}
/* line 324, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-align-right.toolbar-divisor-4 > .toolbar-item:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-right.toolbar-divisor-4 > .toolbar-item:last-child {
border-left: none;
}
/* line 319, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-align-right.toolbar-divisor-5 > .toolbar-item:first-child, #primary-navbar .toolbar.toolbar-align-right.toolbar-divisor-5 > .toolbar-item:first-child:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-right.toolbar-divisor-5 > .toolbar-item:first-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-right.toolbar-divisor-5 > .toolbar-item:first-child:last-child {
border-right: none;
border-left: 1px solid #bababa;
}
/* line 324, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-align-right.toolbar-divisor-5 > .toolbar-item:last-child, #primary-navbar-sticky-wrapper .toolbar.toolbar-align-right.toolbar-divisor-5 > .toolbar-item:last-child {
border-left: none;
}
/* line 330, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar:first-child, #primary-navbar-sticky-wrapper .toolbar:first-child {
border-left: none;
}
/* line 334, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar:last-child, #primary-navbar-sticky-wrapper .toolbar:last-child {
border-right: none;
}
/* line 347, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .toolbar.toolbar-borderless, #primary-navbar .toolbar.toolbar-borderless > .toolbar-item, #primary-navbar .toolbar.toolbar-borderless.toolbar-align-right, #primary-navbar .toolbar.toolbar-borderless.toolbar-align-right > .toolbar-item, #primary-navbar .toolbar.toolbar-borderless.toolbar-align-left, #primary-navbar .toolbar.toolbar-borderless.toolbar-align-left > .toolbar-item, #primary-navbar-sticky-wrapper .toolbar.toolbar-borderless, #primary-navbar-sticky-wrapper .toolbar.toolbar-borderless > .toolbar-item, #primary-navbar-sticky-wrapper .toolbar.toolbar-borderless.toolbar-align-right, #primary-navbar-sticky-wrapper .toolbar.toolbar-borderless.toolbar-align-right > .toolbar-item, #primary-navbar-sticky-wrapper .toolbar.toolbar-borderless.toolbar-align-left, #primary-navbar-sticky-wrapper .toolbar.toolbar-borderless.toolbar-align-left > .toolbar-item {
border-left: none;
border-right: none;
border-top: none;
border-bottom: none;
}
/* line 360, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .navbar-bottom-buttons, #primary-navbar-sticky-wrapper .navbar-bottom-buttons {
display: none;
}
@media screen and (max-width: 800px) {
/* line 360, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .navbar-bottom-buttons, #primary-navbar-sticky-wrapper .navbar-bottom-buttons {
display: block;
}
}
/* line 368, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .navbar-top-buttons, #primary-navbar-sticky-wrapper .navbar-top-buttons {
display: block;
}
/* The ">" because the GeoGebra calculator has a .toolbar */
.has-sidebar-left #primary-navbar .navbar-top-buttons > .toolbar, .has-sidebar-left #primary-navbar-sticky-wrapper .navbar-top-buttons > .toolbar {
margin-left: 240px;
border-right: 1px solid #bababa;
}
/* line 376, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
.has-sidebar-left #primary-navbar .navbar-top-buttons .toolbar .sidebar-left-toggle-button, .has-sidebar-left #primary-navbar-sticky-wrapper .navbar-top-buttons .toolbar .sidebar-left-toggle-button {
width: 240px;
}
@media screen and (max-width: 800px) {
/* line 368, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_primary-navbar.scss */
#primary-navbar .navbar-top-buttons, #primary-navbar-sticky-wrapper .navbar-top-buttons {
display: none;
}
}
@media screen and (max-width: 1199px) {
/* line 48, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_layout.scss */
#primary-navbar#primary-navbar-sticky-wrapper, #primary-navbar-sticky-wrapper#primary-navbar-sticky-wrapper {
height: 0;
}
}
/**
* Houses the page (everything that is not header or footer)
*/
/* line 71, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_layout.scss */
.page {
position: relative;
}
@media screen and (max-width: 800px) {
/* line 71, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_layout.scss */
.page {
/* Clip hidden sidebars */
overflow: hidden;
}
}
/**
* These styles apply to the sidebar-left root,
* whether it be the wrapper or the sidebar-left itself.
* Note: The #sidebar-left-sticky-wrapper is added by javascript on page load
*/
/* line 92, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_layout.scss */
.page > #sidebar-left, #sidebar-left-sticky-wrapper {
/* Hide sidebar by default */
display: none;
}
/* line 98, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_layout.scss */
.has-sidebar-left .page > #sidebar-left, .has-sidebar-left #sidebar-left-sticky-wrapper {
display: block;
}
/* line 41, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_sliding-sidebars.scss */
.has-sidebar-left .page > #sidebar-left, .has-sidebar-left #sidebar-left-sticky-wrapper {
position: absolute;
/* Default styles on load, before javascript loads */
margin-left: 0;
transition-property: margin-left;
transition-duration: 400ms;
}
@media screen and (max-width: 800px) {
/* line 41, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_sliding-sidebars.scss */
.has-sidebar-left .page > #sidebar-left, .has-sidebar-left #sidebar-left-sticky-wrapper {
/* Small */
margin-left: -240px;
}
}
/* line 55, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_sliding-sidebars.scss */
.has-sidebar-left.mathbook-loading.sidebar-left-open .page > #sidebar-left, .has-sidebar-left.mathbook-loaded.sidebar-left-open .page > #sidebar-left, .has-sidebar-left.mathbook-loading.sidebar-left-open #sidebar-left-sticky-wrapper, .has-sidebar-left.mathbook-loaded.sidebar-left-open #sidebar-left-sticky-wrapper {
margin-left: 0;
}
/* line 61, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_sliding-sidebars.scss */
.has-sidebar-left.mathbook-loading.sidebar-left-closed .page > #sidebar-left, .has-sidebar-left.mathbook-loaded.sidebar-left-closed .page > #sidebar-left, .has-sidebar-left.mathbook-loading.sidebar-left-closed #sidebar-left-sticky-wrapper, .has-sidebar-left.mathbook-loaded.sidebar-left-closed #sidebar-left-sticky-wrapper {
margin-left: -240px;
}
/* line 65, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_sliding-sidebars.scss */
.page > #sidebar-left .sidebar-content, #sidebar-left-sticky-wrapper .sidebar-content {
width: 240px;
}
/* line 109, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_layout.scss */
#sidebar-left {
/**
* Trick webkit browers into generating a compositing layer for this
* element so that we benefit from GPU acceleration.
*
* We config backface-visibility and perspective to improve performance
* See: http://stackoverflow.com/a/10133679/1599617
*
* IMPORTANT: this will reset the coordinate context for child elements
* with fixed positioning.
*/
transform: translateZ(0);
backface-visibility: hidden;
perspective: 1000;
}
/* line 18, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_sidebar-extras.scss */
.sidebar-content .extras {
position: relative;
border: 0.3125em solid #2b2b2b;
border-left: none;
border-right: none;
border-bottom: none;
}
/* line 35, ../../../../../MathBook/mathbook-assets/scss/ui/partials/_sidebar-extras.scss */
.sidebar-content .extras:before {
content: "";
position: absolute;
right: 0;
left: 0;
height: 5px;
top: -5px;
margin-top: -0.3125em;
background: linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
z-index: 200;
/*
* Allow click/hover events to pass through on browsers that support it
* We don't care too much about browsers that don't support since this
* object is so small.
*/
pointer-events: none;
}
/* line 98, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_navtree.scss */
.sidebar-content .extras a {
position: relative;
display: block;
font-size: 14.56px;
padding: 4.5px;
padding-left: 0.25em;
border: 1px solid #2b2b2b;
border-right: none;
border-left: none;
}
/* line 113, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_navtree.scss */
.sidebar-content .extras a, .sidebar-content .extras a:link, .sidebar-content .extras a:visited, .sidebar-content .extras a:hover, .sidebar-content .extras a:active {
text-decoration: none;
}
/* line 117, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_navtree.scss */
.sidebar-content .extras a, .sidebar-content .extras a:link, .sidebar-content .extras a:visited {
color: #d9d9d9;
background: #454545;
}
/* line 128, ../../../../../MathBook/mathbook-assets/scss/ui/mixins/_navtree.scss */
.sidebar-content .extras a.active, .sidebar-content .extras a:active {
color: white;
background: #3d3d3d;