diff --git a/_includes/footer.html b/_includes/footer.html index 159eac7..e89aad1 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,4 +1,5 @@

Copyleft (ɔ) from 2015-2016 Vim Taiwan CC BY-NC 2.5 TW.

+ diff --git a/_sass/variable.scss b/_sass/variable.scss index c48301f..ec93ea7 100644 --- a/_sass/variable.scss +++ b/_sass/variable.scss @@ -1,4 +1,7 @@ $font-size: 18px; $title-color: #70b950; +$link-color: #80a0ff; +$normal-color: #e8e8d3; +$linenum-color: #605958; $pound: "data:image/svg+xml;utf8,%23"; $pound-offset: "data:image/svg+xml;utf8,%23"; diff --git a/images/status_bar.png b/images/status_bar.png new file mode 100644 index 0000000..67fdc6a Binary files /dev/null and b/images/status_bar.png differ diff --git a/style.scss b/style.scss index 6176037..23908b3 100644 --- a/style.scss +++ b/style.scss @@ -8,17 +8,26 @@ text-align: right; counter-increment: ln; content: counter(ln); - color: #605958; + color: $linenum-color; background-color: #151515; font-weight: 400; } +::selection { + background: $normal-color; + color: #000; +} +::-moz-selection { + background: $normal-color; + color: #000; +} + body { counter-reset: ln; margin: 0; padding: 0; font-family: monospace; - color: #e8e8d3; + color: $normal-color; background-color: #151515; font-size: $font-size; } @@ -26,7 +35,7 @@ body { #main { padding: 1rem 0; font-family: monospace; - color: #e8e8d3; + color: $normal-color; background-color: #151515; h1::before { @@ -59,6 +68,16 @@ body { display: block; @include lineNum-style; } + + &::selection { + background: $title-color; + color: #000; + } + + &::-moz-selection { + background: $title-color; + color: #000; + } } p { @@ -106,11 +125,27 @@ body { } a { - color: #80a0ff; + color: $link-color; text-decoration: underline; &:hover { color: $title-color; } + + &::selection { + background: $link-color; + color: #000; + } + + &::-moz-selection { + background: $link-color; + color: #000; + } + } + + .status_bar { + position: fixed; + bottom: 0; + width: 100%; } }