diff options
-rw-r--r-- | website/index.html | 4 | ||||
-rw-r--r-- | website/style.css | 17 |
2 files changed, 15 insertions, 6 deletions
diff --git a/website/index.html b/website/index.html index 036d2f01d..fb47d53e3 100644 --- a/website/index.html +++ b/website/index.html @@ -20,10 +20,10 @@ </tr> <tr> <td> - <a href="https://travis-ci.com/denoland/deno"><img src="https://travis-ci.com/denoland/deno.svg?branch=master"/></a> + <a class="badge" href="https://travis-ci.com/denoland/deno"><img src="https://travis-ci.com/denoland/deno.svg?branch=master"/></a> </td> <td> - <a href="https://ci.appveyor.com/project/deno/deno"><img src="https://ci.appveyor.com/api/projects/status/yel7wtcqwoy0to8x/branch/master?svg=true"/></a> + <a class="badge" href="https://ci.appveyor.com/project/deno/deno"><img src="https://ci.appveyor.com/api/projects/status/yel7wtcqwoy0to8x/branch/master?svg=true"/></a> </td> </tr> </table> diff --git a/website/style.css b/website/style.css index c5626fb4b..d3bb3261d 100644 --- a/website/style.css +++ b/website/style.css @@ -18,6 +18,19 @@ svg { a { color: #333; } +a:hover { + color: #488; +} + +a.badge { + display: inline-block; + border-radius: 2px; + height: 20px; + transition: .3s box-shadow; +} +a.badge:hover { + box-shadow: 0 0 5px 0 #333; +} pre { background: #ddd; @@ -26,10 +39,6 @@ pre { overflow-x: auto; } -a:hover { - background: #aee; -} - table { border-collapse: collapse; border-spacing: 0; |