Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*!
- * Hacker News Mobile CSS v0.1
- *
- * Copyright 2014 Filip Mandaric (and anyone else who wants to add)
- * Licensed under the Apache License v2.0
- * http://www.apache.org/licenses/LICENSE-2.0
- */
- @media (max-width: 767px) {
- body {
- margin: 0;
- }
- br {
- display: none;
- }
- table, tbody, tr, td {
- width: auto;
- white-space: break-word;
- }
- input[type="text"], textarea {
- width: 100%;
- }
- pre, code {
- white-space: normal;
- }
- span.comment {
- display: block;
- margin: 5px 0 0;
- }
- td img[src="s.gif"] {
- height: 2px;
- width: 0px;
- }
- td img[src="s.gif"][width="40"] {
- width: 13px;
- }
- td img[src="s.gif"][width="80"] {
- width: 25px;
- }
- td img[src="s.gif"][width="120"] {
- width: 36px;
- }
- td img[src="s.gif"][width="160"] {
- width: 46px;
- }
- td img[src="s.gif"][width="200"] {
- width: 55px;
- }
- td.subtext {
- padding: 0 0 0 5px;
- }
- td.title {
- padding: 0 0 0 5px;
- }
- td.default div {
- margin: 0 !important;
- }
- span.pagetop {
- font-size: 0;
- line-height: 1.5;
- }
- span.pagetop b {
- font-size: 12px;
- }
- span.pagetop a {
- font-size: 12px;
- display: inline-block;
- margin: 0px 4px;
- }
- a[href^="http"] {
- display: inline-block;
- max-width: 230px;
- overflow: hidden;
- text-overflow: break;
- vertical-align: bottom;
- }
- td.title > a {
- max-width: inherit;
- white-space: normal;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement