webapps.planet: use div to style post body.

master
John Benediktsson 2020-03-01 13:49:06 -08:00
parent b6853b8c6a
commit 77fd680475
2 changed files with 10 additions and 15 deletions

View File

@ -13,12 +13,8 @@ h1.planet-title {
background-color:#f5f5f5; background-color:#f5f5f5;
} }
pre, code { .posting-body {
color: #000000; line-height: 150%;
}
.infobox {
padding-left: 10px;
} }
.posting-date { .posting-date {
@ -26,11 +22,10 @@ pre, code {
font-size: 90%; font-size: 90%;
} }
a.more { pre, code {
display: block; color: #000000;
padding: 0 0 5px 0; }
color: #333;
text-decoration: none; .infobox {
text-align: right; padding-left: 10px;
border: none;
} }

View File

@ -16,9 +16,9 @@
<t:a t:value="url"><t:label t:name="title" /></t:a> <t:a t:value="url"><t:label t:name="title" /></t:a>
</h2> </h2>
<p class="posting-body"> <div class="posting-body">
<t:html t:name="description" /> <t:html t:name="description" />
</p> </div>
<p class="posting-date"> <p class="posting-date">
<t:a t:value="url"><t:label t:name="date" /></t:a> <t:a t:value="url"><t:label t:name="date" /></t:a>