Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
20261385
Commit
20261385
authored
9 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
fix blog example to use customized pagination based on button styles
parent
e482fe24
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/examples/blog/blog.css
+2
-6
docs/examples/blog/blog.css
docs/examples/blog/index.html
+3
-5
docs/examples/blog/index.html
with
5 additions
and
11 deletions
+5
-11
docs/examples/blog/blog.css
+
2
-
6
View file @
20261385
...
@@ -125,14 +125,10 @@ h6, .h6 {
...
@@ -125,14 +125,10 @@ h6, .h6 {
/* Pagination */
/* Pagination */
.
pager
{
.
blog-pagination
{
margin-bottom
:
4rem
;
margin-bottom
:
4rem
;
text-align
:
left
;
}
}
.pager
>
li
>
a
{
.blog-pagination
>
.btn
{
width
:
8rem
;
padding
:
.75rem
1.25rem
;
text-align
:
center
;
border-radius
:
2rem
;
border-radius
:
2rem
;
}
}
...
...
This diff is collapsed.
Click to expand it.
docs/examples/blog/index.html
+
3
-
5
View file @
20261385
...
@@ -104,11 +104,9 @@
...
@@ -104,11 +104,9 @@
<p>
Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.
</p>
<p>
Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.
</p>
</div>
<!-- /.blog-post -->
</div>
<!-- /.blog-post -->
<nav>
<nav
class=
"blog-pagination"
>
<ul
class=
"pager"
>
<a
class=
"btn btn-outline-primary"
href=
"#"
>
Older
</a>
<li><a
href=
"#"
>
Older
</a></li>
<a
class=
"btn btn-outline-secondary disabled"
href=
"#"
>
Newer
</a>
<li
class=
"disabled"
><a
href=
"#"
>
Newer
</a></li>
</ul>
</nav>
</nav>
</div>
<!-- /.blog-main -->
</div>
<!-- /.blog-main -->
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment