Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix : Added a media query for dark mode users #1428

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 additions & 1 deletion css/style.css
Expand Up @@ -14,7 +14,7 @@

body {
font: 400 14px/1.6 "Open Sans", sans-serif;
background: url(/images/bg.jpg);
background: url(/images/bg.jpg);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added background

margin: 0;
padding: 0;
color: #555;
Expand Down Expand Up @@ -669,6 +669,12 @@ footer {

}

@media (prefers-color-scheme:dark) {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added media query

.en-doc{
background: black;
}
}

/* navigation */

#navbar {
Expand Down