summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/js/misc.js10
-rw-r--r--data/style.css6
2 files changed, 3 insertions, 13 deletions
diff --git a/data/js/misc.js b/data/js/misc.js
index 54c6ae69..e5b135d0 100644
--- a/data/js/misc.js
+++ b/data/js/misc.js
@@ -80,16 +80,6 @@ if(byId('listsel'))
};
-// BBCode spoiler tags
-(function(){
- var l = byClass('b', 'spoiler');
- for(var i=0; i<l.length; i++) {
- l[i].onmouseover = function() { setClass(this, 'spoiler', false); setClass(this, 'spoiler_shown', true) };
- l[i].onmouseout = function() { setClass(this, 'spoiler', true); setClass(this, 'spoiler_shown', false) };
- }
-})();
-
-
// 'more' / 'less' summarization of some boxes on VN pages
(function(){
function set(o, h) {
diff --git a/data/style.css b/data/style.css
index 1d417b43..6ab68d21 100644
--- a/data/style.css
+++ b/data/style.css
@@ -116,9 +116,9 @@ a.standout { font-weight: normal; color: $standout$; }
.hidden { display: none!important }
.invisible { visibility: hidden }
.linethrough { text-decoration: line-through }
-b.spoiler, b.spoiler a { color: #000!important; background-color: #000; font-weight: normal; }
-b.spoiler_shown { font-weight: normal }
-b.spoiler_shown a { color: $link$!important }
+b.spoiler, b.spoiler a { color: #000!important; background-color: #000; font-weight: normal; }
+b.spoiler:hover, b.spoiler:focus { color: $maintext$!important; background-color: transparent }
+b.spoiler:hover a, b.spoiler:focus a { color: $link$!important; background-color: transparent }
#maincontent div.quote {
padding: 1px 5px;