<img src="{{ fragment.book.cover_clean.url }}" alt="{{ fragment.book.title }}">
{% endif %}
</a>
- </figure>
- <div class="l-books__item__content">
<div class="l-books__item__actions">
<a href="{{ fragment.book.get_absolute_url }}" class="icon icon-book-alt"></a>
{% if fragment.book.has_mp3_file %}
<a href="{{ fragment.book.get_absolute_url }}" class="icon icon-audio"></a>
{% endif %}
</div>
+ </figure>
+ <div class="l-books__item__content">
<h3>
{% for author in fragment.book.authors %}
<a href="{{ author.get_absolute_url }}">{{ author }}</a>{% if not forloop.last %}, {% endif %}
margin-top: 34px;
.l-books__item {
- width: 705px;
+ width: calc(100% - 10px);
border: 1px solid #D9D9D9;
margin-bottom: 17px;
display: flex;
+ position: relative;
+ @include rwd($break-flow) {
+ width: 705px;
+ }
.l-books__item__img {
- margin-bottom: 0;
+ margin-bottom: 0;
+ }
+
+ .l-books__item__actions {
+ margin-top: 16px;
+ @include rwd($break-flow) {
+ position: absolute;
+ top: 21px;
+ left: auto;
+ right: 11px;
+ }
}
}
}
.l-books__item__content {
- padding-left: 40px;
- position: relative;
-
- .l-books__item__actions {
- position: absolute;
- right: 0;
- }
+ padding-left: 16px;
+ @include rwd($break-flow) {
+ padding-left: 40px;
+ }
h2 {
font-weight: $semibold;
.l-theme {
- display: flex;
+ display: flex;
+ flex-direction: column;
+
+ @include rwd($break-flow) {
+ flex-direction: row;
+ }
}
.l-theme__col {
border-radius: 10px;
background-color: #E1F1F2;
margin-top: 34px;
- max-width: 415px;
+ @include rwd($break-flow) {
+ max-width: 415px;
+ }
+
h3 {
display: flex;
align-content: center;
max-width: 100%;
margin-right: 17px;
}
-}
\ No newline at end of file
+}