Interests: programming, video games, anime, music composition

I used to be on kbin as e0qdk@kbin.social before it broke down.

  • 34 Posts
  • 745 Comments
Joined 2 years ago
cake
Cake day: November 27th, 2023

help-circle
  • As others have mentioned, the :has() approach is cleaner, but if you need to get this to work on older browsers (i.e. that don’t support Baseline 2023 yet), you can use the ~ approach by moving the checkbox up to the top of body and putting all the body content into a div that follows it.

    Basically, something like:

    <body>
        <input style="display:none" type="checkbox" id="hidden-checkbox"></input>
        <div id="main-content">
            <label for="hidden-checkbox">
               ...
    

    That way you can use #hidden-checkbox:checked ~ #main-content (followed by additional selectors) to modify children of #main-content only if the checkbox is checked.

    Note that you still need a tiny bit of JS to make the choice persistent between page loads even with CSS checkbox toggle tricks.



  • Are you trying to write your own parsers for these formats or something like that? I don’t think I really get the issue you’re running into.

    If you want to just display formatted text (esp. including HTML), you can use a browser (either as an embedded widget in a custom app, via an Electron app, or in a regular browser via an HTTP server) and generate the output on the fly. You don’t need to save the converted output if it’s fast enough to generate…






  • Your original comment was arguing against the charge at all, not the layover charge specifically.

    No, my original comment about the charge was directly after the quotation of “Required Even for Transit: If you have a layover in an ETIAS country, approval is mandatory.”, which I copied verbatim from your original link to etias.com.

    My comment is still publicly listed in the modlog for everyone – including you – to check if you don’t believe me.

    Perhaps I should’ve put 🙄️ after my statement to clarify tone, but still, I think you’re being ridiculous about how you’re handling my comments.

    Frankly, I’m offended and will not be participating here further.






  • Hmm. On my system (running Linux Mint), I get an error if I try to open an RW2 (don’t have a CR3 file handy) indicating that darktable or rawtherapee needs to be installed. If I install darktable from the package manager, it just opens darktable when I try to open the file, and after closing darktable, GIMP loads the image.

    How did you install GIMP and darktable? Are they both from the system package manager?

    Worst case, if you’re already using darktable, I guess you could just export the images after you develop the raws and then load them into GIMP from XCF/JPEG/TIFF/whatever files instead.