Last active
December 15, 2015 10:08
-
-
Save Ivanca/5243025 to your computer and use it in GitHub Desktop.
Hacker news mobile
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
<style> | |
@media all and (max-device-width:760px) { | |
.pagetop b { | |
display:block; | |
} | |
.pagetop { | |
padding-top: 10px; | |
padding-bottom: 10px; | |
font-size: 0px; | |
line-height: 0; | |
} | |
.pagetop img[src="s.gif"] { | |
display:none; | |
} | |
.pagetop a, .pagetop a:visited { | |
border-bottom: 1px solid rgb(185, 92, 19); | |
line-height: 24px; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
font-size: 20px; | |
text-align: center; | |
background: #ff6600; | |
color: white; | |
display: block; | |
width: 100%; | |
} | |
tr .title[valign="top"] { | |
opacity: 0; | |
} | |
a[id^="up_"] { | |
width: 0; | |
height: 0; | |
border-left: 10px solid transparent; | |
border-right: 10px solid transparent; | |
border-bottom: 15px solid #666; | |
display: block; | |
margin-left: -22px; | |
} | |
a[id^="down_"] { | |
width: 0; | |
height: 0; | |
border-left: 10px solid transparent; | |
border-right: 10px solid transparent; | |
border-top: 15px solid #666; | |
display: block; | |
margin-left: -22px; | |
} | |
a[id^="up_"] img { | |
display: none; | |
} | |
a[id^="down_"] img { | |
display: none; | |
} | |
td[bgcolor="#ff6600"] { | |
font-size: 0px; | |
} | |
td[bgcolor="#ff6600"] td:first-child{ | |
width:0px; | |
display:none; | |
} | |
td[bgcolor="#ff6600"] td:last-child{ | |
width:0px; | |
display:none; | |
} | |
pre { | |
max-width: 480px; | |
display: block; | |
} | |
img[src="s.gif"][width="80"] { | |
width: 70px !important; | |
} | |
img[src="s.gif"][width="100"] { | |
width: 80px !important; | |
} | |
img[src="s.gif"][width="120"] { | |
width: 90px !important; | |
} | |
img[src="s.gif"][width="140"] { | |
width: 100px !important; | |
} | |
img[src="s.gif"][width="160"], | |
img[src="s.gif"][width="180"], | |
img[src="s.gif"][width="200"], | |
img[src="s.gif"][width="220"], | |
img[src="s.gif"][width="240"], | |
img[src="s.gif"][width="260"], | |
img[src="s.gif"][width="280"], | |
img[src="s.gif"][width="300"], | |
img[src="s.gif"][width="320"], | |
img[src="s.gif"][width="340"], | |
img[src="s.gif"][width="360"] | |
{ | |
width: 110px !important; | |
} | |
table[width="85%"] { | |
width: 100% !important; | |
margin: 0; | |
padding: 0; | |
} | |
} | |
</style> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment