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.
* 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
'Make 4chan advertisements smaller.'
]
'Fade Ads': [
true
'Make 4chan\'s ads translucent.'
]
'Bolds': [
true
'Bold text for names and such.'

View File

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