added viewport and externalized css
authorMart Lubbers <mart@martlubbers.net>
Sun, 1 Nov 2015 18:15:14 +0000 (19:15 +0100)
committerMart Lubbers <mart@martlubbers.net>
Sun, 1 Nov 2015 18:15:14 +0000 (19:15 +0100)
index.html
m.css [new file with mode: 0644]

index 87bfeb7..2ac6b77 100644 (file)
@@ -3,16 +3,8 @@
        <head>
                <title>Mart Lubbers' Site</title>
                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-               <style type="text/css">
-                       body {
-                               background-color: #ddd;
-                               color: #222;
-                               max-width: 640px;
-                       }
-                       th { text-align: left }
-                       a { color: #222 }
-                       a:hover { text-decoration: none }
-               </style>
+               <meta name="viewport" content="width=device-width, initial-scale=1" />
+               <link rel="stylesheet" type="text/css" href="m.css" />
        </head>
        <body>
                <h2>Mart Lubbers</h2>
diff --git a/m.css b/m.css
new file mode 100644 (file)
index 0000000..99a31d7
--- /dev/null
+++ b/m.css
@@ -0,0 +1,11 @@
+body {
+       background-color: #ddd;
+       color: #222;
+       max-width: 640px;
+}
+a {
+       color: #222
+}
+a:hover {
+       text-decoration: none
+}