diff --git a/publichealth/static/css/main.scss b/publichealth/static/css/main.scss index 004e3f9..0b3bfc1 100644 --- a/publichealth/static/css/main.scss +++ b/publichealth/static/css/main.scss @@ -52,3 +52,5 @@ $slider-nav: 200px; margin: 0; } } + +@import "subsites"; diff --git a/publichealth/static/css/sphc.css b/publichealth/static/css/sphc.css deleted file mode 100644 index 704b556..0000000 --- a/publichealth/static/css/sphc.css +++ /dev/null @@ -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'; -} diff --git a/publichealth/static/css/subsites.scss b/publichealth/static/css/subsites.scss new file mode 100644 index 0000000..121e851 --- /dev/null +++ b/publichealth/static/css/subsites.scss @@ -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'; + } + +} diff --git a/publichealth/templates/base.html b/publichealth/templates/base.html index 1a8a3c1..e776d33 100644 --- a/publichealth/templates/base.html +++ b/publichealth/templates/base.html @@ -20,7 +20,7 @@ - + {% wagtailuserbar %} {% include 'header.html' %} diff --git a/publichealth/templates/footer.html b/publichealth/templates/footer.html index 909cd92..0a2c366 100644 --- a/publichealth/templates/footer.html +++ b/publichealth/templates/footer.html @@ -35,7 +35,4 @@ • Impressum -{% if site_root.slug == "sphc" %} - -{% endif %}