summaryrefslogtreecommitdiff
path: root/xsl
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2016-07-04 19:49:34 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2016-07-04 19:50:39 +0200
commitf9cda15d631a169e4a8b5e392bc7c99e1555ec75 (patch)
tree38d1b558ab706aee9ca0ff4a900f5753fbeb4593 /xsl
parentbac1d4085b0384edf24a5bfbffd583593e442862 (diff)
downloadmutti-web-f9cda15d631a169e4a8b5e392bc7c99e1555ec75.tar.gz
mutti-web-f9cda15d631a169e4a8b5e392bc7c99e1555ec75.tar.bz2
mutti-web-f9cda15d631a169e4a8b5e392bc7c99e1555ec75.zip
WIP: Inline css
Diffstat (limited to 'xsl')
-rw-r--r--xsl/common.xsl2
-rw-r--r--xsl/layout.xsl2
2 files changed, 2 insertions, 2 deletions
diff --git a/xsl/common.xsl b/xsl/common.xsl
index 4722eb3..7ddf577 100644
--- a/xsl/common.xsl
+++ b/xsl/common.xsl
@@ -16,7 +16,7 @@
<xsl:variable name="filename" select="/s:html/@name" />
<xsl:variable name="title" select="document('../main.xml')/s:site/s:page[@filename = $filename]/@title" />
<xsl:param name="suffix" select="'.xml'" />
- <xsl:param name="stylesheet" select="'style.css'" />
+ <xsl:param name="stylesheet" select="'@import url(&quot;style/style.css&quot;'" />
<xsl:param name="version" select="''" />
<xsl:output method="xml" indent="no" encoding="utf-8"
diff --git a/xsl/layout.xsl b/xsl/layout.xsl
index d64aad3..b765006 100644
--- a/xsl/layout.xsl
+++ b/xsl/layout.xsl
@@ -18,7 +18,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:400,500,700,400italic" />
- <link rel="stylesheet" type="text/css" href="style/{$stylesheet}?{$version}" />
+ <style><xsl:value-of select="$stylesheet"/></style>
</head>
<body>
<header>