diff --git a/assets/css/style.scss b/assets/css/style.scss index 0d261f85..2029cc76 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -12,25 +12,6 @@ ul.downloads, .downloads { display: none !important; - visibility: hidden !important; - height: 0 !important; - margin: 0 !important; - padding: 0 !important; - border: none !important; - background: transparent !important; -} - -/* Remove borders between download list items (backup if shown) */ -.downloads li { - border: none !important; - border-right: none !important; - border-left: none !important; - border-top: none !important; - border-bottom: none !important; -} - -.downloads a { - border: none !important; } /* Section - remove ALL borders in all states */ @@ -43,29 +24,9 @@ section { outline: none !important; } -/* Header - remove bottom line that appears as "random line" */ -/* Note: box-shadow is intentionally NOT removed here to allow Issue #127 sticky header shadow */ +/* Header - hide entirely (content is duplicated from README) */ header { - border: none !important; - border-bottom: none !important; - outline: none !important; -} - -header ul { - border: none !important; - background: transparent !important; - box-shadow: none !important; -} - -header li { - border: none !important; - border-right: none !important; -} - -header p, -header h1, -header a { - border: none !important; + display: none !important; } /* Footer - remove top line and any borders around "Hosted on GitHub Pages" */ @@ -107,10 +68,6 @@ div.wrapper { border: none !important; border-width: 0 !important; } - - header ul { - border: none !important; - } } @media print, screen and (max-width: 720px) { diff --git a/assets/css/theme.css b/assets/css/theme.css index 937c7ba2..f1cfe3f4 100644 --- a/assets/css/theme.css +++ b/assets/css/theme.css @@ -947,12 +947,6 @@ pre code { padding: 15px 10px !important; margin-top: 30px !important; } - - /* Issue #127: Adjust scroll margin for smaller header on tablet */ - h1, h2, h3, h4, h5, h6, - section h1, section h2, section h3, section h4, section h5, section h6 { - scroll-margin-top: 90px; - } } /* Mobile screens (320px - 480px) */ @@ -1037,12 +1031,6 @@ pre code { inset-inline-end: 6px !important; padding: 5px 8px !important; } - - /* Issue #127: Adjust scroll margin for smaller header on mobile */ - h1, h2, h3, h4, h5, h6, - section h1, section h2, section h3, section h4, section h5, section h6 { - scroll-margin-top: 80px; - } } /* Very small screens (below 320px) */ @@ -1080,7 +1068,6 @@ section img { } /* Improve heading spacing */ -/* Issue #127: scroll-margin-top ensures anchor links don't hide content under sticky header */ section h1, section h2, section h3, @@ -1089,7 +1076,6 @@ section h5, section h6 { margin-top: 1.5em !important; margin-bottom: 0.5em !important; - scroll-margin-top: 100px; } section h1:first-child,