monochromatic

monochromatic blog: http://blog.z3bra.org
git clone git://z3bra.org/monochromatic
Log | Files | Refs

commit e97682c9297ea260383bbd7ff56a7496d10ea4d2
parent 1c7c868d33ac683beaa30f1991f0c805a67f883d
Author: z3bra <willy@mailoo.org>
Date:   Wed, 19 Nov 2014 00:13:48 +0100

Fixed phone CSS

Diffstat:
css/phone.css | 36------------------------------------
head.html | 4++--
2 files changed, 2 insertions(+), 38 deletions(-)

diff --git a/css/phone.css b/css/phone.css @@ -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%; -} -/* }}} */ diff --git a/head.html b/head.html @@ -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>