Skip to content

Commit

Permalink
css/isso: add stylesheets for dark scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
UtopicPanther committed Nov 17, 2023
1 parent e2279d6 commit 5974181
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions isso/css/isso.css
Original file line number Diff line number Diff line change
Expand Up @@ -264,3 +264,21 @@
width: 100%;
}
}

@media (prefers-color-scheme: dark) {
.isso-postbox > .form-wrapper .textarea,
.isso-postbox > .form-wrapper > .auth-section .input-wrapper input {
background-color: rgba(0, 0, 0, 0.2);
color: white;
}

.isso-postbox > .form-wrapper .preview {
background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4) 10px, rgba(0, 0, 0, 0.2) 10px, rgba(0, 0, 0, 0.2) 20px);
color: white;
}

#isso-thread > h4,
.isso-comment > div.text-wrapper > .isso-comment-header .author {
color: rgba(255, 255, 255, 0.5);
}
}

0 comments on commit 5974181

Please sign in to comment.