diff options
author | Dmitry Sharshakov <sh7dm@outlook.com> | 2019-01-26 18:24:02 +0300 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-26 10:24:02 -0500 |
commit | ec4858bcbd77c9936c324fe9860fc653c2030684 (patch) | |
tree | a6ee09cb490d96a5555082bf6497be023df2412a | |
parent | 75f349929b574ae879a1e7b815571fb044a036e4 (diff) |
Make links and badges look better (#1588)
-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; |