summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu David <mathieudavid@mathieudavid.org>2015-12-30 16:48:46 +0100
committerMathieu David <mathieudavid@mathieudavid.org>2015-12-30 16:48:46 +0100
commit600eb02fee5729ea49aa900ffc307daa3e7c59d1 (patch)
tree5d51d2dbea7802c6146393b58b88ff24cd7a23d4
parent41462e8b2dfa0a79a4ddb14a3c9b9adee75e044b (diff)
Fix bug introduced earlier, where navigation arrows would become blue when visited + make the tooltip on nvigation arrows a little clearerv0.0.4
-rw-r--r--src/theme/book.css20
-rw-r--r--src/theme/index.hbs4
-rw-r--r--src/theme/stylus/themes/base.styl5
3 files changed, 22 insertions, 7 deletions
diff --git a/src/theme/book.css b/src/theme/book.css
index 33d98d12..7a9ff0ca 100644
--- a/src/theme/book.css
+++ b/src/theme/book.css
@@ -328,8 +328,11 @@ h5 {
background-color: #f4f4f4;
}
.light .menu-bar,
+.light .menu-bar:visited,
.light .nav-chapters,
-.light .mobile-nav-chapters {
+.light .nav-chapters:visited,
+.light .mobile-nav-chapters,
+.light .mobile-nav-chapters:visited {
color: #ccc;
}
.light .menu-bar i:hover,
@@ -398,8 +401,11 @@ h5 {
background-color: #393939;
}
.coal .menu-bar,
+.coal .menu-bar:visited,
.coal .nav-chapters,
-.coal .mobile-nav-chapters {
+.coal .nav-chapters:visited,
+.coal .mobile-nav-chapters,
+.coal .mobile-nav-chapters:visited {
color: #43484d;
}
.coal .menu-bar i:hover,
@@ -468,8 +474,11 @@ h5 {
background-color: #2d334f;
}
.navy .menu-bar,
+.navy .menu-bar:visited,
.navy .nav-chapters,
-.navy .mobile-nav-chapters {
+.navy .nav-chapters:visited,
+.navy .mobile-nav-chapters,
+.navy .mobile-nav-chapters:visited {
color: #737480;
}
.navy .menu-bar i:hover,
@@ -538,8 +547,11 @@ h5 {
background-color: #45373a;
}
.rust .menu-bar,
+.rust .menu-bar:visited,
.rust .nav-chapters,
-.rust .mobile-nav-chapters {
+.rust .nav-chapters:visited,
+.rust .mobile-nav-chapters,
+.rust .mobile-nav-chapters:visited {
color: #737480;
}
.rust .menu-bar i:hover,
diff --git a/src/theme/index.hbs b/src/theme/index.hbs
index 38b18f99..e4340673 100644
--- a/src/theme/index.hbs
+++ b/src/theme/index.hbs
@@ -84,13 +84,13 @@
</div>
{{#previous}}
- <a href="{{link}}" class="nav-chapters previous" title="&larr;">
+ <a href="{{link}}" class="nav-chapters previous" title="You can navigate through the chapters using the arrow keys">
<i class="fa fa-angle-left"></i>
</a>
{{/previous}}
{{#next}}
- <a href="{{link}}" class="nav-chapters next" title="&rarr;">
+ <a href="{{link}}" class="nav-chapters next" title="You can navigate through the chapters using the arrow keys">
<i class="fa fa-angle-right"></i>
</a>
{{/next}}
diff --git a/src/theme/stylus/themes/base.styl b/src/theme/stylus/themes/base.styl
index ebbf2aac..9befa8d7 100644
--- a/src/theme/stylus/themes/base.styl
+++ b/src/theme/stylus/themes/base.styl
@@ -48,8 +48,11 @@
}
.menu-bar,
+ .menu-bar:visited,
.nav-chapters,
- .mobile-nav-chapters {
+ .nav-chapters:visited,
+ .mobile-nav-chapters,
+ .mobile-nav-chapters:visited {
color: $icons
}