99 color : # 022e4d ;
1010 border-radius : 4px ;
1111 box-shadow : 2px -2px 5px 0px rgba (0 , 0 , 0 , 0.4 );
12+ padding-top : 100px ;
1213}
1314
1415.starter-template {
@@ -21,18 +22,63 @@ body{
2122 top : 5px ;
2223}
2324.navbar {
24- height : 82px ;
25- max-height : 82px ;
25+ width : 100% ;
26+ left : 0 ;
27+ right : 0 ;
28+ height : 80px ;
29+ max-height : 80px ;
30+ box-sizing : border-box;
31+ margin : 0 ;
32+ padding : 0 ;
2633/* border: none;*/
2734 -webkit-user-select : none;
2835 -moz-user-select : none;
2936 -ms-user-select : none;user-select : none;
3037}
3138
39+ .navbar > .container-fluid {
40+ display : flex;
41+ align-items : center;
42+ width : 100% ;
43+ box-sizing : border-box;
44+ padding : 0 15px ;
45+ }
46+
47+ .navbar > .container-fluid .navbar-brand ,
48+ .navbar-brand {
49+ display : flex;
50+ align-items : center;
51+ padding : 10px 15px ;
52+ height : auto;
53+ min-height : 60px ;
54+ margin : 0 ;
55+ }
56+
57+ .navbar-logo {
58+ max-height : 60px ;
59+ height : 60px ;
60+ width : auto;
61+ margin-right : 20px ;
62+ display : inline-block;
63+ vertical-align : middle;
64+ }
65+
66+ /* Scale down logo on narrow screens */
67+ @media (max-width : 768px ) {
68+ .navbar-logo {
69+ max-height : 45px ;
70+ height : 45px ;
71+ margin-right : 15px ;
72+ }
73+ }
74+
3275.navbar .navbar-nav {
3376 background : # f8f8f8 ;
3477 margin-bottom : 0px ;
35- margin-left : -20px ;
78+ /* margin-left: -15px; */
79+ /* margin-right: -15px; */
80+ /* padding-left: 20px; */
81+ width : 100% ;
3682}
3783
3884
@@ -71,8 +117,61 @@ body{
71117.navbar-collapse {
72118 border-style : none;
73119 position : absolute;
74- top : 50 px ;
120+ top : 80 px ;
75121 z-index : 100 ;
122+ overflow : visible;
123+ width : calc (100% - 30px );
124+ left : 15px ;
125+ }
126+
127+ /* Dropdown menu styling */
128+ .navbar .navbar-nav > .dropdown {
129+ position : relative;
130+ }
131+
132+ .dropdown-toggle {
133+ position : relative;
134+ }
135+
136+ .dropdown-menu {
137+ display : none !important ;
138+ position : absolute;
139+ top : 100% ;
140+ left : 0 ;
141+ z-index : 1000 ;
142+ float : left;
143+ min-width : 160px ;
144+ padding : 5px 0 ;
145+ margin : 0 ;
146+ font-size : 14px ;
147+ text-align : left;
148+ list-style : none;
149+ background-color : # fff ;
150+ border : 1px solid # ccc ;
151+ border-radius : 4px ;
152+ box-shadow : 0 6px 12px rgba (0 , 0 , 0 , .175 );
153+ }
154+
155+ .dropdown-menu .show {
156+ display : block !important ;
157+ }
158+
159+ .open > .dropdown-menu ,
160+ .navbar .navbar-nav > .open > .dropdown-menu {
161+ display : block !important ;
162+ }
163+
164+ .dropdown-toggle ::after {
165+ display : inline-block;
166+ width : 0 ;
167+ height : 0 ;
168+ margin-left : 0.385em ;
169+ vertical-align : 0.255em ;
170+ content : "" ;
171+ border-top : 0.3em solid;
172+ border-right : 0.3em solid transparent;
173+ border-bottom : 0 ;
174+ border-left : 0.3em solid transparent;
76175}
77176/* ---------------------------------- */
78177
81180 max-width : 100% ;
82181 }
83182
84- .navbar > .container-fluid .navbar-brand > img {
85- position : absolute;
86- left : 10px ;
87- height : 30px ;
88- }
89-
90183.footer {
91184/* background-color: white;
92185 border-color: white; */
@@ -124,8 +217,9 @@ th, td{
124217 padding-right : 1em ;
125218}
126219th {
127- background-color : grey;
128- color : white;
220+ background-color : # f5f5f5 ;
221+ color : # 022e4d ;
222+ border : none;
129223}
130224.table_with_header tr : nth-child (even) {
131225 background-color : # f2f2f2 ;
138232code , pre {
139233border : 0 ;
140234color : # 750000 ;
141- # background-color : # f5f5f5 ;
235+ background-color : # f5f5f5 ;
142236}
143237
144238
@@ -152,14 +246,20 @@ div.figure{
152246 border : none;
153247}
154248
155-
156249tr .border_top td {
157250 border-top : 1pt solid # 022e4d ;
158251}
159252tr .border_bottom td {
160253 border-bottom : 1pt solid # 022e4d ;
161254}
162255
256+ td .label {
257+ color : # 022e4d ;
258+ }
259+ table .citation > thead > tr > th , .table .citation > tbody > tr > th , .table .citation > tfoot > tr > th , .table .citation > thead > tr > td , .table .citation > tbody > tr > td , .table .citation > tfoot > tr > td {
260+ border-top : none;
261+ }
262+
163263h1 {
164264 font-size : 2em ;
165265}
@@ -192,5 +292,88 @@ table.citation{
192292.page-content {
193293 margin : 10px ;
194294}
295+
296+ /* Adjust main content for fixed sidebar */
297+ .body .col-md-9 {
298+ margin-left : 26% ;
299+ margin-top : 10px ;
300+ }
301+
302+ /* Position sidebar column to not interfere */
303+ .col-md-3 {
304+ width : 0 ;
305+ padding : 0 ;
306+ margin : 0 ;
307+ }
308+
309+ /* Sidebar list styling fix */
310+ .bs-sidenav {
311+ position : fixed;
312+ top : 100px ;
313+ left : 15px ;
314+ width : 25% ;
315+ max-height : calc (100vh - 100px );
316+ overflow-y : auto;
317+ overflow-x : hidden;
318+ }
319+
320+ .bs-sidenav ul {
321+ list-style : none;
322+ padding-left : 0 ;
323+ margin-left : 0 ;
324+ }
325+
326+ .bs-sidenav li {
327+ list-style : none;
328+ padding-left : 0 ;
329+ margin-left : 0 ;
330+ }
331+
332+ .bs-sidenav > ul > li {
333+ list-style : none;
334+ padding-left : 0 ;
335+ margin-left : 0 ;
336+ line-height : 1.5 ;
337+ }
338+
339+ .bs-sidenav > ul > li > a {
340+ display : block;
341+ padding-left : 0 ;
342+ margin-left : 0 ;
343+ }
344+
345+ .bs-sidenav ul ul {
346+ list-style : none;
347+ padding-left : 20px ;
348+ margin-left : 0 ;
349+ }
350+
351+ .bs-sidenav ul ul li {
352+ list-style : none;
353+ padding-left : 0 ;
354+ margin-left : 0 ;
355+ }
356+
357+ /* Fix for navigation list items (Previous/Next Chapter) outside ul */
358+ .bs-sidenav > li {
359+ list-style : none;
360+ padding-left : 0 ;
361+ margin-left : 0 ;
362+ display : block;
363+ }
364+
365+ .bs-sidenav > li > a {
366+ display : block;
367+ color : # 716b7a ;
368+ padding : 5px 20px ;
369+ text-decoration : none;
370+ }
371+
372+ .bs-sidenav > li > a : hover ,
373+ .bs-sidenav > li > a : focus {
374+ text-decoration : none;
375+ background-color : # e5e3e9 ;
376+ border-right : 1px solid # dbd8e0 ;
377+ }
195378/* End stylesheet from main web site -------------------- */
196379/* ------------------------------------------------------ */
0 commit comments