Last active
September 28, 2015 08:01
-
-
Save rubo77/aa4757bf6442d5ebf116 to your computer and use it in GitHub Desktop.
Script for Stylish to hide trolling users in http://forum.freifunk.net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("forum.freifunk.net") { | |
article[data-user-id="99999"] .contents { | |
overflow: hidden; | |
max-height:0px; | |
-webkit-transition: all 500ms cubic-bezier(0.525, 0.060, 0.475, 0.915); | |
-moz-transition: all 500ms cubic-bezier(0.525, 0.060, 0.475, 0.915); | |
-o-transition: all 500ms cubic-bezier(0.525, 0.060, 0.475, 0.915); | |
transition: all 500ms cubic-bezier(0.525, 0.060, 0.475, 0.915); /* custom */ | |
-webkit-transition-timing-function: cubic-bezier(0.525, 0.060, 0.475, 0.915); | |
-moz-transition-timing-function: cubic-bezier(0.525, 0.060, 0.475, 0.915); | |
-o-transition-timing-function: cubic-bezier(0.525, 0.060, 0.475, 0.915); | |
transition-timing-function: cubic-bezier(0.525, 0.060, 0.475, 0.915); /* custom */ | |
} | |
article[data-user-id="99999"]:hover .contents { | |
max-height:2000px; | |
-webkit-transition: all 500ms cubic-bezier(0.525, 0.060, 0.475, 0.915); | |
-moz-transition: all 500ms cubic-bezier(0.525, 0.060, 0.475, 0.915); | |
-o-transition: all 500ms cubic-bezier(0.525, 0.060, 0.475, 0.915); | |
transition: all 500ms cubic-bezier(0.525, 0.060, 0.475, 0.915); /* custom */ | |
-webkit-transition-timing-function: cubic-bezier(0.525, 0.060, 0.475, 0.915); | |
-moz-transition-timing-function: cubic-bezier(0.525, 0.060, 0.475, 0.915); | |
-o-transition-timing-function: cubic-bezier(0.525, 0.060, 0.475, 0.915); | |
transition-timing-function: cubic-bezier(0.525, 0.060, 0.475, 0.915); /* custom */ | |
} | |
@media all and (max-height: 700px) { | |
.topic-body{ | |
padding-bottom:0px; | |
margin-bottom:-15px; | |
} | |
.ember-view{ | |
margin-bottom: 10px; | |
} | |
nav.post-controls{ | |
margin-top: -18px; | |
} | |
} | |
nav.post-controls:hover{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Additionally this minimizes the space used by the post controls.