From 9d02972446dd52ce0bbf362ccd541d22f8e32f93 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 22 Apr 2016 12:46:41 +0200 Subject: [PATCH] Minor style improvements --- wcfsetup/install/files/style/layout/layout.scss | 10 +++++----- wcfsetup/install/files/style/ui/alert.scss | 5 ++++- wcfsetup/install/files/style/ui/redactor.scss | 4 ++++ 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/wcfsetup/install/files/style/layout/layout.scss b/wcfsetup/install/files/style/layout/layout.scss index d15394eef2..0b157c11f4 100644 --- a/wcfsetup/install/files/style/layout/layout.scss +++ b/wcfsetup/install/files/style/layout/layout.scss @@ -49,15 +49,15 @@ a { color: $wcfContentText; flex: 1 0 auto; - @include screen-md-up { - padding: 60px 0; - } - - @include screen-sm-down { + @include screen-md-down { padding: 30px 0; width: 100%; } + @include screen-lg { + padding: 60px 0; + } + a { color: $wcfContentLink; diff --git a/wcfsetup/install/files/style/ui/alert.scss b/wcfsetup/install/files/style/ui/alert.scss index 7557977f0c..8fd5cec56e 100644 --- a/wcfsetup/install/files/style/ui/alert.scss +++ b/wcfsetup/install/files/style/ui/alert.scss @@ -3,7 +3,10 @@ .success, .warning { border-left: 5px solid transparent; - margin-top: 20px; + + &:not(:first-child) { + margin-top: 20px; + } @include screen-md-up { padding: 10px 20px; diff --git a/wcfsetup/install/files/style/ui/redactor.scss b/wcfsetup/install/files/style/ui/redactor.scss index 89aae5839e..84323e18b4 100644 --- a/wcfsetup/install/files/style/ui/redactor.scss +++ b/wcfsetup/install/files/style/ui/redactor.scss @@ -1,6 +1,10 @@ .redactor-box { position: relative; + &:not(:first-child) { + margin-top: 20px; + } + & + .messageTabMenu { padding: 0; } -- 2.20.1