X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..a19232b3e567e59a125d1bc7f3708617a37f1c7c:/src/wolnelektury/static/scss/main/base.scss?ds=sidebyside diff --git a/src/wolnelektury/static/scss/main/base.scss b/src/wolnelektury/static/scss/main/base.scss index 1f1021a9f..1a25dbdc9 100755 --- a/src/wolnelektury/static/scss/main/base.scss +++ b/src/wolnelektury/static/scss/main/base.scss @@ -75,7 +75,7 @@ ul.plain { .theme-list-link { @include mono; @include size(font-size, 11px); - + &:after { @include size(padding-left, 11px); content: url("/static/img/arrow-teal.png"); @@ -108,3 +108,57 @@ ul.plain { .simple-hidden-initially { display: none; } + + +.plain-list-container { + margin: 2em 0; + .plain-list { + column-count: 2; + -moz-column-count: 2; + -webkit-column-count: 2; + + @media screen and (min-width: 768px) { + column-count: 4; + -moz-column-count: 4; + -webkit-column-count: 4; + } + @media screen and (min-width: 1024px) { + column-count: 5; + -moz-column-count: 5; + -webkit-column-count: 5; + } + + p { + margin-top: 0; + + &.header { + -webkit-column-break-after: avoid; + break-after: avoid; + } + } + } + + .pager { + font-size: 18px; + margin-top: .5em; + text-align: center; + + .current { + font-weight: bold; + color: black; + } + } +} + + +.tag-box { + display: block; + + @media screen and (min-width: 768px) { + display: inline-block; + vertical-align: top; + width: 48%; + margin-right: 1%; + @include size(margin-bottom, 10px); + } +}