Skip to content

Instantly share code, notes, and snippets.

@impishj
Last active December 20, 2015 02:38
Show Gist options
  • Save impishj/6057353 to your computer and use it in GitHub Desktop.
Save impishj/6057353 to your computer and use it in GitHub Desktop.
Mobile style for Hacker News.
@media only screen and (max-width:650px) { table { width:100% }
.pagetop a:first-child { display:block;width:100%;padding:0px;margin:0px;clear:both;border:none; }
.pagetop a { padding:0px 0px 12px 0px; }
.title a { padding:8px 14px 8px 10px;margin:0px 0px 0px 0px;color:#000000;background-color:#ff6600;vertical-align:middle;line-height:200%; }
span.comhead { display:inline-block;padding-top:6px; }
.subtext a, .subtext a:hover, .subtext a:visited { margin-top:3px;padding:4px 11px 4px 11px;display:inline-block; }
.subtext a:last-child { border:solid 1px #ff6600; }
table tr td:nth-child(2) { padding: 2px 10px 2px 0px; margin-right:10px; }
table tr td.subtext { background-color:#f6f6ef;} }
textarea { width:100% }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment