summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2016-04-02 16:53:45 +0200
committerJonas Smedegaard <dr@jones.dk>2016-04-02 16:53:45 +0200
commiteae62f13896d166a3418a58ed9384129fd7972f2 (patch)
tree1fbd46016b9ee8491427535f80012854c75754d9
parentbb87ba4a7211eb4b1c378ae07a9e6fb9a34e56dc (diff)
right-align menu only in large view.
-rw-r--r--test.scss8
1 files changed, 6 insertions, 2 deletions
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 {