From: Ian Weller Date: Mon, 11 Apr 2016 19:43:21 +0000 (-0400) Subject: worked on some of the block elements X-Git-Tag: v1.0.0^2~61 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=727dfb3f652a86a153ea7eeae036230c02224c9a;p=WP-Themes%2Fgaslightmedia.git worked on some of the block elements --- diff --git a/css/app.css b/css/app.css index 4231077..d3093e0 100644 --- a/css/app.css +++ b/css/app.css @@ -6594,13 +6594,9 @@ h2#block-title { display: none; position: absolute; top: 0; - float: none; + text-align: center; left: 0; right: 0; } - @media only screen and (max-width: 40em) { - .blocks .block .block-text { - left: auto; - right: auto; } } .blocks .overlay:hover:before { position: absolute; content: ''; diff --git a/scss/_main.scss b/scss/_main.scss index 48cb296..b2b9f5c 100644 --- a/scss/_main.scss +++ b/scss/_main.scss @@ -90,7 +90,7 @@ h2#block-title { } &:hover { .block-text { - padding: 0 10px 10px; + padding: 0 10px 10px; font-size: rem-calc(28); text-transform: uppercase; letter-spacing: 0.05em; @@ -105,13 +105,9 @@ h2#block-title { display: none; position: absolute; top: 0; - float: none; left: 0; right: 0; - @media #{$small-only}{ - left: auto; - right: auto; - } + text-align: center; } } & .overlay {