diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2015-08-25 15:50:01 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2015-08-25 15:51:51 +0200 |
commit | bf9f0c429788bc0b6a07867d3ad880bcdf75885d (patch) | |
tree | 617935c5abdc6f45bf92923c2c16f4becee8cb10 /blog/_assets | |
parent | 59796270fef02a4cfcd5e283b193d018b9a29712 (diff) | |
download | norsk-urskog-main-bf9f0c429788bc0b6a07867d3ad880bcdf75885d.tar.gz norsk-urskog-main-bf9f0c429788bc0b6a07867d3ad880bcdf75885d.tar.bz2 norsk-urskog-main-bf9f0c429788bc0b6a07867d3ad880bcdf75885d.zip |
Move pagination to separate partial and style it a bit.
Diffstat (limited to 'blog/_assets')
-rw-r--r-- | blog/_assets/stylesheets/_pagination.scss | 31 | ||||
-rw-r--r-- | blog/_assets/stylesheets/main.scss | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/blog/_assets/stylesheets/_pagination.scss b/blog/_assets/stylesheets/_pagination.scss new file mode 100644 index 0000000..7d08dfc --- /dev/null +++ b/blog/_assets/stylesheets/_pagination.scss @@ -0,0 +1,31 @@ +.pagination { + padding: { + top: 0.5cm; + bottom: 0.5cm; + } + + .page_number { + padding: { + top: 1.5mm; + bottom: 1.5mm; + left: 2mm; + right: 2mm; + } + background-color: $nav-link-hover-bg; + color: $nav-link-hover-color; + } + a { + text-decoration: none; + color: $link-color; + padding: { + top: 1.5mm; + bottom: 1.5mm; + left: 2mm; + right: 2mm; + } + &:hover { + background-color: $nav-link-hover-bg; + color: $nav-link-hover-color; + } + } +} diff --git a/blog/_assets/stylesheets/main.scss b/blog/_assets/stylesheets/main.scss index af5d134..23a1fe8 100644 --- a/blog/_assets/stylesheets/main.scss +++ b/blog/_assets/stylesheets/main.scss @@ -2,6 +2,7 @@ @import "common"; @import "header"; @import "navbar"; +@import "pagination"; body { background-color: black; |