@@ -1071,7 +1071,14 @@ $sidebar-display: "sidebar-display";
10711071 -webkit-transform : translate3d (0 , -5px , 0 );
10721072}
10731073
1074- /* --- Responsive Design --- */
1074+ /*
1075+ Responsive Design:
1076+
1077+ {sidebar, content, panel} >= 1120px screen width
1078+ {sidebar, content} >= 850px screen width
1079+ {content} <= 849px screen width
1080+
1081+ */
10751082
10761083@media all and (max-width : 576px ) {
10771084
@@ -1121,8 +1128,8 @@ $sidebar-display: "sidebar-display";
11211128
11221129}
11231130
1124- /* Hide Sidebar and TOC */
1125- @media all and (max-width : 830 px ) {
1131+ /* hide sidebar and panel */
1132+ @media all and (max-width : 849 px ) {
11261133 %slide {
11271134 -webkit-transition : transform 0.4s ease ;
11281135 transition : transform 0.4s ease ;
@@ -1239,16 +1246,17 @@ $sidebar-display: "sidebar-display";
12391246 }
12401247 }
12411248
1242- }
1249+ } // max-width: 849px
12431250
1251+ /* Phone & Pad */
12441252@media all and (min-width : 577px ) and (max-width : 1199px ) {
12451253 footer > .d-flex > div {
12461254 width : 312px ;
12471255 }
12481256}
12491257
1250- /* Sidebar visible */
1251- @media all and (min-width : 831 px ) {
1258+ /* Sidebar is visible */
1259+ @media all and (min-width : 850 px ) {
12521260 /* Solved jumping scrollbar */
12531261 html {
12541262 overflow-y : scroll ;
@@ -1295,21 +1303,27 @@ $sidebar-display: "sidebar-display";
12951303
12961304}
12971305
1298- /* iPad 9.7" horizontal */
1299- @media all and (min-width : 992px ) and (max-width : 1024 px ) {
1300- #main-wrapper .col-lg-11 {
1306+ /* Pad horizontal */
1307+ @media all and (min-width : 992px ) and (max-width : 1199 px ) {
1308+ #main .col-lg-11 {
13011309 -webkit-box-flex : 0 ;
13021310 -ms-flex : 0 0 96% ;
13031311 flex : 0 0 96% ;
13041312 max-width : 96% ;
13051313 }
13061314}
13071315
1308- /* Compact icons in sidebar & TOC hidden */
1309- @media all and (min-width : 832 px ) and (max-width : 1199px ) {
1316+ /* Compact icons in sidebar & panel hidden */
1317+ @media all and (min-width : 850 px ) and (max-width : 1199px ) {
13101318
13111319 #sidebar {
13121320 width : $sidebar-width-small ;
1321+
1322+ .site-subtitle {
1323+ margin-left : 1rem ;
1324+ margin-right : 1rem ;
1325+ }
1326+
13131327 .sidebar-bottom {
13141328 a ,
13151329 span {
@@ -1354,7 +1368,7 @@ $sidebar-display: "sidebar-display";
13541368
13551369}
13561370
1357- /* Pannel hidden */
1371+ /* panel hidden */
13581372@media all and (max-width : 1199px ) {
13591373 #panel-wrapper {
13601374 display : none ;
@@ -1609,7 +1623,7 @@ $sidebar-display: "sidebar-display";
16091623 } // #sidebar
16101624
16111625 footer > div .d-flex {
1612- width : 87 % ;
1626+ width : 92 % ;
16131627 max-width : 1140px ;
16141628 }
16151629
0 commit comments