--- a/templates/ssm.xhtml.xsl Sun Sep 22 00:30:37 2019 +0200
+++ b/templates/ssm.xhtml.xsl Sun Sep 22 00:34:31 2019 +0200
@@ -44,28 +44,31 @@
<link href="style.css" type="text/css" rel="StyleSheet"/>
</head>
<body>
- <h1>
- <xsl:value-of select="m:title"/>
- </h1>
+ <div id="content">
+ <h1>
+ <xsl:value-of select="m:title"/>
+ </h1>
- <!-- TODO: remove hardcoded warning, use version from mercurial -->
- <p style="text-align: center"><DRAFT> Please note that this is a draft version. Stay tuned for v1.0.0! </DRAFT></p>
+ <!-- TODO: remove hardcoded warning, use version from mercurial -->
+ <p style="text-align: center"><DRAFT> Please note that this is a draft version. Stay tuned for v1.0.0! </DRAFT></p>
- <p>
- <xsl:value-of select="m:preamble"/>
- </p>
+ <p>
+ <xsl:value-of select="m:preamble"/>
+ </p>
- <xsl:apply-templates select="m:chapter"/>
+ <xsl:apply-templates select="m:chapter"/>
- <!-- TODO: move license information to XML file -->
- <hr/>
- <p class="footer">
- <a href="https://sane-software.globalcode.info/">Sane Software Manifesto</a><br/>
- Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info)<br/>
- This manifesto is licensed under the <a href="https://creativecommons.org/licenses/by-nd/4.0/">Creative Commons Attribution-NoDerivatives 4.0 International License</a>.
- </p>
+ <!-- TODO: move license information to XML file -->
+ <hr/>
+ <p class="footer">
+ <a href="https://sane-software.globalcode.info/">Sane Software Manifesto</a>
+ <br/>
+ Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info)<br/>
+ This manifesto is licensed under the <a href="https://creativecommons.org/licenses/by-nd/4.0/">Creative Commons Attribution-NoDerivatives 4.0 International License</a>.
+ </p>
+ </div>
</body>
</html>
</xsl:template>
--- a/templates/style.css Sun Sep 22 00:30:37 2019 +0200
+++ b/templates/style.css Sun Sep 22 00:34:31 2019 +0200
@@ -3,6 +3,13 @@
font-size: 20px;
background-color: white;
color: black;
+ text-align: center;
+}
+
+div#content {
+ max-width: 800px;
+ text-align: justify;
+ margin: 0 auto;
}
h1,h2,h3 {
@@ -22,3 +29,7 @@
p.footer {
font-size: 80%;
}
+
+hr {
+ border: 2px solid #888;
+}