2929
3030.nav-list {
3131    margin :  0 ;
32-  
3332}
3433
3534footer .footer  {
@@ -45,18 +44,18 @@ footer.footer .link-separator
4544	color :  # c02222 ;
4645}
4746
48- .doc  h1  {
47+ .doc  >   h1 . page : first-child  {
4948    color :  # ffffff ;
5049    background-color :  # c02222 ;
5150    padding :  1rem   2rem   0.75rem  ;
52-     margin :  1.5 rem   auto 1.5 rem   auto  !important ;
51+     margin :  auto  auto 0.5 em   auto;
5352    text-transform :  uppercase;
5453}
5554
5655.doc  {
5756    width :  100%  ;
5857    max-width :  100%  ;
59-     padding :  0 ;
58+     padding :  0.5 em  ;
6059}
6160/* ====== Global Styles (Light Theme) ====== */ 
6261body  {
@@ -114,7 +113,7 @@ body {
114113/* ====== Sidebar ====== */ 
115114.sidebar  {
116115    background :  # f9fafb ;
117-     padding :  1rem   1rem   0rem   1rem    ;
116+     padding :  1rem   1rem   0rem   1rem  ;
118117    font-size :  0.9rem  ;
119118    color :  # 6b7280 ;
120119    flex :  1  1  250px  ;
@@ -152,3 +151,30 @@ body {
152151    box-shadow :  0  0  20px   rgba (0 , 0 , 0 , 0.5 );
153152    transition :  transform 0.3s   ease;
154153}
154+ 
155+ /* =============================== 
156+    Mobile / Small Screen Styles 
157+    =============================== */ 
158+ @media  screen and  (max-width :  768px  ) {
159+     .toolbar  {
160+         padding :  0 ;
161+         bottom :  0 ;
162+         width :  100%  ;
163+         position :  fixed;
164+         top :  auto;
165+     }
166+ 
167+     /* Toolbar will otherwise overlap end of article */ 
168+     body  {
169+         padding-bottom :  2.5em   !important ;
170+     }
171+ 
172+     /* Nav will otherwise be offset by toolbar */ 
173+     .nav  {
174+         height :  calc (100vh   -  2.5em  ) !important ;
175+     }
176+ 
177+     .nav-container  {
178+         top :  unset;
179+     }
180+ }
0 commit comments