tFixed phone CSS - monochromatic - monochromatic blog: http://blog.z3bra.org
(HTM) git clone git://z3bra.org/monochromatic
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit e97682c9297ea260383bbd7ff56a7496d10ea4d2
(DIR) parent 1c7c868d33ac683beaa30f1991f0c805a67f883d
(HTM) Author: z3bra <willy@mailoo.org>
Date: Wed, 19 Nov 2014 00:13:48 +0100
Fixed phone CSS
Diffstat:
D css/phone.css | 36 -------------------------------
M head.html | 4 ++--
2 files changed, 2 insertions(+), 38 deletions(-)
---
(DIR) diff --git a/css/phone.css b/css/phone.css
t@@ -1,36 +0,0 @@
-/* vim: set ai sw=4 ts=4 fdm=marker: */
-
-/*
- * Optimization for mobile phones
- *
- * Every rule here will override rules of the main CSS
- *
- */
-
-/* Overall style {{{ */
-section h2 {
- display: inline;
-}
-/* }}} */
-
-/* Links {{{ */
-a:hover {
- text-decoration: none;
-}
-
-a:active {
- text-decoration: none;
-}
-/* }}} */
-
-/* Images {{{ */
-
-img {
- width:60%;
-}
-
-/* Comment images - use with <span> or <div> */
-.caption {
- width:30%;
-}
-/* }}} */
(DIR) diff --git a/head.html b/head.html
t@@ -2,8 +2,8 @@
<html>
<head>
<meta charset='utf-8'/>
- <link rel='stylesheet' href='/css/monochrome.css'/>
- <link rel='stylesheet' href='/css/phone.css' media='screen and (max-width: 540px)'/>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel='stylesheet' href='/css/monochrome.css' />
<title>z3bra.org - monochromatic blog</title>
</head>
<body>