summaryrefslogtreecommitdiffstats
path: root/assets/sass/modules/_pagination.scss
diff options
context:
space:
mode:
authoramzrk22020-05-06 22:58:45 +0800
committeramzrk22020-05-06 22:58:45 +0800
commit30772e0dd8436062e325eda0f54e90f7e8696705 (patch)
tree2ed1000408743f555ec9a409d986af55b87237c6 /assets/sass/modules/_pagination.scss
parent41ef0bdcde0534402d430185052f4c553144487c (diff)
downloadhugo-theme-fuji-30772e0dd8436062e325eda0f54e90f7e8696705.tar.gz
hugo-theme-fuji-30772e0dd8436062e325eda0f54e90f7e8696705.tar.bz2
hugo-theme-fuji-30772e0dd8436062e325eda0f54e90f7e8696705.zip
Sass structure full rebuild
Diffstat (limited to 'assets/sass/modules/_pagination.scss')
-rw-r--r--assets/sass/modules/_pagination.scss28
1 files changed, 28 insertions, 0 deletions
diff --git a/assets/sass/modules/_pagination.scss b/assets/sass/modules/_pagination.scss
new file mode 100644
index 0000000..e2e9fbf
--- /dev/null
+++ b/assets/sass/modules/_pagination.scss
@@ -0,0 +1,28 @@
+.pagination {
+ text-align: center;
+ // spliter between pagination and last post block
+ border-top: $spliter;
+ padding: 1rem 0;
+
+ li {
+ display: inline;
+
+ &.pag-item {
+ padding: 0 0.25rem;
+
+ a {
+ vertical-align: middle;
+ }
+ }
+
+ // darker number when active
+ &.pag-current a {
+ color: $color-secondary;
+ }
+ }
+
+ i {
+ padding: 0 0.25rem;
+ vertical-align: middle;
+ }
+} \ No newline at end of file