Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. Main site: missing background colour

Main site: missing background colour

Scheduled Pinned Locked Moved Site Bugs / Suggestions
3 Posts 3 Posters 79 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Richard DeemingR Offline
    Richard DeemingR Offline
    Richard Deeming
    wrote last edited by
    #1

    The main site does not specify a background colour for the <html> or <body> elements.

    In most browsers, that's not noticable, since they default to a white background. But in Firefox, with the "System theme - auto" enabled, and Windows dark mode turned on, it leaves the page background completely transparent, which doesn't look great:

    59150b90-6b60-4227-a912-23f82c8703e9-image.png

    I don't know whether you're planning to replace the entire theme when the new site goes live, or keep it as is. But if you're keeping it, you should probably add background-color:white; to the page.

    "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

    D 1 Reply Last reply
    0
    • Richard DeemingR Richard Deeming

      The main site does not specify a background colour for the <html> or <body> elements.

      In most browsers, that's not noticable, since they default to a white background. But in Firefox, with the "System theme - auto" enabled, and Windows dark mode turned on, it leaves the page background completely transparent, which doesn't look great:

      59150b90-6b60-4227-a912-23f82c8703e9-image.png

      I don't know whether you're planning to replace the entire theme when the new site goes live, or keep it as is. But if you're keeping it, you should probably add background-color:white; to the page.

      D Offline
      D Offline
      dlymand2
      wrote last edited by
      #2

      @Richard-Deeming Thanks Richard, we are replacing the entire theme, still looking good for a Tuesday launch

      1 Reply Last reply
      2
      • realJSOPR Offline
        realJSOPR Offline
        realJSOP
        wrote last edited by realJSOP
        #3

        I prefer the browser's mode to the themes they've provided. I guess we'll see on Tuesday. IMHO, supporting the "system theme" mode is much tougher and problematic, and it would less work to support just light and dark modes. but that's me...

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups