Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/danielkvist/hugo-terrassa-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authordanielkvist <d94.zaragoza@gmail.com>2019-01-09 19:47:32 +0300
committerdanielkvist <d94.zaragoza@gmail.com>2019-01-09 19:48:30 +0300
commitf83f56f21156dc5e275f47041c1a46c91cc95138 (patch)
tree22af21ddb4aabfcdfd0d13cb63b9b1f518e11ccc /assets
parentdbb375d3815d4673d2b95c2a8a0e08ca3cd710e5 (diff)
add pagination
Diffstat (limited to 'assets')
-rw-r--r--assets/css/media-queries.css12
-rw-r--r--assets/css/style.css23
2 files changed, 34 insertions, 1 deletions
diff --git a/assets/css/media-queries.css b/assets/css/media-queries.css
index 11fe039..556d688 100644
--- a/assets/css/media-queries.css
+++ b/assets/css/media-queries.css
@@ -12,6 +12,10 @@
margin: 0 20%;
}
+ .pagination {
+ width: 40%;
+ }
+
.footer__contact {
flex-direction: column;
padding: 1.75rem;
@@ -43,6 +47,10 @@
max-width: 70%;
}
+ .pagination {
+ width: 50%;
+ }
+
.footer__social {
padding: 1rem 0;
}
@@ -88,6 +96,10 @@
.post__body {
margin: 0 10%;
}
+
+ .pagination {
+ width: 70%;
+ }
}
@media only screen and (max-width: 576px) {
diff --git a/assets/css/style.css b/assets/css/style.css
index 28aa7fb..0e7be99 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -488,4 +488,25 @@
opacity: 0.7;
transform: scale(0, 0);
transition: 0s;
-} \ No newline at end of file
+}
+
+/* PAGINATION */
+.pagination {
+ display: flex;
+ justify-content: space-evenly;
+ margin-bottom: 1.75rem;
+ width: 20%;
+}
+
+.page-item.disabled > .page-link {
+ cursor: not-allowed;
+ opacity: 0.7;
+}
+
+.page-item.active > .page-link {
+ color: var(--primary-dark);
+}
+
+.page-link {
+ color: var(--primary-text);
+}