From 21da800c9f9ab86b36caa1a30873c026e606e6da Mon Sep 17 00:00:00 2001 From: Aleksei Miheev Date: Sat, 14 Jul 2012 17:12:11 +0300 Subject: [PATCH] no more stupid .karma class in css; also, removed some more commented-out shit --- Themes/default/Display.template.php | 10 ++++------ Themes/default/style.fixed.css | 6 ++---- Themes/default/style.liquid.css | 6 ++---- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/Themes/default/Display.template.php b/Themes/default/Display.template.php index 1d7c292..f0f4cd4 100644 --- a/Themes/default/Display.template.php +++ b/Themes/default/Display.template.php @@ -318,17 +318,17 @@ function template_main() // Don't show the profile button if you're not allowed to view the profile. if ($message['member']['can_view_profile']) echo ' - ', $txt[27], ''; + ', $txt[27], ''; // Since we know this person isn't a guest, you *can* message them. if ($context['can_send_pm']) - echo ' - ', $txt['online4'], ''; + echo ' - ', $txt['online4'], ''; } // Is karma display enabled? Total or +/-? if ($modSettings['karmaMode'] == '1' AND $modSettings['karmadescmod'] == 1) echo ' -
', $modSettings['karmaLabel'], ' '; +
', $modSettings['karmaLabel'], ' '; // Is this user allowed to modify this member's karma? if ($message['member']['karma']['allow']) @@ -350,9 +350,7 @@ function template_main() -
', $message['subject'], '', !($message['id'] == $context['topic_first_message']) ? ' #'.$message['counter'] : '','';/*--> - '; - ', $message['subject'], '';*/ + ', $message['subject'], '', !($message['id'] == $context['topic_first_message']) ? ' #'.$message['counter'] : '',''; // If this is the first post, (#0) just say when it was posted - otherwise give the reply #. echo ' diff --git a/Themes/default/style.fixed.css b/Themes/default/style.fixed.css index 3e165ce..2527bcf 100644 --- a/Themes/default/style.fixed.css +++ b/Themes/default/style.fixed.css @@ -10,9 +10,8 @@ a:hover text-decoration: underline; } -.karma, .karma:link, .karma:visited +.gray, .gray:link, .gray:visited { - font-size: 11px; color: #D2D2D2; text-decoration: none; } @@ -31,7 +30,7 @@ a:hover font-weight: bold; text-decoration: none; } -a.nav:hover, a.karma:hover +a.nav:hover, a.gray:hover { text-decoration: underline; } @@ -339,7 +338,6 @@ h2 { margin-top: 0; } .buttons { - font-size: smaller; height: 20px; text-align: right; } diff --git a/Themes/default/style.liquid.css b/Themes/default/style.liquid.css index db4f79e..64c1121 100644 --- a/Themes/default/style.liquid.css +++ b/Themes/default/style.liquid.css @@ -10,9 +10,8 @@ a:hover text-decoration: underline; } -.karma, .karma:link, .karma:visited +.gray, .gray:link, .gray:visited { - font-size: 11px; color: #D2D2D2; text-decoration: none; } @@ -31,7 +30,7 @@ a:hover font-weight: bold; text-decoration: none; } -a.nav:hover, a.karma:hover +a.nav:hover, a.gray:hover { text-decoration: underline; } @@ -330,7 +329,6 @@ h2 { color: #D2D2D2; } .buttons { - font-size: smaller; height: 20px; text-align: right; }