Redesigned forum

Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
This commit is contained in:
Gergely POLONKAI 2012-08-16 19:35:05 +02:00
parent 1d0a513ea2
commit 08e987c4bb
3 changed files with 28 additions and 20 deletions

View File

@ -1,5 +1,5 @@
/*
Document : forum
Document : forum.css
Created on : 2012.08.15., 11:40:39
Author : Gergely
Description:
@ -7,7 +7,7 @@
*/
.forum-lista {
border: 1px solid #3366ff;
border: 1px solid #142965;
border-collapse: collapse;
width: 100%;
margin-bottom: 20px;
@ -16,46 +16,50 @@
.forum-lista thead td {
font-weight: bold;
height: 1.5em;
border-bottom: 2px solid #3366ff;
border-bottom: 2px solid #142965;
padding: 3px;
}
.forum-lista thead td a {
color: #3366ff;
color: #142965;
text-decoration: none;
}
.forum-lista tbody td {
padding: 5px;
border-bottom: 1px solid #3366ff;
border-bottom: 1px solid #142965;
}
.forum-lista tbody tr.odd td {
background-color: #060c16;
background-color: #abccdc;
}
.forum-lista tbody tr.even td {
background-color: #000000;
background-color: #c6ecfe;
}
.forum-lista tbody td a {
color: #3366ff;
color: #142965;
text-decoration: underline;
}
.post-lista {
border: 1px solid #3366ff;
border: 1px solid #142965;
border-collapse: collapse;
}
.post-lista td {
border-style: solid;
border-color: #3366ff;
border-width: 3px 1px;
border-color: #142965;
border-width: 3px 1px 1px 1px;
vertical-align: top;
padding: 5px;
}
.post-lista td.datum {
background-color: #abccdc;
}
.post-lista td.felado {
width: 150px !important;
font-size: 80%;
@ -63,6 +67,7 @@
.post-lista td.szoveg {
width: 510px;
border-width: 1px;
}
.post-lista td.szoveg div {
@ -75,10 +80,10 @@ td.uj-post {
td.uj-post textarea {
width: 500px;
background-color: #000000;
color: #3366ff;
background-color: #c6ecfe;
color: #142965;
border-style: solid;
border-color: #3366ff;
border-color: #142965;
border-width: 0 0 2px 0;
height: 15em;
}

View File

@ -21,7 +21,7 @@ body {
}
a {
color: inherit;
color: inherit !important;
text-decoration: underline;
}
@ -62,7 +62,6 @@ a {
}
h3 a {
color: #3366ff;
text-decoration: none;
}

View File

@ -28,10 +28,11 @@
</tr>
{% for post in posts %}
<tr>
<td class="szoveg"><div>{{ post.text|bbdecode }}</div></td>
<td class="felado">
{{ post.createdAt|date('Y-m-d') }}<br />
{{ post.createdAt|date('H:i') }}<br />
<td class="datum">
{{ post.createdAt|date('Y-m-d') }}
{{ post.createdAt|date('H:i') }}
</td>
<td class="felado" rowspan="2">
[avatar]<br />
{{ post.createdBy|userdataspan }}<br />
Szint<br />
@ -40,6 +41,9 @@
{{ post.createdBy.RegisteredAt|date('Y-m-d') }}
</td>
</tr>
<tr>
<td class="szoveg"><div>{{ post.text|bbdecode }}</div></td>
</tr>
{% endfor %}
</tbody>
</table>