From 3828d1273af7e5641ca096333888762d994c1465 Mon Sep 17 00:00:00 2001 From: nodejh Date: Fri, 24 Mar 2017 21:34:34 +0800 Subject: [PATCH] update: nav responsive --- static/css/style.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/static/css/style.css b/static/css/style.css index bf4ab06..2dee1b7 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -199,6 +199,25 @@ nav.main-nav a.cta { color: #fff; margin-left: 12px; } +@media (max-width: 700px) { + nav.main-nav { + padding: 20px 10px 0 0; + background: #fff; + background: rgba(255, 255, 255, .90); + margin: 0 auto; + text-align: right; + z-index: 100; + } + nav.main-nav a { + top: 8px; + right: 6px; + padding: 8px 8px; + color: #5badf0; + font-size: 13px; + line-height: 1.35; + border-radius: 3px; + } +} #wrapper { max-width: 600px;