Summary Files Commits Branches @commit @diff @stats
path: root / docs / src / elements.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/elements.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, 84 insertions, 33 deletions
-rw-r--r--docs/src/elements.pug117
diff --git a/docs/src/elements.pug b/docs/src/elements.pug
index c80dba2..270cc39 100644
--- a/docs/src/elements.pug
+++ b/docs/src/elements.pug
@@ -1,43 +1,94 @@
-extends _docs-layout.pug
+extends _layout/_docs-layout.pug
block variables
+ - var slug = 'elements'
+ - var parent = 'elements'
- var title = 'Elements - Spectre.css CSS Framework'
- - var description = ''
- - var current = 'elements'
+ - 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
- //- Typography
- +docs-heading('typography', 'Typography')
- include contents/_ad-g.pug
- include contents/typography.pug
-
- //- Tables
- +docs-heading('tables', 'Tables')
- include contents/tables.pug
+ +docs-heading('elements', 'Elements')
+ include _layout/_ad-g.pug
- //- Buttons
- +docs-heading('buttons', 'Buttons')
- include contents/_ad-c.pug
- include contents/buttons.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.
- //- Forms
- +docs-heading('forms', 'Forms')
- include contents/forms.pug
-
- //- Icons
- +docs-heading('icons', 'Icons')
- include contents/icons.pug
+ .docs-demo.columns
+ .column.col-6.col-xs-12
+ .card
+ .card-header
+ .card-title.h5 Typography
+ .card-body
+ | Headings, paragraphs, semantic text, blockquote and lists elements
+ .card-footer
+ a.btn.btn-primary(href="elements/typography.html") View
+
+ .column.col-6.col-xs-12
+ .card
+ .card-header
+ .card-title.h5 Tables
+ .card-body
+ | Tables and data sets
+ .card-footer
+ a.btn.btn-primary(href="elements/tables.html") View
+
+ .column.col-6.col-xs-12
+ .card
+ .card-header
+ .card-title.h5 Buttons
+ .card-body
+ | Simple button styles for actions in different types and sizes
+ .card-footer
+ a.btn.btn-primary(href="elements/buttons.html") View
+
+ .column.col-6.col-xs-12
+ .card
+ .card-header
+ .card-title.h5 Forms
+ .card-body
+ | Input, textarea, select, checkbox, radio and switch
+ .card-footer
+ a.btn.btn-primary(href="elements/forms.html") View
- //- Labels
- +docs-heading('labels', 'Labels')
- include contents/labels.pug
+ .column.col-6.col-xs-12
+ .card
+ .card-header
+ .card-title.h5 Icons
+ .card-body
+ | Single-element, responsive and pure CSS icons
+ .card-footer
+ a.btn.btn-primary(href="elements/icons.html") View
+
+ .column.col-6.col-xs-12
+ .card
+ .card-header
+ .card-title.h5 Labels
+ .card-body
+ | Formatted text tags for highlighted, informative information
+ .card-footer
+ a.btn.btn-primary(href="elements/labels.html") View
+
+ .column.col-6.col-xs-12
+ .card
+ .card-header
+ .card-title.h5 Code
+ .card-body
+ | Inline and multiline code snippets
+ .card-footer
+ a.btn.btn-primary(href="elements/code.html") View
+
+ .column.col-6.col-xs-12
+ .card
+ .card-header
+ .card-title.h5 Media
+ .card-body
+ | Responsive images, figures and video
+ .card-footer
+ a.btn.btn-primary(href="elements/media.html") View
- //- Codes
- +docs-heading('code', 'Code')
- include contents/code.pug
-
- //- Media
- +docs-heading('media', 'Media')
- include contents/media.pug
+ include _layout/_ad-c.pug
- include _footer.pug \ No newline at end of file
+ include _layout/_footer.pug \ No newline at end of file