diff options
author | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2020-01-31 16:46:00 +0300 |
---|---|---|
committer | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2020-01-31 16:46:00 +0300 |
commit | 2b6cf1c8302fe75b05c14cffeb872302decd76e7 (patch) | |
tree | 1c14bc18a3f212f44cd25522ee40d31b89988269 /assets | |
parent | c5a771d8b6822b28ff66d70df166dac733cc9764 (diff) |
Add missing paginator in mobile view.
Diffstat (limited to 'assets')
-rw-r--r-- | assets/scss/journal.scss | 106 |
1 files changed, 54 insertions, 52 deletions
diff --git a/assets/scss/journal.scss b/assets/scss/journal.scss index ab0d02b..47002f1 100644 --- a/assets/scss/journal.scss +++ b/assets/scss/journal.scss @@ -885,59 +885,7 @@ a { } } - .pagination { - display: none; - @media screen and (max-width: $single-column-max-width) { - display: flex !important; - flex-direction: row; - justify-content: space-between; - &:not(.index-page) { - margin-top: 15px; - } - .pagination-indicator { - display: flex; - flex-direction: column; - align-content: center; - justify-content: center; - align-items: center; - justify-items: center; - width: $extra-container-width; - padding: 15px 0; - font-size: 12px; - font-family: $mono-font-list; - } - .pagination-action { - display: flex; - flex-direction: column; - align-content: center; - justify-content: center; - align-items: center; - justify-items: center; - width: $extra-container-pagination-width; - cursor: hand; - cursor: pointer; - padding: 15px 0; - :not(.pagination-action-icon) { - transition: all 0.2s linear; - font-size: 13px; - font-family: $mono-font-list; - } - .pagination-action-icon { - // margin-right: 4px; - } - * { - transition: all 0.3s linear; - } - &:hover { - text-decoration: none; - * { - color: $dark-accent; - } - } - } - } - } } @@ -993,4 +941,58 @@ a { padding: 10px; } } +} + +.pagination { + display: none; + + @media screen and (max-width: $single-column-max-width) { + display: flex !important; + flex-direction: row; + justify-content: space-between; + &:not(.index-page) { + margin-top: 15px; + } + .pagination-indicator { + display: flex; + flex-direction: column; + align-content: center; + justify-content: center; + align-items: center; + justify-items: center; + width: $extra-container-width; + padding: 15px 0; + font-size: 12px; + font-family: $mono-font-list; + } + .pagination-action { + display: flex; + flex-direction: column; + align-content: center; + justify-content: center; + align-items: center; + justify-items: center; + width: $extra-container-pagination-width; + cursor: hand; + cursor: pointer; + padding: 15px 0; + :not(.pagination-action-icon) { + transition: all 0.2s linear; + font-size: 13px; + font-family: $mono-font-list; + } + .pagination-action-icon { + // margin-right: 4px; + } + * { + transition: all 0.3s linear; + } + &:hover { + text-decoration: none; + * { + color: $dark-accent; + } + } + } + } }
\ No newline at end of file |