From a8cb0f181b609efa19f3d1942a78ee0d017d12f0 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Thu, 5 May 2016 17:27:45 +0800 Subject: add navbar code and doc --- dist/spectre.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'dist/spectre.css') diff --git a/dist/spectre.css b/dist/spectre.css index ab43bf3..fdb7b99 100644 --- a/dist/spectre.css +++ b/dist/spectre.css @@ -948,6 +948,11 @@ textarea.form-input { .input-group .input-group-btn:focus { z-index: 99; } +.form-inline { + display: inline-block; + vertical-align: middle; + width: auto; +} .container { margin-left: auto; margin-right: auto; @@ -1244,6 +1249,23 @@ textarea.form-input { display: none !important; } } +.navbar { + -webkit-align-items: center; + align-items: center; + display: flex; + display: -ms-flexbox; + display: -webkit-flex; + -ms-flex-align: center; + -ms-flex-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + padding: 1rem; +} +.navbar .navbar-brand { + font-size: 2rem; + text-decoration: none; + vertical-align: middle; +} .empty { background: #f8f8f8; border-radius: .3rem; -- cgit v1.3.1-26-gb76a