Skip to content

Instantly share code, notes, and snippets.

@dtinth
Created April 20, 2011 16:40
Show Gist options
  • Save dtinth/931862 to your computer and use it in GitHub Desktop.
Save dtinth/931862 to your computer and use it in GitHub Desktop.
[Userstyle] FAIL.in.th: Horizontal Style
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("fail.in.th") {
#page, #wrapper, #content {
overflow: visible;
}
#wrapper {
padding-top: 15px !important;
}
#content {
white-space: nowrap;
}
#content .post, #disqus_thread {
white-space: normal;
display: inline-block;
vertical-align: top;
padding-right: 15px !important;
margin-right: 15px !important;
}
#content .post * {
float: none !important;
}
#content .post {
position: relative;
border-bottom: 0 !important;
border-right: 5px dotted #eee;
}
#content .post .twitter_button {
position: absolute;
bottom: 40px;
right: 15px;
}
#page {
position: absolute;
margin: 0;
top: 0;
left: 335px;
}
#content, #sidebar {
float: none !important;
}
#sidebar {
position: absolute;
top: 0;
left: -305px;
}
.wp-pagenavi {
position: fixed;
top: 30px; right: 30px;
margin: 0 !important; padding: 0 !important; border: 0 !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment