File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -1238,7 +1238,10 @@ $(function () {
1238
1238
1239
1239
/*-------------------------------------------------------------------------------------*/
1240
1240
1241
- $ ( '#content' ) . append ( '<div id="allSideBoxes">' ) ;
1241
+ //$('body').append('<div id="allSideBoxes">');
1242
+ //$('#content').prepend('<div id="allSideBoxes">');
1243
+ //$('body').prepend('<div id="allSideBoxes">');
1244
+ $ ( '#content' ) . before ( '<div id="allSideBoxes">' ) ;
1242
1245
1243
1246
// The definitions side bar
1244
1247
var dfns = document . getElementsByClassName ( 'def' ) ;
Original file line number Diff line number Diff line change @@ -8,15 +8,20 @@ a:hover{ text-decoration: underline }
8
8
div # header { position : fixed; top : 0 ; left : 0 ; right : 0 ; background-color : # f5f5f5 ; z-index : 2 ; height : 5.2em ; overflow : clip; }
9
9
div # header + hr {position : fixed; top : 5.2em ; left : 0 ; right : 0 ; z-index : 2 }
10
10
div # header input {-webkit-appearance : searchfield;-moz-appearance : searchfield;appearance : searchfield;}
11
- div # content { margin-top : 5.3em ; }
11
+ div # content { margin-top : 5.3em ; overflow : auto; /*width:100%;*/ height : calc ( 100 vh - 5.3 em ); }
12
12
13
13
/* Fixme: We could experiment around with max-height: 90 vh? */
14
14
# allSideBoxes {
15
- position : fixed; margin-top : 1ex ; top : 5.2em ; right : 10px ; z-index : 1 ;
16
- max-height : 30em ;
15
+ float : right;
16
+ display : inline-block;
17
+ /*position:fixed; margin-top:0px; margin-right:0px;top:5.2em; right:0px*/ ;/* z-index:1;*/
18
+ /*max-height:30em;
19
+ max-height:calc(100vh - 5.2em);
20
+ height:calc(100vh - 5.2em);*/
21
+ background- color : red;
17
22
}
18
23
.sideBox {
19
- padding : 1ex ; border-radius : 0.5 ex ; overflow : hide; font-size : smaller; margin-bottom : 1em ;
24
+ padding : 1ex ; border-radius : 0.25 ex ; overflow : hide; font-size : smaller; margin-bottom : 1em ;
20
25
max-height : 100% ;
21
26
}
22
27
.sideBox h3 { text-align : center; width : 100% ; cursor : pointer; cursor : hand; margin : 0 ;}
@@ -26,6 +31,9 @@ display:block; overflow:auto; max-width:20em; max-height:20em; list-style:none;
26
31
.sideBox li {
27
32
list-style-type : none; padding : 0 ; margin-right : 1ex ;
28
33
}
34
+ @media only screen and (max-height : 50em ) {
35
+ .sideBox {max-height : 25em ;}
36
+ }
29
37
30
38
.code { border-collapse : collapse; width : 100% ; padding : 0 }
31
39
.code { font-family : monospace; }
You can’t perform that action at this time.
0 commit comments