From 6459c3543c1f9aaa6ac00e4ca9499020911764a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Wed, 25 Jan 2017 19:37:59 +0100 Subject: [PATCH] Fixed sizing and positioning of voting thumb --- public/css/style.css | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index f8ee4611..e34b147a 100755 --- a/public/css/style.css +++ b/public/css/style.css @@ -1248,23 +1248,28 @@ nav ul li:hover, nav ul li.active { } .list-image:after { - font-family: "Material-Design-Icons"; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - text-rendering: auto; - -webkit-font-smoothing: antialiased; - content: "\e686";/*"\e800";*/ - color:white; - font-size: calc(100vh / 15); - position:absolute; - width:100%; height:100%; - top:0; left:0; - background:rgba(0,0,0,0.8); - opacity:0; - transition: all .1s ease; + font-family: "Material-Design-Icons"; + speak: none; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + content: "\e686"; + color: white; + font-size: -webkit-xxx-large; + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + background: rgba(0,0,0,0.8); + opacity: 0; + transition: all .1s ease; + display: flex; + align-items: center; + justify-content: center; } .list-suggested-image:after {