Mike Gerwitz

Free Software Hacker+Activist

aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike Gerwitz <mtg@gnu.org>2019-02-16 01:15:02 -0500
committerMike Gerwitz <mtg@gnu.org>2019-02-16 01:15:02 -0500
commit18113af1da2c47cd88522624c9f7502e438caa38 (patch)
treec0a26b673e3c3a4d71510b664e63747fc39711fc /src
parent41888355ed6369cf20aa7c4d7e146e395bffafe9 (diff)
downloadthoughts-18113af1da2c47cd88522624c9f7502e438caa38.zip
thoughts-18113af1da2c47cd88522624c9f7502e438caa38.tar.gz
thoughts-18113af1da2c47cd88522624c9f7502e438caa38.tar.bz2
css: Prevent preload inline from overriding stylesheet
The inlined CSS intended to make the stylesheet applicaton less jarring on slow connections was placed _after_ `style.css', which was causing it to take precedence over the mobile layout. Silly mistake, and not good. And it went unnoticed for too long; I didn't visit my own website on mobile for a bit. Sorry, mobile people! * src/header.tpl.htm (head): Move style.css link below inline style.
Diffstat (limited to 'src')
-rw-r--r--src/header.tpl.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/header.tpl.htm b/src/header.tpl.htm
index a8047b3..67b8610 100644
--- a/src/header.tpl.htm
+++ b/src/header.tpl.htm
@@ -4,11 +4,11 @@
<meta charset="utf-8" />
<link rel="alternate" title="RSS Feed"
href="rss.xml" type="application/rss+xml" />
- <link rel="stylesheet" type="text/css" href="/style.css" />
<title>@PAGE_TITLE@Mike Gerwitz</title>
<meta name="viewport" content="initial-scale=1.0" />
<style>
</style>
+ <link rel="stylesheet" type="text/css" href="/style.css" />
</head>
<body class="@PAGE_TYPE@">
<header>