Subsites SCSS
This commit is contained in:
parent
1ab06635e8
commit
ed9f90c313
5 changed files with 34 additions and 31 deletions
|
@ -52,3 +52,5 @@ $slider-nav: 200px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@import "subsites";
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
#news, #footer, .contact-nav .link { display: none; }
|
|
||||||
|
|
||||||
a.navbar-brand {
|
|
||||||
height: 60px;
|
|
||||||
padding-right: 62px;
|
|
||||||
background: url('/static/images/ssph-logo.jpg') center right no-repeat;
|
|
||||||
background-size: auto 75%;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
#carousel-banner .carousel-caption > * { display: none; }
|
|
||||||
#carousel-banner .carousel-caption {
|
|
||||||
width: 13em;
|
|
||||||
background: rgba(0,0,50,0.4);
|
|
||||||
border: 6px solid white;
|
|
||||||
font-size: 155%;
|
|
||||||
padding: 1em 1em;
|
|
||||||
left: 50%;
|
|
||||||
margin-left: -6.5em;
|
|
||||||
bottom: 2em;
|
|
||||||
}
|
|
||||||
#carousel-banner .carousel-caption:before {
|
|
||||||
content: 'SPHC 2018'; display: block;
|
|
||||||
}
|
|
||||||
#carousel-banner .carousel-caption:after {
|
|
||||||
content: 'Better Health Faster';
|
|
||||||
}
|
|
31
publichealth/static/css/subsites.scss
Normal file
31
publichealth/static/css/subsites.scss
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
.site-sphc {
|
||||||
|
|
||||||
|
#news, #footer, .contact-nav .link { display: none; }
|
||||||
|
|
||||||
|
a.navbar-brand {
|
||||||
|
height: 60px;
|
||||||
|
padding-right: 62px;
|
||||||
|
background: url('/static/images/ssph-logo.jpg') center right no-repeat;
|
||||||
|
background-size: auto 75%;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
#carousel-banner .carousel-caption > * { display: none; }
|
||||||
|
#carousel-banner .carousel-caption {
|
||||||
|
width: 13em;
|
||||||
|
background: rgba(0,0,50,0.4);
|
||||||
|
border: 6px solid white;
|
||||||
|
font-size: 155%;
|
||||||
|
padding: 1em 1em;
|
||||||
|
left: 50%;
|
||||||
|
margin-left: -6.5em;
|
||||||
|
bottom: 2em;
|
||||||
|
}
|
||||||
|
#carousel-banner .carousel-caption:before {
|
||||||
|
content: 'SPHC 2018'; display: block;
|
||||||
|
}
|
||||||
|
#carousel-banner .carousel-caption:after {
|
||||||
|
content: 'Better Health Faster';
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -20,7 +20,7 @@
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="{% block body_class %}{% endblock %}">
|
<body class="{% block body_class %}{% endblock %} site-{{ site_root.slug }}">
|
||||||
{% wagtailuserbar %}
|
{% wagtailuserbar %}
|
||||||
|
|
||||||
{% include 'header.html' %}
|
{% include 'header.html' %}
|
||||||
|
|
|
@ -35,7 +35,4 @@
|
||||||
• <a href="/impressum/">Impressum</a>
|
• <a href="/impressum/">Impressum</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if site_root.slug == "sphc" %}
|
|
||||||
<link rel="stylesheet" type="text/css" href="{% static 'css/sphc.css' %}">
|
|
||||||
{% endif %}
|
|
||||||
<link rel="stylesheet" type="text/css" href="{% static 'libs/cookieconsent/build/cookieconsent.min.css' %}">
|
<link rel="stylesheet" type="text/css" href="{% static 'libs/cookieconsent/build/cookieconsent.min.css' %}">
|
||||||
|
|
Loading…
Reference in a new issue