1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-18 17:14:04 +01:00

Use div.body instead of p.body; issue #73

This commit is contained in:
Michael Save 2012-08-27 22:32:04 +10:00
parent f0eb692fc2
commit 75777640d0
5 changed files with 11 additions and 11 deletions

View File

@ -27,7 +27,7 @@ div.post.reply.highlighted {
background: #f0c0b0; background: #f0c0b0;
border-color: #d9bfb7; border-color: #d9bfb7;
} }
div.post.reply p.body a { div.post.reply div.body a {
color: navy; color: navy;
} }
p.intro span.subject { p.intro span.subject {

View File

@ -182,7 +182,7 @@ div.delete {
div.post.reply p { div.post.reply p {
margin: 0.3em 0 0 0; margin: 0.3em 0 0 0;
} }
div.post.reply p.body { div.post.reply div.body {
margin-left: 1.8em; margin-left: 1.8em;
margin-top: 0.8em; margin-top: 0.8em;
padding-right: 3em; padding-right: 3em;
@ -191,13 +191,13 @@ div.post.reply p.body {
div.post.reply.highlighted { div.post.reply.highlighted {
background: #D6BAD0; background: #D6BAD0;
} }
div.post.reply p.body a { div.post.reply div.body a {
color: #D00; color: #D00;
} }
div.post { div.post {
max-width: 97%; max-width: 97%;
} }
div.post p.body { div.post div.body {
word-wrap: break-word; word-wrap: break-word;
white-space: pre-wrap; white-space: pre-wrap;
} }
@ -272,10 +272,10 @@ span.spoiler {
color: black; color: black;
padding: 0px 1px; padding: 0px 1px;
} }
div.post.reply p.body span.spoiler a { div.post.reply div.body span.spoiler a {
color: black; color: black;
} }
span.spoiler:hover, div.post.reply p.body span.spoiler:hover a { span.spoiler:hover, div.post.reply div.body span.spoiler:hover a {
color: white; color: white;
} }
div.styles { div.styles {

View File

@ -19,7 +19,7 @@ div.post.reply.highlighted {
background: #f0c0b0; background: #f0c0b0;
border-color: #d9bfb7; border-color: #d9bfb7;
} }
div.post.reply p.body a { div.post.reply div.body a {
color: navy; color: navy;
} }
p.intro span.subject { p.intro span.subject {

View File

@ -91,9 +91,9 @@
</a> </a>
{% endif %} {% endif %}
{{ post.postControls }} {{ post.postControls }}
<p class="body"> <div class="body">
{% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %} {% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %}
</p> </div>
</div> </div>
<br/> <br/>
{% endfilter %} {% endfilter %}

View File

@ -102,9 +102,9 @@
{% endif %} {% endif %}
{{ post.postControls }} {{ post.postControls }}
</p> </p>
<p class="body"> <div class="body">
{% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %} {% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %}
</p> </div>
{% if post.omitted or post.omitted_images %} {% if post.omitted or post.omitted_images %}
<span class="omitted"> <span class="omitted">
{% if post.omitted %} {% if post.omitted %}