-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
114 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,4 +75,8 @@ | |
|
||
.c-article-img-container { | ||
box-shadow: 0 4px 44px rgba(0, 0, 0, 0.1); | ||
|
||
img { | ||
width: 100%; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
@media (prefers-color-scheme: dark) { | ||
/** | ||
* Dark mode | ||
* | ||
* https://css-tricks.com/a-complete-guide-to-dark-mode-on-the-web/ | ||
*/ | ||
body { | ||
background: #222831; | ||
color: #eee; | ||
} | ||
|
||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6, | ||
strong, | ||
.c-navbar__brand, | ||
.c-social-media__name, | ||
.c-portfolio__stats dt, | ||
.c-pagination__link-label, | ||
.c-table th { | ||
color: #e0e0e0; | ||
} | ||
|
||
.c-footer__copyright::after { | ||
color: #1e242c; | ||
} | ||
|
||
.c-navbar { | ||
background: #121212; | ||
} | ||
|
||
.c-navbar__menu-link::after { | ||
background-color: #36373d; | ||
} | ||
|
||
hr { | ||
background-color: #393e46; | ||
} | ||
|
||
.c-table tr:nth-child(even), | ||
.c-table thead tr { | ||
background-color: #393e46; | ||
} | ||
|
||
.c-table th, | ||
.c-table td { | ||
border-color: #393e46; | ||
} | ||
|
||
.section--contact-copy, | ||
.c-social-media { | ||
background-color: rgba(0, 197, 142, 0.1); | ||
} | ||
|
||
.c-social-media { | ||
border-color: #108775; | ||
} | ||
|
||
.c-form__control, | ||
.c-search-input { | ||
background-color: #222831; | ||
border-color: #222831; | ||
color: #fff; | ||
} | ||
|
||
.c-search-input { | ||
&:focus { | ||
// box-shadow: 0 0 0 0.125rem #108775; | ||
box-shadow: none; | ||
} | ||
} | ||
|
||
.c-navbar__nav { | ||
@media (max-width: 767px) { | ||
background-color: #222831; | ||
border-color: #121212; | ||
} | ||
} | ||
|
||
.u-bg-gray-dark { | ||
background-color: #222831; | ||
} | ||
|
||
.c-portfolio-card { | ||
background-color: #393e46; | ||
} | ||
|
||
.c-blog-post { | ||
background-color: #263238; | ||
border-color: rgba(0, 197, 142, 0.1); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters