summaryrefslogtreecommitdiff
path: root/themes/theme/source/css/partials/paginator.styl
diff options
context:
space:
mode:
authorsomhairle <[email protected]>2026-04-21 20:40:27 +0800
committerSomhairle H. Marisol <[email protected]>2026-05-24 17:24:57 +0800
commitad8f9f55ea79a4d587aecc69698808da82de3d62 (patch)
treed25c0db712e6f015d850627ff957edea44c64f94 /themes/theme/source/css/partials/paginator.styl
downloadblog-ad8f9f55ea79a4d587aecc69698808da82de3d62.tar.gz
二〇二六年四月二十一日
Diffstat (limited to 'themes/theme/source/css/partials/paginator.styl')
-rw-r--r--themes/theme/source/css/partials/paginator.styl28
1 files changed, 28 insertions, 0 deletions
diff --git a/themes/theme/source/css/partials/paginator.styl b/themes/theme/source/css/partials/paginator.styl
new file mode 100644
index 00000000..08009372
--- /dev/null
+++ b/themes/theme/source/css/partials/paginator.styl
@@ -0,0 +1,28 @@
+.paginator
+ margin-top $margin-l-1
+
+.pagination
+ margin-top $margin-m-1
+ text-style(header)
+ display flex
+
+ &:before
+ content ""
+ flex-grow 1
+
+.page-number
+ position relative
+ margin-left $margin-l-0
+ underline-motion(header)
+
+.pagination .current:after
+ border-bottom solid $line-secondary $color-accent
+ width 100%
+
+.pagination .space
+ margin-left $margin-l-0
+
+@media (max-width: 688px)
+ .paginator
+ margin-top $margin-m-1
+ margin-bottom $margin-m-1 \ No newline at end of file