Ad fading

This commit is contained in:
Zixaphir 2013-07-07 13:08:42 -07:00
parent 3851be3898
commit 4d194382c0
5 changed files with 17 additions and 12 deletions

View File

@ -1,5 +1,5 @@
/* /*
* appchan x - Version 2.1.3 - 2013-07-06 * appchan x - Version 2.1.3 - 2013-07-07
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE * https://github.com/zixaphir/appchan-x/blob/master/LICENSE

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -548,6 +548,10 @@ Config =
false false
'Make 4chan advertisements smaller.' 'Make 4chan advertisements smaller.'
] ]
'Fade Ads': [
true
'Make 4chan\'s ads translucent.'
]
'Bolds': [ 'Bolds': [
true true
'Bold text for names and such.' 'Bold text for names and such.'

View File

@ -1626,18 +1626,17 @@ a:only-of-type > .remove {
<%= transform %>: translateY(-50%); <%= transform %>: translateY(-50%);
} }
/* Ads */ /* Ads */
.topad img, .fade-ads .topad img,
.middlead img, .fade-ads .middlead img,
.bottomad img { .fade-ads .bottomad img {
opacity: 0.3; opacity: 0.3;
transition: opacity .3s linear; transition: opacity .3s linear;
} }
.topad img:hover, .fade-ads .topad img:hover,
.middlead img:hover, .fade-ads .middlead img:hover,
.bottomad img:hover { .fade-ads .bottomad img:hover {
opacity: 1; opacity: 1;
} }
/* AdBlock Minus */
.hide-ads .bottomad + hr, .hide-ads .bottomad + hr,
.hide-ads .topad, .hide-ads .topad,
.hide-ads .middlead, .hide-ads .middlead,