various fixes, added pagination and articles prev/next links.
[theme-danix.xyz.git] / assets / sass / components / _pagination.scss
index 0059795..cb39c39 100644 (file)
                                }
                        }
                }
-       }
\ No newline at end of file
+       }
+
+
+       ul.prev-next {
+               cursor: default;
+               list-style: none;
+               padding-left: 0;
+
+               li {
+                       display: inline-block;
+                       padding-left: 0;
+                       vertical-align: middle;
+
+                       &:first-child {
+                               padding-right: 0.75em;
+                       }
+
+                       &:last-child {
+                               padding-left: 0.75em;
+                       }
+               }
+
+               @include breakpoint('<=xsmall') {
+                       li {
+                               &:nth-child(n+2):nth-last-child(n+2) {
+                                       display: none;
+                               }
+
+                               &:first-child {
+                                       padding-right: 0;
+                               }
+                       }
+               }
+       }