From eae62f13896d166a3418a58ed9384129fd7972f2 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 2 Apr 2016 16:53:45 +0200 Subject: right-align menu only in large view. --- test.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'test.scss') diff --git a/test.scss b/test.scss index b132fae..778ab4a 100644 --- a/test.scss +++ b/test.scss @@ -2,8 +2,12 @@ @import 'compass/css3'; .topbar { - padding: 1.5em 6em 1.5em 0; - text-align: right; + padding: 1.5em 0; + text-align: center; + @media screen and (min-width: 701px) { + padding: 1.5em 6em 1.5em 0; + text-align: right; + } } .topbar .footer { -- cgit v1.2.3