Fix stylesheet (links, fonts, margins)

This commit is contained in:
theresa 2011-10-14 13:42:06 +02:00
parent 37cd8698bf
commit b059611d4a
2 changed files with 27 additions and 5 deletions

View File

@ -9,9 +9,9 @@
<td width="64px"> <td width="64px">
<a href="/store/show/{{ item.id }}"><img WIDTH=64 HEIGHT=64 src="{{ MEDIA_URL }}{{ item.image }}"></a> <a href="/store/show/{{ item.id }}"><img WIDTH=64 HEIGHT=64 src="{{ MEDIA_URL }}{{ item.image }}"></a>
</td> </td>
<th width="200px" align="center"> <td width="200px" align="center">
<span style="font-size: large">{{ item.name }}</span><br/> <span style="font-size: large; font-weight:bold">{{ item.name }}</span><br/>
<a href="/store/show/{{ item.id }}">Details</a> <a href="/store/show/{{ item.id }}" style="font-weight:bold">Details</a>
</th> </th>
<td width="200px"> <td width="200px">
<a class="button" href="/store/buy/{{ item.id }}/">Kaufen f&uuml;r {{ item.price|floatformat:2 }} €<br/>{% if item.hasDeposit %} (Ohne Pfand){% endif %}</a> <a class="button" href="/store/buy/{{ item.id }}/">Kaufen f&uuml;r {{ item.price|floatformat:2 }} €<br/>{% if item.hasDeposit %} (Ohne Pfand){% endif %}</a>

View File

@ -38,10 +38,15 @@ body {
line-height: 1; line-height: 1;
} }
h1, h2, h3, h4, h5, h6, th { h1, h2, h3, h4, h5, h6, th {
clear: both; clear: both;
font-weight: bold; font-weight: bold;
font-family: "Istok Web", inherit; text-align: center;
margin-bottom: 10px;
/* Sans-Serif? Srsly???
font-family: "Istok Web", inherit; */
} }
ol, ul, li { ol, ul, li {
@ -396,7 +401,7 @@ table.showitem td.productImage img {
table.showitem th { table.showitem th {
font-size: 20px; font-size: 20px;
text-align:center; text-align:center;
} }*/
table.showitem td.name { table.showitem td.name {
padding: 0 10px; padding: 0 10px;
@ -477,3 +482,20 @@ a.buyButton span {
background: url("img/payment.png") no-repeat center center transparent; background: url("img/payment.png") no-repeat center center transparent;
text-indent: -10000px; text-indent: -10000px;
} }
.content a {
color: #3398CC;
text-decoration: none;
}
.content a:hover {
color: white;
background: #3398CC;
}
.content a.button {
display: block;
margin-top: 7px;
padding: 0 10px;
text-align: center;
}