diff options
Diffstat (limited to 'assets')
-rw-r--r-- | assets/_utils.scss | 16 | ||||
-rw-r--r-- | assets/book.scss | 8 |
2 files changed, 14 insertions, 10 deletions
diff --git a/assets/_utils.scss b/assets/_utils.scss index fd773d3..bb0120c 100644 --- a/assets/_utils.scss +++ b/assets/_utils.scss @@ -26,6 +26,10 @@ margin: 0 auto; } +.hide { + display: none; +} + @mixin fixed { position: fixed; top: 0; @@ -34,6 +38,12 @@ overflow-y: auto; } -.hide { - display: none; -} +@mixin dark-links { + a { + color: $nav-link-color; + } + + a.active { + color: $color-link; + } +}
\ No newline at end of file diff --git a/assets/book.scss b/assets/book.scss index d476111..2032466 100644 --- a/assets/book.scss +++ b/assets/book.scss @@ -103,13 +103,7 @@ ul.pagination { @include fixed; } - a { - color: $nav-link-color; - } - - a.active { - color: $color-link; - } + @include dark-links; } .book-page { |