Skip to content

Commit 762cff6

Browse files
authored
Merge pull request #884 from SISheogorath/fix/nightMode
Fix some night mode colors
2 parents 4e38d18 + 734e7b0 commit 762cff6

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

public/css/index.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,16 @@ body.night{
310310
overflow: hidden;
311311
}
312312

313-
.night .dropdown-menu{
313+
.night .dropdown-menu > li > a {
314+
color: #eee;
315+
}
316+
317+
.night .dropdown-menu > li > a:focus,
318+
.night .dropdown-menu > li > a:hover {
319+
color: #262626
320+
}
321+
322+
.night .dropdown-menu {
314323
background: #222;
315324
}
316325

public/css/markdown.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,3 +214,7 @@
214214
.markdown-body figure {
215215
margin: 1em 40px;
216216
}
217+
218+
.markdown-body img {
219+
background-color: transparent;
220+
}

public/views/codimd/body.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
</button>
234234
<h4 class="modal-title" id="myModalLabel"><%= __('Are you sure?') %></h4>
235235
</div>
236-
<div class="modal-body" style="color:black;">
236+
<div class="modal-body">
237237
<h5 class="ui-delete-modal-msg"><%= __('Do you really want to delete this note?') %></h5>
238238
<strong class="ui-delete-modal-item"><%= __('All users will lose their connection.') %></strong>
239239
</div>

public/views/index/body.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
</button>
169169
<h4 class="modal-title" id="myModalLabel"><%= __('Are you sure?') %></h4>
170170
</div>
171-
<div class="modal-body" style="color:black;">
171+
<div class="modal-body">
172172
<h5 class="ui-delete-history-modal-msg"></h5>
173173
<strong class="ui-delete-history-modal-item"></strong>
174174
</div>
@@ -188,7 +188,7 @@
188188
</button>
189189
<h4 class="modal-title" id="myModalLabel"><%= __('Are you sure?') %></h4>
190190
</div>
191-
<div class="modal-body" style="color:black;">
191+
<div class="modal-body">
192192
<h5 class="ui-delete-user-modal-msg"><%= __('Do you really want to delete your user account?') %></h5>
193193
<strong class="ui-delete-user-modal-item"><%= __('This will delete your account, all notes that are owned by you and remove all references to your account from other notes.') %></strong>
194194
</div>

0 commit comments

Comments
 (0)