Ad fading
This commit is contained in:
parent
3851be3898
commit
4d194382c0
2
LICENSE
2
LICENSE
@ -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
@ -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.'
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user