summaryrefslogtreecommitdiffstats
path: root/assets/sass
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-29 22:26:59 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-29 22:26:59 +0200
commit0622836d5cb3076a6e23ed34583655c152403ca3 (patch)
tree2154e9befa4bc5fa09bca3f19b4c2e4e0661c591 /assets/sass
parente10cd65cab6cfcd60f09885aa00f9bb876ca4d1e (diff)
downloadgohugo-theme-ed-0622836d5cb3076a6e23ed34583655c152403ca3.tar.gz
Add pagination support
Diffstat (limited to 'assets/sass')
-rw-r--r--assets/sass/_customize.scss33
1 files changed, 32 insertions, 1 deletions
diff --git a/assets/sass/_customize.scss b/assets/sass/_customize.scss
index 2b035c4..10b7b3f 100644
--- a/assets/sass/_customize.scss
+++ b/assets/sass/_customize.scss
@@ -45,7 +45,7 @@
padding-right: 1rem;
}
-.blog-post {
+.post {
margin-top: 40px;
@include mq(tabletp) {
@@ -91,6 +91,37 @@
margin-top: -.5rem;
}
+nav.pagination {
+ justify-content: center;
+}
+
+ul.pager {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+ul.pager li {
+ display: inline;
+ padding: 10px;
+ margin: 5px;
+}
+
+.divider {
+ position: relative;
+ margin: 2.5rem 0;
+}
+
+.divider::after {
+ content: "";
+ display: table;
+ clear: both;
+}
+
+.d-flex {
+ display: flex;
+}
+
.footnotes hr {
margin: 0;
border: 0;