Skip to content

Instantly share code, notes, and snippets.

@t3hmun
Created January 29, 2015 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save t3hmun/d931bbf92a92a1cb46a3 to your computer and use it in GitHub Desktop.
Save t3hmun/d931bbf92a92a1cb46a3 to your computer and use it in GitHub Desktop.
Stack Exchange single column wordwrapping view for stylish. There is some unneccary stuff in here, its all a bit of a hack. But now Stack pages worwrap to browser width nicely, and distractors like hot network question are far off at the bottom of the screen.
@-moz-document domain('stackoverflow.com'), domain('superuser.com'), domain('serverfault.com'), domain('stackapps.com'), domain('stackexchange.com'), domain('askubuntu.com') {
.fw {
width: unset;
}
.topbar .topbar-wrapper {
width:unset;
}
.show-votes .sidebar-linked .question-hyperlink, .show-votes .sidebar-related .question-hyperlink{
min-width: unset;
width: unset;
align-content: left;
left: auto
}
.container {
text-align: left;
}
#mainbar {
min-width: unset;
width: unset;
word-wrap: break-word;
float:unset;
}
#header {
display: none;
}
#sidebar {
min-width: unset;
width: unset;
word-wrap: break-word;
float: left;
}
#sidemenu {
min-width: unset;
width: unset;
word-wrap: break-word;
}
#content {
min-width: unset;
width: unset;
word-wrap: break-word;
padding: 5px;
}
#mainbar {
min-width: unset;
width: unset;
word-wrap: break-word;
}
.accepted-answer {
min-width: unset;
width: unset;
word-wrap: break-word;
}
.comments {
min-width: unset;
width: unset;
word-wrap: break-word;
}
.answers-header {
min-width: unset;
width: unset;
word-wrap: break-word;
}
.answers {
min-width: unset;
width: unset;
word-wrap: break-word;
}
.answer {
min-width: unset;
width: unset;
word-wrap: break-word;
}
#accepted-answer {
min-width: unset;
width: unset;
word-wrap: break-word;
}
#comments {
min-width: unset;
width: unset;
word-wrap: break-word;
}
#answers-header {
min-width: unset;
width: unset;
word-wrap: break-word;
}
#answers {
min-width: unset;
width: unset;
word-wrap: break-word;
}
#answer {
min-width: unset;
width: unset;
word-wrap: break-word;
}
.post-text {
min-width: unset;
width: unset;
word-wrap: break-word;
}
.post-text.table {
min-width: unset;
width: unset;
word-wrap: break-word;
}
table{
width: unset;
word-wrap: break-word;
}
.body {
min-width: unset;
width: unset;
word-wrap: break-word;
}
body {
min-width: unset;
width: unset;
word-wrap: break-word;
}
html {
min-width: unset;
width: unset;
word-wrap: break-word;
}
.html {
min-width: unset;
width: unset;
word-wrap: break-word;
}
pre {
max-height: 1000px;
width: unset;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment