Last active
June 17, 2023 06:17
-
-
Save cwillsey06/d0aab41a6088c199cf801238d230e20f to your computer and use it in GitHub Desktop.
Minimize Copepen Header
This file contains hidden or 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
| /* ==UserStyle== | |
| @name Minimize Copepen Header | |
| @namespace github.com/openstyles/stylus | |
| @version 1.0.0 | |
| @description minimizes codepen header-bar (supposedly a pro feature...) | |
| @author cwillsey06 | |
| @preprocessor uso | |
| @var text panel-height "header height when minimized" 5px | |
| @var text panel-opacity "header opacity when minimized" 0 | |
| @var text animation-dur "header animation duration" 500ms | |
| @var text animation-del "header animation delay" 1000ms | |
| ==/UserStyle== */ | |
| @-moz-document regexp("https?://codepen.io/.*?pen.*") { | |
| #main-header:not(:hover) { | |
| height: /*[[panel-height]]*/; | |
| opacity: /*[[panel-opacity]]*/; | |
| transition-duration: /*[[animation-dur]]*/; | |
| transition-delay: /*[[animation-del]]*/; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment