Added subsite

This commit is contained in:
Oleg Lavrovsky 2019-08-27 10:50:44 +02:00
parent c817fe74da
commit 0b6fdbdd87
4 changed files with 41 additions and 16 deletions

View file

@ -1,12 +1,12 @@
<address>
<p>{{ contact.trans_title }}<br>
<p>
{% if contact.map_url %}
<a href="{{ contact.map_url }}">{{ contact.address }}</a>
<a href="{{ contact.map_url }}">{{ contact.address|linebreaks }}</a>
{% else %}
{{ contact.address }}
{{ contact.address|linebreaks }}
{% endif %}
</p>
<p>Tel. <a href="{{ contact.phone_link }}">{{ contact.phone }}</a><br>
<p><small>Tel.</small> <a href="{{ contact.phone_link }}">{{ contact.phone }}</a><br>
<a href="{{ contact.email_link }}">{{ contact.email }}</a><br>
<a href="{{ contact.www }}">{{ contact.www_domain }}</a></p>
</address>

View file

@ -80,3 +80,19 @@ section {
width: 100%;
height: 100%;
}
// Document links
a[href$=".docx"],
a[href$=".pdf"] {
// &::after {
// content: ' [PDF]';
// color: #555;
// font-size: 100%;
// font-variant-position: super;
// }
&::before {
content: "🗎";
color: #555;
margin-right: 5pt;
}
}

View file

@ -1,9 +1,8 @@
.site-sphc, .site-ngo-allianz-ebk {
#news { display: none; }
}
// Only show news on the main home page
#news { display: none; }
.site-home #news { display: block; }
// Custom styles for sphc.ch
.site-sphc {
// Language menu hack, until this is configurable
@ -40,11 +39,11 @@
content: 'Better Health Faster';
}
*/
}
// -site-sphc
// Custom styles for ngo-allianz-ebk.ch
.site-ngo-allianz-ebk {
.navbar-pre .contact-nav { display: none; }
footer#footer, .navbar-pre {
background-color: #dd4466;
@ -57,16 +56,25 @@
height: 64px;
background-size: contain !important;
background-repeat: no-repeat;
background-image: url('/static/org/NGO-Allianz_Logo-de.jpg');
font-size: 0px !important;
img { display: none !important; }
}
#carousel-banner .carousel-caption { display: none; }
}
.site-ngo-allianz-ebk .navbar-brand {
background-image: url('/static/org/NGO-Allianz_Logo-de.jpg');
}
html[lang='fr'] .site-ngo-allianz-ebk .navbar-brand {
background-image: url('/static/org/NGO-Allianz_Logo-fr.jpg');
}
// -site-ngo-allianz-ebk
// Custom styles for gesundheitsmanifest.ch
.site-gesundheitsmanifest {
.navbar-pre {
background-color: #ccb;
}
section {
background: #f5f5f5;
border-bottom: 1px solid #ddd;
}
}

View file

@ -30,7 +30,8 @@
</footer>
<div class="copyright">
&copy; 2018 {% contact_name site_root=site_root %}
{% contact_name site_root=site_root %}
&copy; 2019
&bull; <a href="/privacy/">Privacy</a>
&bull; <a href="/impressum/">Impressum</a>
</div>