improved header and added space to bottom of page
This commit is contained in:
parent
276258e118
commit
a4607a6d1b
@ -537,7 +537,7 @@ hr {
|
|||||||
margin-top: 3rem;
|
margin-top: 3rem;
|
||||||
margin-bottom: 3.5rem;
|
margin-bottom: 3.5rem;
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
border-top: 1px solid <xsl:value-of select="$c_support_light"/>; }
|
border-top: 1px solid <xsl:value-of select="$c_main"/>; }
|
||||||
|
|
||||||
|
|
||||||
/* Clearing
|
/* Clearing
|
||||||
@ -628,9 +628,22 @@ h1, h2, h3, h4 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 80%;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.title-client {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contents {
|
||||||
|
margin-bottom: 5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.endOfDoc {
|
||||||
|
width: 25%;
|
||||||
|
margin-bottom: 10rem;
|
||||||
|
}
|
||||||
|
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
@ -41,58 +41,45 @@
|
|||||||
<body>
|
<body>
|
||||||
<xsl:apply-templates select="/*/meta" mode="frontmatter"/>
|
<xsl:apply-templates select="/*/meta" mode="frontmatter"/>
|
||||||
<xsl:apply-templates select="/*/generate_index"/>
|
<xsl:apply-templates select="/*/generate_index"/>
|
||||||
<div class="container">
|
<div class="container contents">
|
||||||
<xsl:for-each select="/*/section | /*/appendix">
|
<xsl:for-each select="/*/section | /*/appendix">
|
||||||
<xsl:apply-templates select="."/>
|
<xsl:apply-templates select="."/>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</div>
|
</div>
|
||||||
|
<hr class="endOfDoc"/>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="meta" mode="frontmatter">
|
<xsl:template match="meta" mode="frontmatter">
|
||||||
|
|
||||||
|
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="two-thirds column">
|
<div class="offset-by-two columns">
|
||||||
<img src="../graphics/logo.png" class="logo"/>
|
<img src="../graphics/logo.png" class="logo"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="one-third column">
|
</div>
|
||||||
<div>
|
<div class="row">
|
||||||
<h1>
|
<div class="u-full-width">
|
||||||
<xsl:sequence
|
<h1>
|
||||||
select="
|
<xsl:sequence
|
||||||
string-join(for $x in tokenize(normalize-space(title), ' ')
|
select="
|
||||||
return
|
string-join(for $x in tokenize(normalize-space(title), ' ')
|
||||||
my:titleCase($x), ' ')"
|
return
|
||||||
/>
|
my:titleCase($x), ' ')"
|
||||||
</h1>
|
/>
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
<div class="title-client">
|
||||||
|
<xsl:value-of select="//client/full_name"/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<xsl:if test="normalize-space(//meta/subtitle) or //meta/subtitle/*">
|
||||||
<div class="title-client">
|
<div class="title-sub">
|
||||||
<xsl:value-of select="//client/full_name"/>
|
<xsl:apply-templates select="subtitle"/>
|
||||||
</div>
|
</div>
|
||||||
<xsl:if test="/offerte">
|
</xsl:if>
|
||||||
<div class="title-sub">
|
|
||||||
<xsl:sequence
|
|
||||||
select="
|
|
||||||
string-join(for $x in tokenize(normalize-space(//meta/offered_service_long), ' ')
|
|
||||||
return
|
|
||||||
my:titleCase($x), ' ')"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</xsl:if>
|
|
||||||
<xsl:if test="normalize-space(//meta/subtitle) or //meta/subtitle/*">
|
|
||||||
<div class="title-sub">
|
|
||||||
<xsl:apply-templates select="subtitle"/>
|
|
||||||
</div>
|
|
||||||
</xsl:if>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user