summaryrefslogtreecommitdiff
path: root/themes/m10c/assets/css/components/_pagination.scss
diff options
context:
space:
mode:
Diffstat (limited to 'themes/m10c/assets/css/components/_pagination.scss')
-rw-r--r--themes/m10c/assets/css/components/_pagination.scss24
1 files changed, 24 insertions, 0 deletions
diff --git a/themes/m10c/assets/css/components/_pagination.scss b/themes/m10c/assets/css/components/_pagination.scss
new file mode 100644
index 0000000..cc0d8a1
--- /dev/null
+++ b/themes/m10c/assets/css/components/_pagination.scss
@@ -0,0 +1,24 @@
+.pagination {
+ display: block;
+ list-style: none;
+ padding: 0;
+ font-size: 0.8em;
+ text-align: center;
+ margin: 3em 0;
+}
+
+.page-item {
+ display: inline-block;
+ .page-link {
+ display: block;
+ padding: 0.285em 0.8em;
+ }
+
+ &.active {
+ .page-link {
+ color: $lightest-color;
+ border-radius: 2em;
+ background: $primary-color;
+ }
+ }
+}