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

View File

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

View File

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