From 46f7ec1a943dceb584dacb7e55c032fc813888e7 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Fri, 4 May 2012 00:21:16 +1000 Subject: [PATCH] minor CSS fixes --- inc/config.php | 8 ++++---- js/show-op.js | 2 -- stylesheets/style.css | 28 +++++++++++++++++++++++----- templates/post_thread.html | 8 ++------ 4 files changed, 29 insertions(+), 17 deletions(-) diff --git a/inc/config.php b/inc/config.php index 1e132466..866fefae 100644 --- a/inc/config.php +++ b/inc/config.php @@ -786,22 +786,22 @@ $config['mod']['link_move'] = '[Move]'; // Moderator capcodes - $config['capcode'] = ' ## %s'; + $config['capcode'] = ' ## %s'; // Custom capcodes, by example: // "## Custom" becomes lightgreen, italic and bold - //$config['custom_capcode']['Custom'] =' ## %s'; + //$config['custom_capcode']['Custom'] =' ## %s'; // "## Mod" makes everything purple, including the name and tripcode //$config['custom_capcode']['Mod'] = array( - // ' ## %s', + // ' ## %s', // 'color:purple', // Change name style; optional // 'color:purple' // Change tripcode style; optional //); // "## Admin" makes everything red and bold, including the name and tripcode //$config['custom_capcode']['Admin'] = array( - // ' ## %s', + // ' ## %s', // 'color:red;font-weight:bold', // Change name style; optional // 'color:red;font-weight:bold' // Change tripcode style; optional //); diff --git a/js/show-op.js b/js/show-op.js index df9cf31b..d948ca3b 100644 --- a/js/show-op.js +++ b/js/show-op.js @@ -23,8 +23,6 @@ $(document).ready(function(){ OP = $('div.post.op a.post_no:eq(1)').text(); } - console.log(OP); - $(this).find('p.body a:not([rel="nofollow"])').each(function() { var postID; diff --git a/stylesheets/style.css b/stylesheets/style.css index af3648a1..27c8df36 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -10,19 +10,21 @@ body { table * { margin: 0; } -a:link, a:visited { +a, a:visited { text-decoration: underline; color: #34345C; } -a:link:hover, a:visited:hover { +a:hover { color: #ff0000; } a.post_no { - color: black; text-decoration: none; margin: 0; padding: 0; } +a.post_no:not(:hover) { + color: black; +} p.intro a.post_no, p.intro a.email { margin: 0; } @@ -164,7 +166,7 @@ p.intro span.name { color: #117743; 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; margin-left: 0; } @@ -311,7 +313,7 @@ div.pages a.selected { color: black; font-weight: bolder; } -div.pages a:link { +div.pages a { text-decoration: none; } div.pages form { @@ -383,3 +385,19 @@ div.blotter { font-weight: bold; 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; +} diff --git a/templates/post_thread.html b/templates/post_thread.html index 095c53f9..ac5c786b 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -1,9 +1,7 @@ {% filter remove_whitespace %} {# tabs and new lines will be ignored #} -{% if index %} -
-{% endif %} +
{% if post.embed %} {{ post.embed }} @@ -136,6 +134,4 @@ {% include 'post_reply.html' %} {% endfor %}
{% if hr %}
{% endif %} -{% if index %} -
-{% endif %} +