add cards for listing

This commit is contained in:
MunifTanjim 2017-11-25 22:37:31 +06:00 committed by MunifTanjim
parent 9a636636c3
commit 2793036218
No known key found for this signature in database
GPG key ID: 9FA86B9EC363F224
17 changed files with 30 additions and 9 deletions

View file

@ -1,5 +1,6 @@
---
title: Alerts
description: PaperCSS Alerts
---
<div class="row flex-spaces">
<div class="alert alert-primary">

View file

@ -1,5 +1,6 @@
---
title: Badges
description: PaperCSS Badges
---
### Default

View file

@ -1,5 +1,6 @@
---
title: Buttons
description: PaperCSS Buttons
---
Insprired by [Imprefect Buttons](https://codepen.io/tmrDevelops/pen/VeRvKX)

View file

@ -1,5 +1,6 @@
---
title: Cards
description: PaperCSS Cards
---
### Full card example

View file

@ -1,5 +1,6 @@
---
title: Forms
description: PaperCSS Forms
---
<div class="form-group">
<label for="paperInputs1">Input</label>

View file

@ -1,5 +1,6 @@
---
title: Popovers
description: PaperCSS Popovers
---
### Basic usage

View file

@ -1,5 +1,6 @@
---
title: Code
description: PaperCSS Code
---
Let's make some pretty `<code>`

View file

@ -1,5 +1,6 @@
---
title: Images
description: PaperCSS Images
---
### Responsive

View file

@ -1,5 +1,6 @@
---
title: Lists
description: PaperCSS Lists
---
### Ordered Lists

View file

@ -1,5 +1,6 @@
---
title: Tables
description: PaperCSS Tables
---
### Regular

View file

@ -1,6 +1,6 @@
---
title: Typography
slug: typography
description: PaperCSS Typography
---
How pretty is the text?

View file

@ -1,6 +1,6 @@
---
title: Flexbox
slug: flexbox
description: PaperCSS Flexbox
---
### Flexgrid

View file

@ -1,6 +1,7 @@
---
title: Borders & Shadows
slug: borders
description: PaperCSS Borders & Shadows
---
### Borders

View file

@ -1,5 +1,6 @@
---
title: Colors
description: PaperCSS Colors
---
### Text

View file

@ -1,5 +1,6 @@
---
title: Spacing
description: PaperCSS Spacing
---
### Margin
<div class="row flex-spaces child-borders">

View file

@ -1,5 +1,13 @@
<li>
<a href='{{ .Permalink | relURL }}'>
{{- .Title -}}
</a>
</li>
<div class='col sm-6 md-4'>
<div class='card'>
<div class="card-body">
<h4 class="card-title">{{- .Title -}}</h4>
<div class="card-text">
{{- .Params.description -}}
</div>
<a class='paper-btn btn-block' href='{{ .Permalink | relURL }}'>
Let's see!
</a>
</div>
</div>
</div>

View file

@ -5,11 +5,11 @@
{{ .Content }}
<ul>
<div class='row flex-spaces'>
{{ range .Pages }}
{{ .Render "li" }}
{{ end }}
</ul>
</div>
</div>
{{ partial "footer" . }}