Skip to content

Commit 2f8f6d3

Browse files
committed
Add pagination styles
1 parent ed0d679 commit 2f8f6d3

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

app/styles/app.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
@import "components/mcac-header.scss";
1111
@import "components/pace";
1212
@import "components/page-view";
13+
@import "components/pagination";
1314
@import "components/post-composer";
1415
@import "components/post-form";
1516
@import "components/post-view";
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
.pagination-wrapper {
2+
text-align: center;
3+
4+
.pagination {
5+
li {
6+
background-color: $white;
7+
display: inline-block;
8+
font-size: 18px;
9+
margin: $padding-s;
10+
padding: $padding-s $padding-m;
11+
}
12+
13+
a, a:visited {
14+
color: $gray-dark;
15+
}
16+
17+
.arrow {
18+
&.prev {
19+
}
20+
21+
&.next {
22+
}
23+
}
24+
}
25+
26+
.page-number {
27+
&.active {
28+
}
29+
}
30+
}

app/styles/pages/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
padding-bottom: $padding-xl;
5555
}
5656

57-
@media only screen and (min-width: $small-device-break) {
57+
@media only screen and (min-width: $medium-device-break) {
5858
.cover-page {
5959
h1 {
6060
font-size: 64px;

0 commit comments

Comments
 (0)