From 94d3d65a0e00146584d39f66824a68ba19ba792b Mon Sep 17 00:00:00 2001 From: Mathieu David Date: Wed, 29 Jul 2015 21:53:59 +0200 Subject: [PATCH] Change link color + add transition animation on menu-bar icons on hover. Closes #15 --- src/theme/book.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/theme/book.css b/src/theme/book.css index 6404b59c..2c93872a 100644 --- a/src/theme/book.css +++ b/src/theme/book.css @@ -104,6 +104,13 @@ html, body { color: #CCC; } +.menu-bar i { + -webkit-transition: color 0.5s; /* Safari */ + -o-transition: color 0.5s; /* Opera */ + -moz-transition: color 0.5s; /* Mozilla Firefox */ + transition: color 0.5s; +} + .menu-bar :hover { /* Animate color change */ color: #333; @@ -130,3 +137,14 @@ pre { .right { float: right; } + +/* Content */ + +.page a { + color: #4183c4; + text-decoration: none; +} + +.page a:hover { + text-decoration: underline; +}