Small html/css fixes
This commit is contained in:
parent
ac279d7d2c
commit
f2f0c979f1
|
@ -645,33 +645,38 @@ input:checked ~ .compose-suggestion {
|
||||||
blockquote {
|
blockquote {
|
||||||
white-space: pre-line;
|
white-space: pre-line;
|
||||||
}
|
}
|
||||||
blockquote .icon-quote-open, blockquote .icon-quote-close, .quote .icon-quote-open, .quote .icon-quote-close {
|
blockquote .icon-quote-open, blockquote .icon-quote-close, .quote blockquote:before, .quote blockquote:after {
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
margin-right: 0.5rem;
|
margin-right: 0.5rem;
|
||||||
color: #888;
|
color: #888;
|
||||||
}
|
}
|
||||||
blockquote .icon-quote-open, .quote .icon-quote-close {
|
blockquote .icon-quote-open {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.quote {
|
.quote {
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.quote .icon-quote-open, .quote .icon-quote-close {
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
.quote .icon-quote-open {
|
|
||||||
top: -0.5rem;
|
|
||||||
}
|
|
||||||
.quote .icon-quote-close {
|
|
||||||
right: 0;
|
|
||||||
bottom: 1.5rem;
|
|
||||||
}
|
|
||||||
.quote blockquote {
|
.quote blockquote {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
}
|
}
|
||||||
|
.quote blockquote:before, .quote blockquote:after {
|
||||||
|
font-family: 'icomoon';
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.quote blockquote:before {
|
||||||
|
content: "\e904";
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
.quote blockquote:after {
|
||||||
|
content: "\e903";
|
||||||
|
bottom: 1em;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.interaction {
|
.interaction {
|
||||||
background-color: #B2DBBF;
|
background-color: #B2DBBF;
|
||||||
|
|
|
@ -76,6 +76,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -12,11 +12,9 @@
|
||||||
<div class="covers-shelf {{ shelf.identifier }} ">
|
<div class="covers-shelf {{ shelf.identifier }} ">
|
||||||
{% for book in shelf.books %}
|
{% for book in shelf.books %}
|
||||||
<div class="cover-container">
|
<div class="cover-container">
|
||||||
<div>
|
|
||||||
<label for="book-{{ book.id }}-radio">
|
<label for="book-{{ book.id }}-radio">
|
||||||
{% include 'snippets/book_cover.html' with book=book %}
|
{% include 'snippets/book_cover.html' with book=book %}
|
||||||
</label>
|
</label>
|
||||||
</div>
|
|
||||||
{% include 'snippets/shelve_button.html' with book=book %}
|
{% include 'snippets/shelve_button.html' with book=book %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -42,9 +42,7 @@
|
||||||
|
|
||||||
{% if status.quote %}
|
{% if status.quote %}
|
||||||
<div class="quote">
|
<div class="quote">
|
||||||
<span class="icon icon-quote-open"></span>
|
|
||||||
<blockquote>{{ status.quote }}</blockquote>
|
<blockquote>{{ status.quote }}</blockquote>
|
||||||
<span class="icon icon-quote-close"></span>
|
|
||||||
|
|
||||||
<p> — {% include 'snippets/book_titleby.html' with book=status.book %}</p>
|
<p> — {% include 'snippets/book_titleby.html' with book=status.book %}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue