Skip to content

Commit dc8f6cd

Browse files
committed
Add contributors to the doc + set visisted links to the same color as normal links
1 parent 5b9d8ee commit dc8f6cd

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

book-example/src/misc/contributors.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
11
# Contributors
2+
3+
Here is a list of the contributors who have helped improving mdBook. Big shout-out to them!
4+
5+
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.
6+
7+
- [mdinger](https://github.com/mdinger)
8+
- Kevin ([kbknapp](https://github.com/kbknapp))
9+
- Steve Klabnik ([steveklabnik](https://github.com/steveklabnik))
10+
- Adam Solove ([asolove](https://github.com/asolove))
11+
- Wayne Nilsen ([waynenilsen](https://github.com/waynenilsen))
12+
- [funnkill](https://github.com/funkill)
13+
- Fu Gangqiang ([FuGangqiang](https://github.com/FuGangqiang))

src/theme/book.css

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,8 @@ h5 {
343343
.light .mobile-nav-chapters {
344344
background-color: #fafafa;
345345
}
346-
.light .content a:link {
346+
.light .content a:link,
347+
.light a:visited {
347348
color: #4183c4;
348349
}
349350
.light .theme-popup {
@@ -412,7 +413,8 @@ h5 {
412413
.coal .mobile-nav-chapters {
413414
background-color: #292c2f;
414415
}
415-
.coal .content a:link {
416+
.coal .content a:link,
417+
.coal a:visited {
416418
color: #2b79a2;
417419
}
418420
.coal .theme-popup {
@@ -481,7 +483,8 @@ h5 {
481483
.navy .mobile-nav-chapters {
482484
background-color: #282d3f;
483485
}
484-
.navy .content a:link {
486+
.navy .content a:link,
487+
.navy a:visited {
485488
color: #2b79a2;
486489
}
487490
.navy .theme-popup {
@@ -550,7 +553,8 @@ h5 {
550553
.rust .mobile-nav-chapters {
551554
background-color: #3b2e2a;
552555
}
553-
.rust .content a:link {
556+
.rust .content a:link,
557+
.rust a:visited {
554558
color: #2b79a2;
555559
}
556560
.rust .theme-popup {

src/theme/stylus/themes/base.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
a { color: $sidebar-fg }
3838

3939
.active,
40-
a:hover {
40+
a:hover, {
4141
/* Animate color change */
4242
color: $sidebar-active
4343
}
@@ -67,7 +67,7 @@
6767
background-color: $sidebar-bg
6868
}
6969

70-
.content a:link {
70+
.content a:link, a:visited {
7171
color: $links
7272
}
7373

0 commit comments

Comments
 (0)