From 79b1154104f5edcda66b38fbcd9864a97232725e Mon Sep 17 00:00:00 2001 From: Moutonjr Geoff Date: Fri, 5 Mar 2021 09:26:15 +0100 Subject: [PATCH] Fixing tile preview --- assets/css/main.css | 17 +++++++++-------- templates/index.njk | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index c477466..7dd2364 100755 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -783,8 +783,9 @@ a.back-to-top:hover, a.back-to-top:focus { #portfolios .mix { padding: 4px; - margin: 0px; + margin: 4px; height: 200px; + background: #dddddd1c; } #portfolios .portfolio-item { @@ -833,12 +834,12 @@ a.back-to-top:hover, a.back-to-top:focus { .shot-item { margin-right: 15px; border-radius: 4px; - background: #ddd; position: relative; } .shot-item img { width: 100%; + background-color: #ddd0; } .shot-item .overlay { @@ -862,19 +863,19 @@ a.back-to-top:hover, a.back-to-top:focus { } .overlay .icons i { - height: 42px; - width: 42px; - line-height: 42px; + height: 20px; + width: 20px; + line-height: 20px; color: #00b4d9; left: 50%; - margin-left: -24px; - margin-top: -24px; + margin-left: -16px; + margin-top: -9px; top: 50%; position: absolute; z-index: 2; cursor: pointer; text-align: center; - font-size: 20px; + font-size: 13px; -webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; diff --git a/templates/index.njk b/templates/index.njk index d27d982..19b5e53 100644 --- a/templates/index.njk +++ b/templates/index.njk @@ -284,7 +284,7 @@ --> -
+