X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/68dbe44bdbc497a82064c6a47eeaecbb34463f64..c3abe4b834586c564bf87e76902e9344e6ecddfa:/apps/wolnelektury_core/static/scss/main/search.scss diff --git a/apps/wolnelektury_core/static/scss/main/search.scss b/apps/wolnelektury_core/static/scss/main/search.scss index 2dac56ab0..d8a1e0622 100755 --- a/apps/wolnelektury_core/static/scss/main/search.scss +++ b/apps/wolnelektury_core/static/scss/main/search.scss @@ -28,17 +28,41 @@ .search-result { - @include size(width, 975px); + @include size(border, 1px solid #ddd); + @include size(box-shadow, 2px 2px 2px #ddd); + @include size(margin, 1px); + background: white; - .book-box-body { - @include size(width, 310px); + @include min-screen($S_BOOK_SHORT_FULL) { + @include size(width, $W_BOOK_SHORT_FULL -4px); + } + + @media screen and (min-width: 62.5em) { + @include size(width, 965px); + @include size(padding-right, 8px); + } + + .book-box { + display: inline-block; + + @include min-screen($S_BOOK_SHORT_FULL) { + @include size(width, $W_BOOK_SHORT_FULL - 4px); + } + + .book-box-inner { + border: none; + box-shadow: none; + margin: 0; + } } } .book-list-header { - @include size(width, 975px); + @media screen and (min-width: 62.5em) { + @include size(width, 975px); + } padding: 0em; @include size(margin-left, -1px); @@ -53,9 +77,10 @@ } .snippets { - @include size(width, 440px); - float: right; - @include size(margin-top, -200px); + @media screen and (min-width: 62.5em) { + @include size(width, 440px); + float: right; + } .snippet-text { @include size(font-size, 12px);