From d68032b77add7f9c2d89c80d8f1e04082ec5570c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Wed, 5 Nov 2014 20:50:15 +0100 Subject: [PATCH] Fix font size and timestamp positioning issues on mobile By using relative sizes, we automatically adjust to any change in the font size setting Also, the timestamp shouldn't be lifted up, that looks weird. A margin-bottom: -1px does the CSS engine spell of confusion as well and doesn't mess up the layout. --- css/glowingbear.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/css/glowingbear.css b/css/glowingbear.css index 9d201a5..d62d9d8 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -593,12 +593,12 @@ li.buffer.indent.private a { #bufferlines td.time { padding-right: 3px; - font-size: 12px; + font-size: 0.8em; } #bufferlines td.time span.date { display: block; - margin-top: -2px; + margin-bottom: -1px; } #bufferlines td.prefix { @@ -606,7 +606,7 @@ li.buffer.indent.private a { padding-right: 5px; border: 0; font-weight: bold; - font-size: 15px; + font-size: 1.06em; } #bufferlines td.message {