minor CSS fixes

This commit is contained in:
Michael Save 2012-05-04 00:21:16 +10:00
parent f5b4bf93b0
commit aeff0a69b1
3 changed files with 29 additions and 15 deletions

View File

@ -786,22 +786,22 @@
$config['mod']['link_move'] = '[Move]'; $config['mod']['link_move'] = '[Move]';
// Moderator capcodes // Moderator capcodes
$config['capcode'] = ' <a class="capcode">## %s</a>'; $config['capcode'] = ' <span class="capcode">## %s</span>';
// Custom capcodes, by example: // Custom capcodes, by example:
// "## Custom" becomes lightgreen, italic and bold // "## Custom" becomes lightgreen, italic and bold
//$config['custom_capcode']['Custom'] ='<a class="capcode" style="color:lightgreen;font-style:italic;font-weight:bold"> ## %s</a>'; //$config['custom_capcode']['Custom'] ='<span class="capcode" style="color:lightgreen;font-style:italic;font-weight:bold"> ## %s</span>';
// "## Mod" makes everything purple, including the name and tripcode // "## Mod" makes everything purple, including the name and tripcode
//$config['custom_capcode']['Mod'] = array( //$config['custom_capcode']['Mod'] = array(
// '<a class="capcode" style="color:purple"> ## %s</a>', // '<span class="capcode" style="color:purple"> ## %s</span>',
// 'color:purple', // Change name style; optional // 'color:purple', // Change name style; optional
// 'color:purple' // Change tripcode style; optional // 'color:purple' // Change tripcode style; optional
//); //);
// "## Admin" makes everything red and bold, including the name and tripcode // "## Admin" makes everything red and bold, including the name and tripcode
//$config['custom_capcode']['Admin'] = array( //$config['custom_capcode']['Admin'] = array(
// '<a class="capcode" style="color:red;font-weight:bold"> ## %s</a>', // '<span class="capcode" style="color:red;font-weight:bold"> ## %s</span>',
// 'color:red;font-weight:bold', // Change name style; optional // 'color:red;font-weight:bold', // Change name style; optional
// 'color:red;font-weight:bold' // Change tripcode style; optional // 'color:red;font-weight:bold' // Change tripcode style; optional
//); //);

View File

@ -10,19 +10,21 @@ body {
table * { table * {
margin: 0; margin: 0;
} }
a:link, a:visited { a, a:visited {
text-decoration: underline; text-decoration: underline;
color: #34345C; color: #34345C;
} }
a:link:hover, a:visited:hover { a:hover {
color: #ff0000; color: #ff0000;
} }
a.post_no { a.post_no {
color: black;
text-decoration: none; text-decoration: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
a.post_no:not(:hover) {
color: black;
}
p.intro a.post_no, p.intro a.email { p.intro a.post_no, p.intro a.email {
margin: 0; margin: 0;
} }
@ -167,7 +169,7 @@ p.intro span.name {
color: #117743; color: #117743;
font-weight: bold; font-weight: bold;
} }
p.intro a.capcode, p.intro a.nametag { p.intro span.capcode, p.intro a.capcode, p.intro a.nametag {
color: #F00000; color: #F00000;
margin-left: 0; margin-left: 0;
} }
@ -314,7 +316,7 @@ div.pages a.selected {
color: black; color: black;
font-weight: bolder; font-weight: bolder;
} }
div.pages a:link { div.pages a {
text-decoration: none; text-decoration: none;
} }
div.pages form { div.pages form {
@ -386,3 +388,19 @@ div.blotter {
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
} }
/* Uboachan stuff */
div.styles-sidebar {
text-align: center;
padding-bottom: 0px;
}
div.styles-sidebar a {
margin: 0 5px;
}
div.styles-sidebar a.selected {
text-decoration: none;
}
.category {
background: #98E;
color: black;
}

View File

@ -1,9 +1,7 @@
{% filter remove_whitespace %} {% filter remove_whitespace %}
{# tabs and new lines will be ignored #} {# tabs and new lines will be ignored #}
{% if index %} <div id="thread_{{ post.id }}">
<div id="thread_{{ post.id }}">
{% endif %}
{% if post.embed %} {% if post.embed %}
{{ post.embed }} {{ post.embed }}
@ -136,6 +134,4 @@
{% include 'post_reply.html' %} {% include 'post_reply.html' %}
{% endfor %} {% endfor %}
<br class="clear"/>{% if hr %}<hr/>{% endif %} <br class="clear"/>{% if hr %}<hr/>{% endif %}
{% if index %} </div>
</div>
{% endif %}