/*
* Full source may be found at: https://git.singpolyma.net/post-part
* Copyright 2020 Stephen Paul Weber <singpolyma.net>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
* RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
* CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
@import "font-face";
@include font-face(cardo, "assets/fonts/cardo-v12-latin-regular");
@include font-face(druk, "assets/fonts/Druk Wide Web Medium Regular", null, null, woff2 woff ttf otf);
$bg: black;
$fg: #fff9e4;
$fg-alt: #887a00;
$column-width: 50vw;
html, body {
margin: 0;
font-family: cardo, sans-serif;
background: $bg;
color: $fg;
text-align: center;
line-height: 1.7;
* {
box-sizing: border-box;
}
}
body > hgroup {
position: relative;
margin-bottom: 3em;
h1 {
display: block;
width: 100%;
height: 50vh;
margin-top: 2em;
background: url(assets/img/POST-PART-TITLE.png) no-repeat center;
background-size: contain;
color: rgba(0, 0, 0, 0);
}
}
a, a:visited, a:link {
color: #0bf;
&:hover {
color: #fb0;
}
&[href^="https://gofund.me"],
&[href^="https://www.eventbrite.ca"],
&[href="assets/map.pdf"] {
font-family: druk, sans-serif;
display: inline-block;
text-decoration: none;
background: $fg-alt;
color: $fg;
font-size: 2em;
padding: 0.5em;
margin: 1em;
}
&[href^="https://www.eventbrite.ca"] {
color: $fg-alt;
background: $fg;
}
&[href="assets/map.pdf"] {
color: $bg;
background: transparent;
border: 0.2em solid $fg-alt;
font-size: 1em;
&:hover {
background: $fg-alt;
border-color: $bg;
}
}
}
h1, h2 {
font-weight: normal;
font-family: druk, sans-serif;
}
p {
max-width: $column-width;
margin: 5em auto;
font-size: 1.5em;
}
img {
max-width: 90%;
}
#slideshow {
position: relative;
overflow: hidden;
margin-bottom: 5em;
img:first-of-type {
position: absolute;
opacity: 1;
transition: opacity 5s;
}
small {
display: block;
}
}
body > section {
background: $fg;
color: $fg-alt;
padding-top: 5em;
padding-bottom: 5em;
small {
display: block;
margin: auto;
max-width: $column-width;
}
}
#location {
ol { counter-reset: ol; }
li {
list-style-type: none;
margin: 2em 0;
font-size: 1.5em;
&:before {
display: inline-block;
counter-increment: ol;
content: counter(ol);
background: $bg;
color: $fg;
border-radius: 100%;
width: 1.6em;
height: 1.6em;
margin-right: 0.3em;
}
img {
max-width: $column-width/2;
max-height: 7em;
display: block;
margin: 1em auto;
}
}
> p > a > img {
display: block;
margin: 0.5em auto;
}
&:before {
content: "";
display: block;
margin: auto;
background: url("assets/img/womb-pattern.svg") no-repeat center center;
background-size: contain;
height: $column-width/2;
max-width: $column-width;
}
&:after {
content: "";
display: block;
margin: auto;
background: url("assets/img/WOMAN-MIRRORED.png") no-repeat center center;
background-size: contain;
height: $column-width/2;
max-width: $column-width;
}
}
a[href="interactive"], a[href="../../interactive"], a[href="credits"], a[href="../"] {
display: block;
font-size: 1.5em;
margin-bottom: 5em;
}
#sponsors, #window-sponsors, .sponsor {
li { font-size: 1.5em; }
> p:first-of-type {
margin-top: 0;
margin-bottom: 2em;
}
img {
display: inline-block;
margin: 2em;
max-width: $column-width/4.5;
vertical-align: middle;
&[src$="breastfeeding-buddies.png"],
&[src$="ambrosia.png"] {
max-width: $column-width/1.5;
}
}
}
.sponsor img {
margin-top: -3em;
margin-bottom: 5em;
}
body > small {
display: block;
margin-bottom: 2em;
}
#window-sponsors {
color: $bg;
}
section#locations {
background: $bg;
color: $fg;
section { font-size: 1.5em; }
}
#locations {
a[href="../../"] {
&, &:visited {
display: block;
margin: auto;
background: $fg;
color: $fg-alt;
height: 5em;
width: 5em;
line-height: 5em;
text-align: center;
border-radius: 100%;
text-decoration: none;
margin-bottom: 3em;
}
&:hover {
background: darken($fg, 10%);
}
}
a img {
background: white;
border-radius: 100%;
}
&:after {
content: "";
display: block;
margin: 3em auto;
background: url("assets/img/WOMAN-MIRRORED.png") no-repeat center center;
background-size: contain;
height: $column-width/2;
max-width: $column-width;
}
}
.instagram {
font-family: druk, sans-serif;
}