X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b064fabc8d968bf3ed5ed2438f5993cb56fdcff1..2c101e78aee8cd3ccf3f24a0ecaa22fa77593c5c:/src/wolnelektury/static/scss/main/book_box.scss?ds=sidebyside diff --git a/src/wolnelektury/static/scss/main/book_box.scss b/src/wolnelektury/static/scss/main/book_box.scss index fde8bb989..b1bfe9341 100644 --- a/src/wolnelektury/static/scss/main/book_box.scss +++ b/src/wolnelektury/static/scss/main/book_box.scss @@ -148,6 +148,17 @@ } } + .license-icon { + display: block; + @include size(margin-top, 5px); + } + + .project-icon { + @include size(max-width, 100px); + @include size(max-height, 100px); + } + + .jp-type-playlist { margin-top: 24px; @@ -185,6 +196,12 @@ @include size(margin-top, 5px); } + .project-icon { + @include size(max-width, 100px); + @include size(max-height, 100px); + } + + @include min-screen($S_BOOK_SHORT_FULL) { // Show full title on the work's page. @@ -314,9 +331,6 @@ @include size(min-height, 70px); } - a { - color: black; - } .author { @include size(font-size, 11px); @include mono; @@ -339,6 +353,10 @@ @include size(height, 57.6px); overflow: hidden; } + + a { + color: black; + } } } @@ -459,14 +477,16 @@ } .book-box-formats { - display: inline-block; max-width: 300px; vertical-align: top; padding-top: 6px; + border-collapse: collapse; a { - display: inline-block; + display: table-cell; @include size(padding, .2em 1em); + border:1px solid black; + line-height: 20px; } } }