diff options
author | Nate <nathancday@gmail.com> | 2017-12-27 18:51:33 +0300 |
---|---|---|
committer | Nate <nathancday@gmail.com> | 2018-03-12 02:29:29 +0300 |
commit | 12c02eb5c4341ceaa76b34ea5ba5fe0b69408575 (patch) | |
tree | b1384e842c133cc064fd8a906ee43cd1335e5e01 | |
parent | a3cb71c083e0bdc17cbb963872bacd7982136073 (diff) |
updated css to not color invert iframes that hold htmlwidgets ie maps
-rw-r--r-- | static/css/main.css | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/static/css/main.css b/static/css/main.css index 1afdb93..28706ee 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -127,6 +127,16 @@ img { -webkit-filter: invert(1) hue-rotate(180deg); filter: invert(1) hue-rotate(180deg) } +/* "re-flip"" certain elements to keep colors */ +#bigbody.-nightmode img, video { + -webkit-filter: invert(1) hue-rotate(-180deg); + filter: invert(1) hue-rotate(-180deg) +} +#bigbody.-nightmode iframe { + -webkit-filter: invert(1) hue-rotate(-180deg); + filter: invert(1) hue-rotate(-180deg) +} +/* custom behavior for specfic element */ #bigbody.-nightmode main a { color: var(--accent) !important; } |