From 14a0965f3964efbd4b08063469af106e473fd9b0 Mon Sep 17 00:00:00 2001 From: Keksike Date: Sat, 1 Jul 2017 23:37:08 +0300 Subject: [PATCH] add class-style for content with feeds --- src/index.jade | 2 +- src/styles/style.styl | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/index.jade b/src/index.jade index 06526a1..9c7cbef 100644 --- a/src/index.jade +++ b/src/index.jade @@ -50,7 +50,7 @@ html .header__logo h1.header__title Slack-yhteisö kaikille ohjelmoinnista ja ohjelmistoalasta kiinnostuneille harrastajille ja ammattilaisille. - .content + .content.with-feed section .row h3 Tule mukaan diff --git a/src/styles/style.styl b/src/styles/style.styl index c1a6b38..4189a67 100644 --- a/src/styles/style.styl +++ b/src/styles/style.styl @@ -51,13 +51,15 @@ section .content z-index 2 position relative - padding-right feedWidth min-height 50vh box-sizing border-box @media screen and (max-width: 700px) h3 margin-top 0 + + &.with-feed + padding-right feedWidth section:first-child box-shadow -1px -1px 1px rgba(0, 0, 0, 0.05) border-bottom 1px solid #EEEEEE