diff options
| Commit | ef6d8056d26fe952891e47660f1cb0d1ed7041f1 (patch) | |
|---|---|---|
| Author | 2018-11-08 07:42:33 +0800 | |
| Committer | 2018-11-08 07:42:33 +0800 | |
| Files | 26e1a053ee953a570e54939ef30c2c89636a6acf /docs/src/contents/navbar.pug | |
| Spectre-Dark-Gruvbox-0.5.5.tar Spectre-Dark-Gruvbox-0.5.5.tar.gz Spectre-Dark-Gruvbox-0.5.5.zip | ||
| Parent | 0a6c76429b294c26d318479c05736537f3d95abb (diff) | |
| Parent | eb7fd9d2538accfe5d291ca93d2ce7dd6e62fefa (diff) | |
Merge pull request #522 from picturepan2/0.5.5 v0.5.5
0.5.5
1 files changed, 0 insertions, 66 deletions
| -rw-r--r-- | docs/src/contents/navbar.pug | 66 |
diff --git a/docs/src/contents/navbar.pug b/docs/src/contents/navbar.pug deleted file mode 100644 index fd4ac29..0000000 --- a/docs/src/contents/navbar.pug +++ /dev/null @@ -1,66 +0,0 @@ -p Navbar is a layout container that appears in the header of apps and websites. - -.docs-demo.columns - .column - .navbar - .navbar-section - a.navbar-brand.mr-2(href="#navbar") Spectre.css - a.btn.btn-link(href="#navbar") Docs - a.btn.btn-link(href="https://github.com/picturepan2/spectre") GitHub - .navbar-section - .input-group.input-inline - input.form-input(type="text" placeholder="search") - button.btn.btn-primary.input-group-btn Search - -p - | The navbar component can include logo brand, nav links and buttons, search box or any combination of those elements. - | Each section with the #[code navbar-section] class will be evenly distributed in the container. - -pre.code(data-lang='HTML') - code - :highlight(lang="html") - <header class="navbar"> - <section class="navbar-section"> - <a href="..." class="navbar-brand mr-2">Spectre.css</a> - <a href="..." class="btn btn-link">Docs</a> - <a href="..." class="btn btn-link">GitHub</a> - </section> - <section class="navbar-section"> - <div class="input-group input-inline"> - <input class="form-input" type="text" placeholder="search"> - <button class="btn btn-primary input-group-btn">Search</button> - </div> - </section> - </header> - -p - | You can use #[code navbar-center] class to have a centered section. - -.docs-demo.columns - .column.col-12 - .navbar - .navbar-section - a.btn.btn-link(href="#navbar") Docs - a.btn.btn-link(href="#navbar") Examples - .navbar-center - img(src="img/spectre-logo.svg" alt="Spectre.css") - .navbar-section - a.btn.btn-link(href="https://twitter.com/spectrecss") Twitter - a.btn.btn-link(href="https://github.com/picturepan2/spectre") GitHub - -pre.code(data-lang='HTML') - code - :highlight(lang="html") - <header class="navbar"> - <section class="navbar-section"> - <a href="#" class="btn btn-link">Docs</a> - <a href="#" class="btn btn-link">Examples</a> - </section> - <section class="navbar-center"> - <!-- centered logo or brand --> - </section> - <section class="navbar-section"> - <a href="#" class="btn btn-link">Twitter</a> - <a href="#" class="btn btn-link">GitHub</a> - </section> - </header>
\ No newline at end of file |