From 4c57b161c133f3be4c0f906a428b668b27c9470f Mon Sep 17 00:00:00 2001 From: Marc Horne Date: Sun, 21 May 2017 19:47:32 +0200 Subject: [PATCH 1/2] [#1] Resize social network links based on screen height --- static/css/custom.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/static/css/custom.css b/static/css/custom.css index af07a04..c9506c8 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -245,3 +245,13 @@ aside.sharecolumn a#gplus-left { aside.sharecolumn a#facebook-left { background-image: url("/img/share/facebook_white.png"); } + +/* Media Query to resize social links for portrait tablet view */ + +@media screen and (max-height: 1100px) { + aside.sharecolumn a { + background-size: 3.7vh auto; + height: 6vh; + width: 6vh; + } +} From 2f909c93d476f82da32ae38a0849a888462be78d Mon Sep 17 00:00:00 2001 From: Marc Horne Date: Sun, 21 May 2017 20:25:17 +0200 Subject: [PATCH 2/2] [#1] Changed media query max-height value --- static/css/custom.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/css/custom.css b/static/css/custom.css index c9506c8..3adfb41 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -248,7 +248,7 @@ aside.sharecolumn a#facebook-left { /* Media Query to resize social links for portrait tablet view */ -@media screen and (max-height: 1100px) { +@media screen and (max-height: 770px) { aside.sharecolumn a { background-size: 3.7vh auto; height: 6vh;