From 1de81600083ed5f4a0813010ddf24e22744176c6 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Tue, 3 Jul 2018 21:25:32 +0200 Subject: [PATCH] Fix some night mode colors We have some issues with night mode and the font color. This should fix this in the permission table and the delete node modal. As well as some picture styling. Signed-off-by: Sheogorath --- public/css/index.css | 11 ++++++++++- public/css/markdown.css | 4 ++++ public/views/codimd/body.ejs | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/public/css/index.css b/public/css/index.css index 9cc1766..d9ebf6d 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -310,7 +310,16 @@ body.night{ overflow: hidden; } -.night .dropdown-menu{ +.night .dropdown-menu > li > a { + color: #eee; +} + +.night .dropdown-menu > li > a:focus, +.night .dropdown-menu > li > a:hover { + color: #262626 +} + +.night .dropdown-menu { background: #222; } diff --git a/public/css/markdown.css b/public/css/markdown.css index 85a4c59..23ed6ba 100644 --- a/public/css/markdown.css +++ b/public/css/markdown.css @@ -214,3 +214,7 @@ .markdown-body figure { margin: 1em 40px; } + +.markdown-body img { + background-color: transparent; +} diff --git a/public/views/codimd/body.ejs b/public/views/codimd/body.ejs index 4960437..b5932a6 100644 --- a/public/views/codimd/body.ejs +++ b/public/views/codimd/body.ejs @@ -233,7 +233,7 @@ -