Summary Files Commits Branches @commit @diff @stats
path: root / docs / src / layout
diff options
context:
space:
mode:
Commit26d3d62515b3911f6a3f87e6161b9491cb02d8de (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2018-11-14 11:35:08 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2018-11-14 11:35:08 +0800
Filese556eff2f5c6fc5d406f45ed8589f1a9a7624da1 /docs/src/layout
Spectre-Dark-Gruvbox-26d3d62515b3911f6a3f87e6161b9491cb02d8de.tar
Spectre-Dark-Gruvbox-26d3d62515b3911f6a3f87e6161b9491cb02d8de.tar.gz
Spectre-Dark-Gruvbox-26d3d62515b3911f6a3f87e6161b9491cb02d8de.zip
Parentca1bdc5d86edb4d1baf3e9d1fabc89977950a2b4 (diff)
Add Hero layout #380
1 files changed, 45 insertions, 0 deletions
-rw-r--r--docs/src/layout/hero.pug45
diff --git a/docs/src/layout/hero.pug b/docs/src/layout/hero.pug
new file mode 100644
index 0000000..b095b7e
--- /dev/null
+++ b/docs/src/layout/hero.pug
@@ -0,0 +1,45 @@
+extends ../_layout/_docs-layout.pug
+
+block variables
+ - var slug = 'hero'
+ - var parent = 'layout'
+ - var title = 'Hero - Layout - Spectre.css CSS Framework'
+ - 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
+ +docs-heading('hero', 'Hero')
+ include ../_layout/_ad-g.pug
+
+ p
+ | The Hero container shows key featured content or information.
+
+ .docs-demo.columns
+ .column
+ .hero.bg-gray
+ .hero-body
+ h1 Hero title
+ p This is a hero example
+
+
+ pre.code(data-lang='HTML')
+ code
+ :highlight(lang="html")
+ <!-- hero example -->
+
+ .docs-demo.columns
+ .column
+ .hero.hero-sm.bg-gray
+ .hero-body
+ h1 Hero title
+ p This is a hero example
+
+ .docs-demo.columns
+ .column
+ .hero.hero-lg.bg-gray
+ .hero-body
+ h1 Hero title
+ p This is a hero example
+
+ include ../_layout/_ad-c.pug
+
+ include ../_layout/_footer.pug \ No newline at end of file