http -> https resources for night mode
whitespace removal