summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheogorath2018-07-03 21:25:32 +0200
committerSheogorath2018-07-03 21:25:45 +0200
commit1de81600083ed5f4a0813010ddf24e22744176c6 (patch)
tree79c991365702ce4fe119f0236c362213cad9b81e
parent4e38d1836e49fb80fecb95726b30cb637e1fbaa6 (diff)
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 <sheogorath@shivering-isles.com>
Diffstat (limited to '')
-rw-r--r--public/css/index.css11
-rw-r--r--public/css/markdown.css4
-rw-r--r--public/views/codimd/body.ejs2
3 files changed, 15 insertions, 2 deletions
diff --git a/public/css/index.css b/public/css/index.css
index 9cc1766e..d9ebf6de 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 85a4c594..23ed6bab 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 49604379..b5932a61 100644
--- a/public/views/codimd/body.ejs
+++ b/public/views/codimd/body.ejs
@@ -233,7 +233,7 @@
</button>
<h4 class="modal-title" id="myModalLabel"><%= __('Are you sure?') %></h4>
</div>
- <div class="modal-body" style="color:black;">
+ <div class="modal-body">
<h5 class="ui-delete-modal-msg"><%= __('Do you really want to delete this note?') %></h5>
<strong class="ui-delete-modal-item"><%= __('All users will lose their connection.') %></strong>
</div>