From 2e21f3ba6da598219914c595db1446367d4271d1 Mon Sep 17 00:00:00 2001 From: mxmehl Date: Sat, 7 Jan 2017 23:18:36 +0100 Subject: [PATCH] support full box links and small improvements --- style.css | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/style.css b/style.css index 8908558..e966b2e 100644 --- a/style.css +++ b/style.css @@ -281,11 +281,22 @@ a:visited{ } .featured-box{ - width:350px; + width:370px; margin:0 15px 10px; display:inline-block; text-align:justify; vertical-align:top; + position: relative; /* for boxlink */ +} + +.boxlink { + background: rgba(0, 0, 0, 0); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 1; } .featured-box-big{ @@ -322,7 +333,6 @@ a:visited{ #featured-boxs h2{ font-family:Verdana, Geneva, sans-serif; - font-weight:100; font-size:19px; color:#555555; } @@ -338,7 +348,7 @@ a:visited{ display: block; margin-left: auto; margin-right: auto; - max-width: 350px; + max-width: 370px; width: 98%; }