Skip to content

Commit

Permalink
fix: style on dark theme, close kitian616#144
Browse files Browse the repository at this point in the history
  • Loading branch information
kitian616 committed Jan 27, 2019
1 parent ae015c2 commit 0a8451a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
9 changes: 8 additions & 1 deletion _includes/comments-providers/gitalk.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,16 @@
site.comments.gitalk.owner and
site.comments.gitalk.admin -%}

<!-- fix text color in the input textarea of gitalk -->
<style type="text/css">
.gitalk-wrapper .gt-header-textarea {
color: #333 !important;
}
</style>

{%- include snippets/get-sources.html -%}
{%- assign _sources = __return -%}
<div id="js-gitalk-container"></div>
<div class="gitalk-wrapper" id="js-gitalk-container"></div>
{%- assign _admin = '' -%}
{%- for _admin_id in site.comments.gitalk.admin -%}
{%- assign _admin = _admin | append: ", '" | append: _admin_id | append: "'" -%}
Expand Down
8 changes: 4 additions & 4 deletions _sass/common/components/_toc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ ul.toc {
@include link-colors($text-color, $main-color-1);
}
.toc-h1 {
a {
&, a {
@include link-colors($text-color-d);
}
&.active {
a {
&, a {
color: $main-color-1;
}
}
}
.toc-h5, .toc-h6 {
a {
&, a {
@include link-colors($text-color-l);
}
&.active {
a {
&, a {
color: $main-color-1;
}
}
Expand Down

0 comments on commit 0a8451a

Please sign in to comment.