Created
September 26, 2012 22:18
-
-
Save tomoe-mami/3790983 to your computer and use it in GitHub Desktop.
Weechat docs with TOC displayed as sidebar
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document regexp("https?://(www\.)?weechat\.org/files/doc/stable/.*") { | |
.article { | |
margin: 0 !important; | |
} | |
#header, #content { | |
position: fixed; | |
top: 0; | |
bottom: 0; | |
overflow: auto; | |
} | |
#header { | |
font-size: 0.9em!important; | |
white-space: nowrap; | |
background: #f0f0f0; | |
left: 0; | |
padding: 5px 15px; | |
width: 300px; | |
margin: 0 !important; | |
} | |
#header > h1 { | |
font-size: 1.2em !important; | |
line-height: 1.3em !important; | |
border-bottom: none !important; | |
margin: 0 0 8px 0 !important; | |
} | |
#toc a { text-decoration: none !important; } | |
#toc a:hover { text-decoration: underline !important; } | |
#content { | |
right: 0; | |
left: 350px; | |
padding-right: 10px; | |
} | |
#footer, #footnotes { | |
display: none !important; | |
} | |
} |
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
.article { | |
margin: 0; | |
} | |
#header, #content { | |
position: fixed; | |
top: 0; | |
bottom: 0; | |
overflow: auto; | |
} | |
#header { | |
font-size: 0.9em; | |
white-space: nowrap; | |
background: #f0f0f0; | |
left: 0; | |
padding: 5px 15px; | |
width: 300px; | |
margin: 0; | |
} | |
#header > h1 { | |
font-size: 1.2em; | |
line-height: 1.3em; | |
border-bottom: none; | |
margin: 0 0 8px 0; | |
} | |
#toc a { text-decoration: none; } | |
#toc a:hover { text-decoration: underline; } | |
#content { | |
right: 0; | |
left: 350px; | |
padding-right: 10px; | |
} | |
#footer, #footnotes { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment