X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/176d81e1b055cdcca0a2500f7287b1e0cdc65350..689dab7f9aab019f0419133043bf02efcf469c93:/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 old mode 100755 new mode 100644 index ddb4b7218..8e47bfe9a --- a/src/wolnelektury/static/scss/main/book_box.scss +++ b/src/wolnelektury/static/scss/main/book_box.scss @@ -15,10 +15,10 @@ @include size(margin-bottom, 5px); @include min-screen($S_BOOK_SHORT_FULL) { - position: absolute; - top: 0; - left: 0; - margin-right: 0; + //position: absolute; + //top: 0; + //left: 0; + //margin-right: 0; } img.cover { @@ -390,6 +390,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 +459,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; } } } @@ -526,6 +538,7 @@ @include size(margin-top, 18px); overflow: hidden; position: relative; + clear: left; @media screen and (min-width: 62.5em) { @include size(width, 536px); @@ -557,4 +570,4 @@ background-image:linear-gradient(to right,rgba(255,255,255,0),#ffffff 50%) } } -} \ No newline at end of file +}