From a55a6161eadc4a8373d7d026335936eba963a609 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 28 Dec 2015 19:53:53 +0800 Subject: [PATCH] update hint style --- site/static/style.css | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/site/static/style.css b/site/static/style.css index c9cfe60595..9652398b59 100644 --- a/site/static/style.css +++ b/site/static/style.css @@ -162,15 +162,16 @@ a.logo { } .global-hint { - float: left; color: #666; - margin-left: 80px; font-size: 12px; - padding: 4px 10px; - margin-top: 26px; - border-radius: 6px; - box-shadow: 0 0 3px #ddd; + padding: 5px 14px 6px; + margin-top: 0; + border-radius: 0 0 6px 6px; + box-shadow: 0 1px 3px #ddd; opacity: 0.8; + position: absolute; + left: 50%; + transform: translateX(-50%); } .nav {