-
Notifications
You must be signed in to change notification settings - Fork 39
added a dark mode #458
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
base: main
Are you sure you want to change the base?
added a dark mode #458
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -61,3 +61,8 @@ | |
| right: 0; | ||
| border-width: 1em 1em 0 0; | ||
| } | ||
| @media (prefers-color-scheme: dark) { | ||
| .ribbon { | ||
| color: #B3B3B3; | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -15,6 +15,7 @@ body { | |||||||
| border-bottom: 12px solid #0C5A73; | ||||||||
| overflow-x: hidden; | ||||||||
| } | ||||||||
|
|
||||||||
| :hover { | ||||||||
| -webkit-transition: all .25s ease-in-out; | ||||||||
| -moz-transition: all .25s ease-in-out; | ||||||||
|
|
@@ -395,3 +396,35 @@ img.align-center { | |||||||
| margin-top: 15px; | ||||||||
| margin-bottom: 15px; | ||||||||
| } | ||||||||
|
|
||||||||
| @media (prefers-color-scheme: dark) { | ||||||||
| body { | ||||||||
| background-color: #0D0D0D ; | ||||||||
| color: #B3B3B3; | ||||||||
| outline: 5px dashed #000; | ||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What’s the purpose of this outline? I don’t see how it’s visible. |
||||||||
|
|
||||||||
| } | ||||||||
| h1,h2,h3,h4,h5,h6 { | ||||||||
| text-shadow: 0px 1px 1px #565656; | ||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we use variables to override just the color? Something more like
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alternatively, removing the text shadow altogether (including from the light color scheme) sounds reasonable. |
||||||||
| } | ||||||||
| h2,h3,h5,h6 { | ||||||||
| color: #1D7193; | ||||||||
| } | ||||||||
| a:not(.btn):not(.label) { | ||||||||
| &, &:active { | ||||||||
| color: #1D7193; | ||||||||
| } | ||||||||
| &:visited { | ||||||||
| color: #1D7193; | ||||||||
| } | ||||||||
| &:hover { | ||||||||
| color: #565656; | ||||||||
| } | ||||||||
|
Comment on lines
+414
to
+422
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can these be bumped up to a text contrast ratio of ≥4.5? |
||||||||
| } | ||||||||
| #main-nav .main-nav-links li a { | ||||||||
| color: #B3B3B3; | ||||||||
| } | ||||||||
| .logo-wall{ | ||||||||
| background-color: #B3B3B3; | ||||||||
| } | ||||||||
|
Comment on lines
+427
to
+429
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Redundant |
||||||||
| } | ||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -39,3 +39,10 @@ | |||||||||||||||||||||
| width: auto; | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
| @media (prefers-color-scheme: dark) { | ||||||||||||||||||||||
| .logo-wall { | ||||||||||||||||||||||
| display: flex; | ||||||||||||||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Redundant, and probably not something we should be touching with a color scheme change anyway. |
||||||||||||||||||||||
| border-radius: 4px; | ||||||||||||||||||||||
| background-color: #B3B3B3; | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Not sure about this but maybe a direction to consider
|
||||||||||||||||||||||
| } | ||||||||||||||||||||||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
codeis still bright: