Skip to content

Commit

Permalink
Merge pull request #696 from naher94/development
Browse files Browse the repository at this point in the history
Darkmode added for Video Elements
  • Loading branch information
naher94 authored Mar 10, 2024
2 parents b81210f + abf1b14 commit d1cd7b7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description: > # this means to ignore newlines until "baseurl:"
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://rehanbutt.com" # the base hostname & protocol for your site
version: 7.21.0
version: 7.22.0
version-naming: [Apricot, Blackcurrent, Coconut, Dragonfruit, Elderberry, Fig, Guava]

# Build settings
Expand Down
6 changes: 6 additions & 0 deletions css/rehan.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ img {
}
}

video{
@media (prefers-color-scheme: dark) {
filter: brightness(0.8);
}
}

.image-container {
margin-top: 1.25em;
margin-bottom: 1.25em;
Expand Down
Binary file modified img/.DS_Store
Binary file not shown.

0 comments on commit d1cd7b7

Please sign in to comment.