home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.comp.software.seamonkey      Not a bad little Mozilla fork      9,710 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,432 of 9,710   
   Dirk Fieldhouse to Nuno Silva   
   Re: MDN [was: SM v2.53.22 is out on its    
   13 Nov 25 07:23:34   
   
   From: surname@gmx.net.removethisandtherest.example.invalid   
      
   On 11/11/2025 00:38, Nuno Silva wrote:   
   > On 2025-11-10, Dirk Fieldhouse wrote:   
   >   
   >> Recently MDN (eg, )   
   >> broke itself so that you can only read the article text (and not just   
   >> the navigation) with page styles disabled.   
   >>   
   >> This is seen in 2.53.19 and 2.53.21, obvs with JS disabled. Until the   
   >> 32-bit build of 2.53.22 appears, I can't test whether the same is true.   
   >>   
   >> /df   
   >   
   > This is what I currently have in userContent.css (haven't tested it a   
   > lot yet, though). I lose the navigation part, but it's not something   
   > I've been in need of using. Still a quick and dirty hack, perhaps I   
   > should look for a better approach that preserves the navigation   
   > elements...   
   >   
   > @-moz-document url-prefix("https://developer.mozilla.org/en-US/docs/"){   
   > [...]   
   > 	.navigation {   
   > 		display: none !important;   
   > 	}   
   > }   
      
   Thanks. Inspired by that:   
      
   @-moz-document url-prefix("https://developer.mozilla.org/en-US/docs/") {   
     /* lay out horizontally if possible ... */   
     .a11y-menu {   
       display: flex;   
     }   
     /* show nav menu on hover or tab */   
     .page-layout__header:hover, .page-layout__header:focus-within {   
       height:  50vh;   
       overflow: scroll;   
     }   
     /* ... and lay out again */   
     .page-layout__header .menu {   
       display: flex;   
     }   
     /* or minimise */   
     .page-layout__header {   
       height: 3ch;   
       overflow: hidden;   
     }   
   }   
      
   And I learned about the focus-within pseudo-class, too!   
      
   /df   
      
   --   
   London   
   UK   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca