@@ -310,65 +310,18 @@ h1.quarto-secondary-nav-title {
310310 transition : background-color 0.2s ease, color 0.2s ease;
311311}
312312
313-
314313/* footer */
315314
316- /* ---------- Force footer visible and on top ---------- */
317- /* Broad selectors to catch Quarto/footer variants */
318- .q-footer ,
319- .quarto-footer ,
320- .site-footer ,
321- footer ,
322315.page-footer {
323- display : block !important ;
324- visibility : visible !important ;
325- opacity : 1 !important ;
326-
327- /* place normally in flow, but ensure no overlap */
328- position : relative !important ;
329- z-index : 9998 !important ;
330-
331- width : 100% !important ;
332- box-sizing : border-box !important ;
333- padding : 1.25rem 1rem !important ;
334- margin-top : 2rem !important ;
335- background : transparent !important ;
336- color : inherit !important ;
337- }
338-
339- /* Make links legible */
340- .q-footer a ,
341- .site-footer a ,
342- footer a ,
343- .quarto-footer a {
344- color : inherit !important ;
345- text-decoration : underline !important ;
346- }
347-
348- /* ---------- Ensure page content doesn't get covered by fixed sidebars/navbars ---------- */
349- /* If your site has a fixed/docked sidebar or a fixed navbar, give the page bottom padding */
350- body > .page , /* common Quarto page wrapper */
351- body > .site ,
352- .main ,
353- # main ,
354- .content {
355- /* increase bottom padding so footer can appear below fixed elements */
356- padding-bottom : 6rem !important ;
316+ border-top : 1px solid rgba (0 , 0 , 0 , 0.08 );
317+ padding : 0.9rem 0 ;
318+ font-size : 0.875rem ;
319+ color : inherit;
357320}
358321
359- /* If your theme uses a fixed sidebar with class .sidebar (or nav#sidebar), ensure it doesn't overlap */
360- .sidebar ,
361- nav .sidebar ,
362- # sidebar ,
363- .sidebar-wrapper {
364- z-index : 10 ; /* keep sidebar below the footer z-index */
365- }
366-
367- /* Optional: styling for the footer */
368- .site-footer {
369- border-top : 1px solid rgba (0 , 0 , 0 , 0.08 ) !important ;
370- text-align : center !important ;
371- font-size : 0.95rem !important ;
322+ .page-footer a {
323+ color : inherit;
324+ text-decoration : underline;
372325}
373326
374327/* override back to top popup, was getting covered by footer */
0 commit comments