X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/13cee1a7148844ffcd026ad0b541a3289fbafefa..341f0627295cc793f6317f4e2dcb851960749400:/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 old mode 100755 new mode 100644 index 6e71fbca5..9cec6075d --- 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. @@ -390,6 +396,16 @@ @include size(margin-left, 139px + 15px); } + &.book-box-tools-warn { + font-size: 1rem; + margin-bottom: 1em; + max-width: 32em; + border: 3px solid #9ACD32; + padding: 1em; + box-sizing: border-box; + } + + li { @include mono; margin-top: 0; @@ -449,14 +465,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; } } } @@ -558,4 +576,4 @@ background-image:linear-gradient(to right,rgba(255,255,255,0),#ffffff 50%) } } -} \ No newline at end of file +}