diff options
author | Roger Gonzalez <roger@rogs.me> | 2020-04-25 16:50:56 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2020-04-25 16:50:56 -0300 |
commit | 29d309db5196099982d96933acdc4c0d0ae45436 (patch) | |
tree | d05796b60487d2befc2780d35ae1f864eff225c7 /themes/m10c/assets/css/components/_pagination.scss |
Initial commit, migrating from Ghost
Diffstat (limited to 'themes/m10c/assets/css/components/_pagination.scss')
-rw-r--r-- | themes/m10c/assets/css/components/_pagination.scss | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/themes/m10c/assets/css/components/_pagination.scss b/themes/m10c/assets/css/components/_pagination.scss new file mode 100644 index 0000000..cc0d8a1 --- /dev/null +++ b/themes/m10c/assets/css/components/_pagination.scss @@ -0,0 +1,24 @@ +.pagination { + display: block; + list-style: none; + padding: 0; + font-size: 0.8em; + text-align: center; + margin: 3em 0; +} + +.page-item { + display: inline-block; + .page-link { + display: block; + padding: 0.285em 0.8em; + } + + &.active { + .page-link { + color: $lightest-color; + border-radius: 2em; + background: $primary-color; + } + } +} |