From 836e5577737d7ba22f35ae177fcb73560ccaf644 Mon Sep 17 00:00:00 2001 From: Bui Date: Sun, 28 Sep 2014 08:58:39 +0900 Subject: [PATCH 1/2] remove vertical padding on coloured IDs --- js/id_colors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/id_colors.js b/js/id_colors.js index 594b99d3..d8aaf692 100644 --- a/js/id_colors.js +++ b/js/id_colors.js @@ -42,7 +42,7 @@ if (active_page == 'thread' || active_page == 'index') { $(el).css({ "background-color": "rgb("+rgb[0]+", "+rgb[1]+", "+rgb[2]+")", - "padding": "3px 5px", + "padding": "0px 5px", "border-radius": "8px", "color": "white" }); From 0e59f565c418ee03e1a5fdf0b376921bdfa2718f Mon Sep 17 00:00:00 2001 From: Bui Date: Sun, 28 Sep 2014 09:17:30 +0900 Subject: [PATCH 2/2] change ID text colour on hover --- js/id_colors.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/js/id_colors.js b/js/id_colors.js index d8aaf692..2c6a5775 100644 --- a/js/id_colors.js +++ b/js/id_colors.js @@ -46,6 +46,12 @@ if (active_page == 'thread' || active_page == 'index') { "border-radius": "8px", "color": "white" }); + + $(el).mouseover(function() { + $(this).css('color', '#800000'); + }).mouseout(function() { + $(this).css('color', '#FFF'); + }); } $(".poster_id").each(function(k, v){