X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d5a4e2346ceaa436eb64372ad099ebbffd78db2e..7ad1e269182ce7d30dc5aa96b9b0f2c9427dac95:/src/wolnelektury/static/scss/main/book_box.scss diff --git a/src/wolnelektury/static/scss/main/book_box.scss b/src/wolnelektury/static/scss/main/book_box.scss index f9e2d6b82..3e93b7530 100644 --- a/src/wolnelektury/static/scss/main/book_box.scss +++ b/src/wolnelektury/static/scss/main/book_box.scss @@ -185,6 +185,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 +320,6 @@ @include size(min-height, 70px); } - a { - color: black; - } .author { @include size(font-size, 11px); @include mono; @@ -339,6 +342,10 @@ @include size(height, 57.6px); overflow: hidden; } + + a { + color: black; + } } } @@ -394,7 +401,7 @@ font-size: 1rem; margin-bottom: 1em; max-width: 32em; - border: 1px solid #888; + border: 3px solid #9ACD32; padding: 1em; box-sizing: border-box; } @@ -459,14 +466,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; } } }