Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Carousel
- // @namespace iinfo
- // @include *root.cz*
- // @version 1
- // @grant none
- // ==/UserScript==
- (function() {
- function css(rules) {
- rules = rules instanceof Array ? rules.join('\n') : rules;
- var head = document.head || document.getElementsByTagName('head')[0];
- var style = document.createElement('style');
- style.type = 'text/css';
- if (style.styleSheet)
- style.styleSheet.cssText = rules;
- else
- style.appendChild(document.createTextNode(rules));
- head.appendChild(style);
- }
- css([
- '#promo-footerPromo {',
- ' -webkit-transition: opacity 0.3s;',
- ' -moz-transition: opacity 0.3s;',
- ' -ms-transition: opacity 0.3s;',
- ' transition: opacity 0.3s;',
- ' opacity: 0.05;',
- '}',
- '#promo-footerPromo:hover {',
- ' opacity: 1;',
- '}'
- ]);
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement