summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-04-13 18:12:48 +0200
committerJonas Smedegaard <dr@jones.dk>2008-04-13 18:12:48 +0200
commit9a0bf6bdedd4e350efd75f8519b2d143193de64c (patch)
treea98d32acd47f5fcd4527652a762f467accad71af
parente39521bb357bf6f996b6c775e5b3d5cd6a5eb0a7 (diff)
Add "Sane CSS Sizes".
Origin: http://www.thenoodleincident.com/tutorials/typography/
-rw-r--r--misc.tmpl17
-rw-r--r--page.tmpl17
2 files changed, 30 insertions, 4 deletions
diff --git a/misc.tmpl b/misc.tmpl
index 184920e..65612a6 100644
--- a/misc.tmpl
+++ b/misc.tmpl
@@ -5,8 +5,21 @@
<base href="<TMPL_VAR BASEURL>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><TMPL_VAR TITLE></title>
-<link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
-<link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
+<link rel="stylesheet" href="<TMPL_VAR BASEURL>nn4.css" type="text/css" media="screen" />
+<!--link before import prevents Flash Of Unstyled Content in ie6pc -->
+<style type="text/css" media="screen">@import url("<TMPL_VAR BASEURL>real.css");</style>
+<!-- import with quotes and brackets hides css from:
+Netscape 4.x
+Win IE 3
+Win IE 4
+Mac IE 4.01
+Mac IE 4.5
+Konqueror 2.1.2
+Win Amaya 5.1
+isn't that nice to know? -->
+<!-- Source of above: http://www.thenoodleincident.com/tutorials/typography/ -->
+<style type="text/css" media="screen">@import url("<TMPL_VAR BASEURL>style.css");</style>
+<style type="text/css" media="screen">@import url("<TMPL_VAR BASEURL>local.css");</style>
<TMPL_IF NAME="FAVICON">
<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />
</TMPL_IF>
diff --git a/page.tmpl b/page.tmpl
index 3a1ac9e..cf7055e 100644
--- a/page.tmpl
+++ b/page.tmpl
@@ -7,8 +7,21 @@
<TMPL_IF NAME="FAVICON">
<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />
</TMPL_IF>
-<link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
-<link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
+<link rel="stylesheet" href="<TMPL_VAR BASEURL>nn4.css" type="text/css" media="screen" />
+<!--link before import prevents Flash Of Unstyled Content in ie6pc -->
+<style type="text/css" media="screen">@import url("<TMPL_VAR BASEURL>real.css");</style>
+<!-- import with quotes and brackets hides css from:
+Netscape 4.x
+Win IE 3
+Win IE 4
+Mac IE 4.01
+Mac IE 4.5
+Konqueror 2.1.2
+Win Amaya 5.1
+isn't that nice to know? -->
+<!-- Source of above: http://www.thenoodleincident.com/tutorials/typography/ -->
+<style type="text/css" media="screen">@import url("<TMPL_VAR BASEURL>style.css");</style>
+<style type="text/css" media="screen">@import url("<TMPL_VAR BASEURL>local.css");</style>
<TMPL_IF NAME="FEEDLINKS"><TMPL_VAR FEEDLINKS></TMPL_IF>
<TMPL_IF NAME="META"><TMPL_VAR META></TMPL_IF>
</head>