Summary Files Commits Branches @commit @diff @stats
path: root / docs / src / layout.pug
diff options
context:
space:
mode:
Commitef6d8056d26fe952891e47660f1cb0d1ed7041f1 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2018-11-08 07:42:33 +0800
Committer
 GitHub <noreply@github.com>
2018-11-08 07:42:33 +0800
Files26e1a053ee953a570e54939ef30c2c89636a6acf /docs/src/layout.pug
Spectre-Dark-Gruvbox-ef6d8056d26fe952891e47660f1cb0d1ed7041f1.tar
Spectre-Dark-Gruvbox-ef6d8056d26fe952891e47660f1cb0d1ed7041f1.tar.gz
Spectre-Dark-Gruvbox-ef6d8056d26fe952891e47660f1cb0d1ed7041f1.zip
Parent0a6c76429b294c26d318479c05736537f3d95abb (diff)
Parenteb7fd9d2538accfe5d291ca93d2ce7dd6e62fefa (diff)
Merge pull request #522 from picturepan2/0.5.5 v0.5.5
0.5.5
1 files changed, 42 insertions, 16 deletions
-rw-r--r--docs/src/layout.pug58
diff --git a/docs/src/layout.pug b/docs/src/layout.pug
index 5aa8bc5..582a98b 100644
--- a/docs/src/layout.pug
+++ b/docs/src/layout.pug
@@ -1,23 +1,49 @@
-extends _docs-layout.pug
+extends _layout/_docs-layout.pug
block variables
+ - var slug = 'layout'
+ - var parent = 'layout'
- var title = 'Layout - Spectre.css CSS Framework'
- - var description = ''
- - var current = 'layout'
+ - var description = 'Spectre.css is a lightweight, responsive and modern CSS framework for faster and extensible development. Spectre provides basic styles for typography and elements, flexbox based responsive layout system, pure CSS components and utilities with best practice coding and consistent design language.'
block docs-content
- //- Flexbox grid
- +docs-heading('grid', 'Flexbox grid')
- include contents/_ad-g.pug
- include contents/grid.pug
-
- //- Responsive
- +docs-heading('responsive', 'Responsive')
- include contents/_ad-c.pug
- include contents/responsive.pug
+ +docs-heading('layout', 'Layout')
+ include _layout/_ad-g.pug
- //- Navbar
- +docs-heading('navbar', 'Navbar')
- include contents/navbar.pug
+ p
+ strong Spectre.css
+ | is a lightweight, responsive and modern CSS framework for faster and extensible development.
+ p
+ | Spectre provides basic styles for typography and elements, flexbox based responsive layout system, pure CSS components and utilities with best practice coding and consistent design language.
- include _footer.pug \ No newline at end of file
+ .docs-demo.columns
+ .column.col-6.col-xs-12
+ .card
+ .card-header
+ .card-title.h5 Flexbox grid
+ .card-body
+ | Flexbox based responsive grid system with 12 columns
+ .card-footer
+ a.btn.btn-primary(href="layout/grid.html") View
+
+ .column.col-6.col-xs-12
+ .card
+ .card-header
+ .card-title.h5 Responsive
+ .card-body
+ | Responsive layout grid system and responsive visibility utilities
+ .card-footer
+ a.btn.btn-primary(href="layout/responsive.html") View
+
+ .column.col-6.col-xs-12
+ .card
+ .card-header
+ .card-title.h5 Navbar
+ .card-body
+ | Layout container that appears in the header of apps and websites
+ .card-footer
+ a.btn.btn-primary(href="layout/navbar.html") View
+
+ include _layout/_ad-c.pug
+
+ include _layout/_footer.pug \ No newline at end of file