From 064f21a71272370c5d8e7d79018e805dd5156448 Mon Sep 17 00:00:00 2001 From: Wes Date: Sat, 16 Jul 2016 00:01:09 +0200 Subject: [PATCH] Fix page-tools hiding title on small devices --- styles/theme-base.css | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/styles/theme-base.css b/styles/theme-base.css index 821e62b0a7..3543a779b8 100755 --- a/styles/theme-base.css +++ b/styles/theme-base.css @@ -402,12 +402,32 @@ hr { } .page-tools { - margin-left:1.5rem; - float: right; - text-align: right; - position: relative; - z-index: 10; + text-align: center; +} + +@media (min-width:650px){ + .page-tools { + float: right; + text-align: right; + position: relative; + z-index: 10; + } } + +@media (min-width:768px){ + .page-tools { + float:none; + text-align:center; + } +} + +@media (min-width:886px){ + .page-tools { + float:right; + text-align:right; + } +} + .page-tools #changelang-langs, .page-tools .edit-bug { font-size:.75rem;