Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 18 additions & 6 deletions static/stylesheet/dark-theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -87,22 +87,34 @@ main {
.isso-comment > div.isso-text-wrapper {
> .isso-comment-header {
.isso-author {
color: @light-grey;
color: @isso-author-dark-theme;
}

.isso-spacer, a.isso-permalink, .isso-note, a.isso-parent {
color: @med-grey;
color: @isso-link-dark-theme;

&:hover {
color: @light-grey;
color: @isso-link-hover-dark-theme;
}
}
}

> .isso-comment-footer a:hover {
// Unfortunately, Isso uses a lot of !important in its styles, so I
// have to override that.
text-shadow: @dark-grey 0 0 1px !important;
color: @link-hover-color-dark-theme;
text-shadow: none;
}
}

// Highlight page author comments with special colors
.isso-comment.isso-is-page-author > .isso-text-wrapper {
background-color: @isso-page-author-bg-dark-theme;
> .isso-comment-header {
> .isso-author {
color: @isso-page-author-name-dark-theme;
}
> .isso-page-author-suffix {
color: @isso-page-author-suffix-dark-theme;
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion static/stylesheet/dark-theme.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions static/stylesheet/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,19 @@ main {
margin-right: 5px;
}

.isso-comment > div.isso-text-wrapper > .isso-comment-footer a:hover {
color: @link-hover-color;
text-shadow: none;
}

// Highlight page author comments with special colors
.isso-comment.isso-is-page-author > .isso-text-wrapper {
background-color: @isso-page-author-bg;
> .isso-comment-header > .isso-author {
color: @isso-page-author-name;
}
}

// Table of Contents Markdown extension:
// https://python-markdown.github.io/extensions/toc/
.toc {
Expand Down
Loading