Summary Files Commits Branches @commit @diff @stats
path: root / docs / src / layout / hero.pug
diff options
context:
space:
mode:
Commit81ee834ec6914f8b284e0724d541ed927513e6bd (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2018-11-20 11:54:48 +0800
Committer
 GitHub <noreply@github.com>
2018-11-20 11:54:48 +0800
Filesac0c29f2a5fa344bb7a05638602dd6dc60ce9e37 /docs/src/layout/hero.pug
Spectre-Dark-Gruvbox-81ee834ec6914f8b284e0724d541ed927513e6bd.tar
Spectre-Dark-Gruvbox-81ee834ec6914f8b284e0724d541ed927513e6bd.tar.gz
Spectre-Dark-Gruvbox-81ee834ec6914f8b284e0724d541ed927513e6bd.zip
Parentca1bdc5d86edb4d1baf3e9d1fabc89977950a2b4 (diff)
Parentba4c380af32bc75dad1e03c2386b5f8a3fb9118f (diff)
Merge pull request #534 from picturepan2/0.5.6 v0.5.6
0.5.6
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..36d765d
--- /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-dark
+ .hero-body
+ h1 Hero title
+ p This is a hero example
+
+ .docs-demo.columns
+ .column
+ .hero.hero-lg.bg-primary
+ .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