Created
October 12, 2012 22:21
-
-
Save jeena/3881944 to your computer and use it in GitHub Desktop.
Tent.is User stylesheet
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 for Tent.is | |
It is just a quick and dirty thing because I assume | |
that the HTML will change over time anyway. | |
Feel free to adapt it to your needs. | |
And if you use Flattr, flattr this gist :-) | |
*/ | |
* { | |
font-size: inherit !important; | |
} | |
.page-header, .span2 { display: none !important; } | |
.mobile-hide-portrait { display: block !important; } | |
#main-nav .navbar-inner { border-bottom: 0; background: none !important; } | |
#main-nav { box-shadow: 0 0 0 0 white !important; } | |
body { | |
font-size: 11px !important; | |
line-height: 1em; | |
font-family: "Lucida Grande", Tahoma, sans-serif; | |
} | |
a { color: #00317a !important; } | |
#main img.avatar { margin: 2px 10px 0 0 !important; } | |
#main .post-header, #main .post-sub-header { | |
display: inline-block !important; | |
float: none !important; | |
width: auto !important; | |
padding: 0 !important; | |
line-height: 11px !important; | |
margin: 0 !important; | |
} | |
#main .post-header h5 { line-height: 11px !important; } | |
#main .post-date { position: absolute; right: 10px; top: 10px; } | |
#main .post-date a { color: #bbb !important; } | |
#main .post-body { margin: 0 0 0 52px !important; line-height: 1.1em !important; } | |
#main .post-header small { display: none; } | |
#main { margin: 0 !important; } | |
#main li.post { line-height: inherit !important; } | |
#main li.post { | |
position: relative; | |
padding: 8px 10px 0 10px !important; | |
margin-bottom: 0 !important; | |
} | |
#main li.post, #main-nav { | |
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAKCAMAAAE1C/TuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB5QTFRF8fHx7u7u6Ojo5eXl8vLy7+/v4+Pj8PDw7e3t6urqRTcIlgAAACNJREFUeNpiYGFgBgggBkaAAGJgZ+AECDAGBgZWBg4GJgY2AAG3AC4BcXtrAAAAAElFTkSuQmCC) repeat-x bottom #f2f2f2 !important; | |
border-bottom: 1px solid #c9c9c9 !important; | |
} | |
#main li.post:nth-child(even), #main-nav .active { | |
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAJCAMAAAGzn4ZAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABtQTFRF6+vr+Pj49fX18vLy+fn59vb28PDw7e3t9/f3zI8TswAAACFJREFUeNpiYGFgAAggBiaAAGLgYGADCDAGRgZWBmYGdgABLgAlCmhitQAAAABJRU5ErkJggg%3D%3D) repeat-x bottom #fafafa !important; | |
} | |
#main-nav .active { | |
border-top: 0 !important; | |
} | |
#main-nav .navbar-inner .nav li a { padding-left: 10px !important; padding-right: 10px !important; } | |
#main-nav .navbar-inner .nav li.active a { | |
padding-top: 10px !important; | |
} | |
#main-nav .navbar-inner .brand, #main-nav .navbar-inner .nav li a { | |
border-right: 1px solid #c9c9c9 !important; | |
} | |
#main li.post:hover { | |
background: #dedede !important; | |
} | |
.row::before, .row::after { | |
display: none !important; | |
} | |
#main .actions .offset1 { | |
margin-left: 52px !important; | |
} | |
#main li.post .showOnHover { visibility: hidden !important; } | |
#main li.post:hover .showOnHover { visibility: visible !important; } | |
#main .alert-info { | |
padding: 0 !important; | |
margin: 0 !important; | |
border-radius: 0 !important; | |
} | |
.reply-container { padding-bottom: 10px !important; overflow: auto !important; } | |
.well { padding: 0 !important; margin: 0 !important; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment