From c486c0dcd1fcc88c75d5bd1755aab583f0cdd4e6 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Sat, 22 Oct 2016 09:48:03 +0300 Subject: [PATCH] Reduce page jumping while all the badges are loading --- try.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/try.html b/try.html index 3ab1833..556260b 100644 --- a/try.html +++ b/try.html @@ -22,7 +22,7 @@ hr { width: 40%; border-width: 1px 0 0 0; } a.photo { text-decoration: none; } a.photo>img { padding: 2px; border: 1px solid grey; } ul { text-align: left; margin-left: 25%; } -table { width: 50%; margin: auto; } +table { min-width: 50%; margin: auto; } table.centered > tbody > tr > td:first-child { text-align: right; } th, td { text-align: left; } h1, h2, h3 { font-style: italic; } @@ -47,6 +47,11 @@ hr.spacing { border: 0; display: block; height: 3mm; } table.badge > tbody > tr > th, table.badge > tbody > tr > td > img, table.badge > tbody > tr > td > code { cursor: pointer; } +#copyImg, +.badge-img img { + height: 20px; + vertical-align: middle; +}
@@ -67,7 +72,7 @@ Pixel-perfect   Retina-ready   Fast   Consistent   Hackable

Build

- +
@@ -1024,7 +1029,7 @@ Pixel-perfect   Retina-ready   Fast   Consistent   Hackable
Travis: https://img.shields.io/travis/USER/REPO.svg
-

+

brightgreen green yellowgreen @@ -1040,7 +1045,7 @@ Pixel-perfect   Retina-ready   Fast   Consistent   Hackable

The following styles are available (flat is the default as of Feb 1st 2015):

- +
https://img.shields.io/badge/style-plastic-green.svg?style=plastic