You've already forked no-js-hugo-theme
Improved the display/formatting of images
This commit is contained in:
@ -27,8 +27,10 @@ blockquote {
|
||||
border-left: 0.25em solid #444;
|
||||
}
|
||||
|
||||
.color-adapting-image {
|
||||
filter: invert(80%);
|
||||
img.color-adapting-image,
|
||||
figure.color-adapting-image img {
|
||||
filter: invert(85%) hue-rotate(180deg);
|
||||
/* hue rotate trick from: https://medium.com/@mwichary/dark-theme-in-a-day-3518dde2955a */
|
||||
}
|
||||
|
||||
.header {
|
||||
|
Reference in New Issue
Block a user