Last active
January 22, 2018 07:45
-
-
Save xianbaum/9bfb718d9f1218d022b74fab4ebbc8a6 to your computer and use it in GitHub Desktop.
Stack Overflow Compact Questions Userstyle
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
/* ==UserStyle== | |
@name Stack Overflow Compact Questions | |
@namespace github.com/openstyles/stylus | |
@version 1.0.0 | |
@homepageURL https://gist.github.com/xianbaum/9bfb718d9f1218d022b74fab4ebbc8a6/ | |
@updateURL https://gist.githubusercontent.com/xianbaum/9bfb718d9f1218d022b74fab4ebbc8a6/raw/ | |
@author Christian Michael Baum | |
==/UserStyle==*/ | |
/* | |
Christian Michael Baum | |
The person who associated a work with this deed has dedicated the work | |
to | |
the public domain by waiving all of his or her rights to the work | |
worldwide under copyright law, including all related and neighboring | |
rights, to the extent allowed by law. | |
You can copy, modify, distribute and perform the work, even for | |
commercial | |
purposes, all without asking permission. See Other Information below. | |
*/ | |
@-moz-document domain("stackoverflow.com"), domain("superuser.com"), domain("stackexchange.com"), domain("serverfault.com") | |
{ | |
html, body | |
{ | |
min-width: 0px !important; | |
max-width: 100% !important; | |
margin: 0; | |
padding: 0; | |
} | |
#herobox, #footer, #sidebar, #header, #noscript-warning, .bottom-notice, .privacy-policy-agreement, #feed-link, .new-login-form, [style="position: absolute; bottom: -18px; width: 660px;"], [style="position: absolute; bottom: 0px; width: 1903px;"], .answer-help-background, #wmd-preview, .newsletter-anon, .hero-container | |
{ | |
display: none; | |
} | |
#content, #content div:first-of-type, .topbar, .topbar-wrapper, #mainbar, table, #answers, .answer, .wmd-input, .postcell, .answercell, .post-editor, div.container, div._full, div.inner-content | |
{ | |
width: 100% !important; | |
padding: 0 !important; | |
; | |
} | |
#content div div:first-of-type | |
{ | |
width: inherit; | |
} | |
pre, code | |
{ | |
overflow: auto !important; | |
; | |
max-width: 100%; | |
width: 100%; | |
padding: 0px; | |
overflow-x: auto !important; | |
white-space: pre-wrap; | |
} | |
.so-header .my-profile, textarea.f-input | |
{ | |
margin: 0; | |
padding: 0; | |
} | |
header | |
{ | |
position: relative !important; | |
} | |
header, .so-header .-logo, .so-header .navigation .-list, .so-header .navigation .-link, .so-header .secondary-nav .-list, .so-header .secondary-nav .-link | |
{ | |
height: initial !important; | |
line-height: initial !important; | |
} | |
h1, h2, h3 | |
{ | |
line-height: initial !important; | |
; | |
margin: 0; | |
} | |
.f-input, textarea.f-input, input.f-input[type="text"], input.f-input[type="password"], input.f-input[type="number"], input.f-input[type="email"], input.f-input[type="url"], input.f-input[type="search"], input.f-input[type="tel"], input.f-input[type="datetime"] | |
{ | |
padding: 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment