1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-18 03:44:05 -05:00

Make links and badges look better (#1588)

This commit is contained in:
Dmitry Sharshakov 2019-01-26 18:24:02 +03:00 committed by Ryan Dahl
parent 75f349929b
commit ec4858bcbd
2 changed files with 15 additions and 6 deletions

View file

@ -20,10 +20,10 @@
</tr> </tr>
<tr> <tr>
<td> <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>
<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> </td>
</tr> </tr>
</table> </table>

View file

@ -18,6 +18,19 @@ svg {
a { a {
color: #333; 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 { pre {
background: #ddd; background: #ddd;
@ -26,10 +39,6 @@ pre {
overflow-x: auto; overflow-x: auto;
} }
a:hover {
background: #aee;
}
table { table {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;