Browse Source

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

pull/40/head
Michael Save 12 years ago
parent
commit
34e9e671b3
  1. 2
      stylesheets/futaba.css
  2. 10
      stylesheets/style.css
  3. 2
      stylesheets/yotsuba.css
  4. 4
      templates/post_reply.html
  5. 4
      templates/post_thread.html

2
stylesheets/futaba.css

@ -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 {

10
stylesheets/style.css

@ -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 {

2
stylesheets/yotsuba.css

@ -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 {

4
templates/post_reply.html

@ -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 %}

4
templates/post_thread.html

@ -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 %}

Loading…
Cancel
Save