From 0e9bac1d217f033b7783e5a7ec052879919107c8 Mon Sep 17 00:00:00 2001 From: Aleperen Bozkurt Date: Tue, 19 Dec 2017 14:14:17 +0300 Subject: [PATCH] Fix #14 --- _sass/site.scss | 5 ++++- _sass/variables.scss | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/_sass/site.scss b/_sass/site.scss index ffbdf66a6a5b3..fa342e7870358 100644 --- a/_sass/site.scss +++ b/_sass/site.scss @@ -36,7 +36,7 @@ body { font-family: $title-font; text-shadow: 1px 1px 5px #000; color: #FFF; - margin-top: 130px; + margin-top: $top-margin; opacity: 0; animation-name: baslik; animation-delay: 1.2s; @@ -876,4 +876,7 @@ ul.menu { .pc { display: none; } + .baslik { + margin-top: $top-margin-mobile; + } } diff --git a/_sass/variables.scss b/_sass/variables.scss index e10bcd416d736..1b8fca895611b 100644 --- a/_sass/variables.scss +++ b/_sass/variables.scss @@ -23,6 +23,11 @@ $main-color: $white; $background-color: $blue; $thrid-color: rgba(52, 152, 219, 0.8); +// Heigths +$top-margin: 130px; +$top-margin-mobile: 100px; + + $color_0: #dedecb; $color_1: #000; $color_2: #fff;