From dc8f6cd5e948a261e068ac48ba896767356d5906 Mon Sep 17 00:00:00 2001 From: Mathieu David Date: Wed, 30 Dec 2015 15:59:18 +0100 Subject: [PATCH] Add contributors to the doc + set visisted links to the same color as normal links --- book-example/src/misc/contributors.md | 12 ++++++++++++ src/theme/book.css | 12 ++++++++---- src/theme/stylus/themes/base.styl | 4 ++-- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/book-example/src/misc/contributors.md b/book-example/src/misc/contributors.md index 77e81149..36b50fad 100644 --- a/book-example/src/misc/contributors.md +++ b/book-example/src/misc/contributors.md @@ -1 +1,13 @@ # Contributors + +Here is a list of the contributors who have helped improving mdBook. Big shout-out to them! + +If you have contributed to mdBook and I forgot to add you, don't hesitate to add yourself to the list. If you are in the list, feel free to add your real name & contact information if you wish. + +- [mdinger](https://github.com/mdinger) +- Kevin ([kbknapp](https://github.com/kbknapp)) +- Steve Klabnik ([steveklabnik](https://github.com/steveklabnik)) +- Adam Solove ([asolove](https://github.com/asolove)) +- Wayne Nilsen ([waynenilsen](https://github.com/waynenilsen)) +- [funnkill](https://github.com/funkill) +- Fu Gangqiang ([FuGangqiang](https://github.com/FuGangqiang)) diff --git a/src/theme/book.css b/src/theme/book.css index a29aff45..33d98d12 100644 --- a/src/theme/book.css +++ b/src/theme/book.css @@ -343,7 +343,8 @@ h5 { .light .mobile-nav-chapters { background-color: #fafafa; } -.light .content a:link { +.light .content a:link, +.light a:visited { color: #4183c4; } .light .theme-popup { @@ -412,7 +413,8 @@ h5 { .coal .mobile-nav-chapters { background-color: #292c2f; } -.coal .content a:link { +.coal .content a:link, +.coal a:visited { color: #2b79a2; } .coal .theme-popup { @@ -481,7 +483,8 @@ h5 { .navy .mobile-nav-chapters { background-color: #282d3f; } -.navy .content a:link { +.navy .content a:link, +.navy a:visited { color: #2b79a2; } .navy .theme-popup { @@ -550,7 +553,8 @@ h5 { .rust .mobile-nav-chapters { background-color: #3b2e2a; } -.rust .content a:link { +.rust .content a:link, +.rust a:visited { color: #2b79a2; } .rust .theme-popup { diff --git a/src/theme/stylus/themes/base.styl b/src/theme/stylus/themes/base.styl index 0a87b587..ebbf2aac 100644 --- a/src/theme/stylus/themes/base.styl +++ b/src/theme/stylus/themes/base.styl @@ -37,7 +37,7 @@ a { color: $sidebar-fg } .active, - a:hover { + a:hover, { /* Animate color change */ color: $sidebar-active } @@ -67,7 +67,7 @@ background-color: $sidebar-bg } - .content a:link { + .content a:link, a:visited { color: $links }