colouring-montreal/html/main.css

459 lines
7.9 KiB
CSS
Raw Normal View History

2018-04-11 17:02:43 -04:00
/**
* Layout
*/
2018-04-13 07:48:26 -04:00
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
2018-04-11 17:35:35 -04:00
html, body {
margin: 0;
}
2018-04-13 07:48:26 -04:00
section {
overflow: hidden;
margin: 2.25em 0 4em;
padding: 2em 0 4em;
}
.main-col {
max-width: 40em;
margin: 0 auto;
padding: 0 1em;
}
hr {
display: block;
height: 1px;
border: 0;
background: #000;
width: 100%;
margin: 2em 0;
padding: 0;
}
footer {
margin: 4em 0 2em;
}
2018-04-11 17:02:43 -04:00
/**
* Typography
*/
@font-face {
font-family: 'glacial_cl';
src: url('fonts/glacialindifference-regular-webfont.woff2') format('woff2'),
url('fonts/glacialindifference-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
html,
body {
font-family: 'glacial_cl', sans-serif;
font-size: 105%;
background: #fff;
color: #222;
}
2018-04-13 07:48:26 -04:00
input {
font-family: 'glacial_cl', sans-serif;
}
2018-04-11 17:02:43 -04:00
h1, h2, h3, h4 {
font-weight: normal;
}
2018-04-13 07:48:26 -04:00
.h1 {
font-size: 2em;
margin-bottom: 0.5em;
}
.h2 {
font-size: 1.5em;
margin: 0.25em 0 0.5em;
}
p, li, dd {
line-height: 1.3;
}
dd {
margin: 0 0 1.5em;
}
small {
font-size: 0.75em;
}
2018-04-11 17:02:43 -04:00
.text-muted {
color: #878d96 !important;
}
2018-04-13 07:48:26 -04:00
.border-image {
border: 1px solid #000;
}
2018-04-11 17:02:43 -04:00
2018-04-13 07:48:06 -04:00
/**
* Form
*/
input[type="text"],
input[type="email"] {
display: block;
width: 100%;
border: 1px solid #222;
padding: 0.5em 0.25em;
2018-04-13 07:48:26 -04:00
margin: 0.5em 0 0;
}
form .btn {
margin-top: 1em;
}
.btn {
background: #cecfd3;
border: 0;
border-radius: 1em;
margin: 0.5em 0;
padding: 0.5em 1em;
width: 100%;
font-size: 1em;
text-align: center;
display: inline-block;
color: #000;
text-decoration: none;
cursor: pointer;
}
.btn:hover,
.btn:focus,
.btn:active {
background-color: #bcbec0;
}
.btn.btn-half {
width: 49%;
margin-left: 0;
margin-right: 2%;
min-width: 11.45em;
}
.btn.btn-half:nth-child(2n+1) {
margin-right: 0;
2018-04-13 07:48:06 -04:00
}
2018-04-11 17:02:43 -04:00
/**
* Colours
*/
.white {
background-color: #fff;
}
2018-04-11 17:35:35 -04:00
.bold-yellow {
background-color: #ffad00;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
.bright-yellow {
background-color: #f0d106;
2018-04-11 17:02:43 -04:00
}
2018-04-13 07:48:06 -04:00
.pale-yellow {
background-color: #fff021;
}
2018-04-11 17:35:35 -04:00
.bold-orange {
background-color: #eb7905;
2018-04-11 17:02:43 -04:00
}
2018-04-13 07:48:06 -04:00
.pale-orange {
background-color: #ffc04e;
}
2018-04-11 17:35:35 -04:00
.red {
background-color: #e96762;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
.pastel-pink {
background-color: #e099c1;
2018-04-11 17:02:43 -04:00
}
2018-04-13 07:48:06 -04:00
.pale-pink {
background-color: #ffcde5;
}
2018-04-11 17:35:35 -04:00
.pastel-purple {
background-color: #7d6f94;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
.blue-grey {
background-color: #6f879c;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
.bright-green {
background-color: #5ec233;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
.pastel-green {
background-color: #72b889;
2018-04-11 17:02:43 -04:00
}
2018-04-13 07:48:06 -04:00
.pale-green {
background-color: #73ebaf;
}
2018-04-11 17:35:35 -04:00
.bright-blue {
background-color: #72b2fe;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
.pale-grey {
background-color: #a6a6a7;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
.pale-brown {
background-color: #918e6e;
2018-04-11 17:02:43 -04:00
}
/**
* Logo
*/
.logo {
2018-04-11 17:35:35 -04:00
display: block;
font-size: 2em;
width: 6em;
margin: 0 auto;
padding: 0.5em 0 1em;
2018-04-11 17:02:43 -04:00
text-transform: uppercase;
2018-04-11 17:35:35 -04:00
color: #000;
text-decoration: none;
2018-04-11 17:02:43 -04:00
}
.logo .logotype {
2018-04-13 07:48:06 -04:00
font-size: 1em;
margin: 0;
2018-04-11 17:02:43 -04:00
display: inline-block;
vertical-align: bottom;
}
.logo .logotype span {
display: block;
2018-04-11 17:35:35 -04:00
font-size: 0.75em;
letter-spacing: 0.15em;
2018-04-11 17:02:43 -04:00
}
.logo .logotype span:first-child {
2018-04-11 17:35:35 -04:00
font-size: 0.625em;
2018-04-11 17:02:43 -04:00
letter-spacing: 0;
}
.logo .grid {
position: relative;
2018-04-11 17:35:35 -04:00
top: -1px;
2018-04-11 17:02:43 -04:00
display: inline-block;
vertical-align: bottom;
font-size: 0;
}
.logo .row {
display: block;
2018-04-11 17:35:35 -04:00
margin: 0 0 5px 0;
2018-04-11 17:02:43 -04:00
}
.logo .cell {
display: inline-block;
background-color: #222;
2018-04-11 17:35:35 -04:00
width: 15px;
height: 15px;
2018-04-11 17:02:43 -04:00
margin: 0 3px 0 0;
}
.logo .row:nth-child(1) .cell:nth-child(1) {
2018-04-11 17:35:35 -04:00
animation: pulse 47s infinite;
2018-04-11 17:02:43 -04:00
animation-delay: 1.5s;
}
.logo .row:nth-child(1) .cell:nth-child(2) {
2018-04-11 17:35:35 -04:00
animation: pulse 32s infinite;
2018-04-11 17:02:43 -04:00
animation-delay: 0.5s;
}
.logo .row:nth-child(1) .cell:nth-child(3) {
2018-04-11 17:35:35 -04:00
animation: pulse 49s infinite;
2018-04-11 17:02:43 -04:00
animation-delay: 6s;
}
.logo .row:nth-child(1) .cell:nth-child(4) {
2018-04-11 17:35:35 -04:00
animation: pulse 35s infinite;
2018-04-11 17:02:43 -04:00
animation-delay: 10s;
}
.logo .row:nth-child(2) .cell:nth-child(1) {
2018-04-11 17:35:35 -04:00
animation: pulse 34s infinite;
2018-04-11 17:02:43 -04:00
animation-delay: 7s;
}
.logo .row:nth-child(2) .cell:nth-child(2) {
2018-04-11 17:35:35 -04:00
animation: pulse 48s infinite;
2018-04-11 17:02:43 -04:00
animation-delay: 9s;
}
.logo .row:nth-child(2) .cell:nth-child(3) {
2018-04-11 17:35:35 -04:00
animation: pulse 31s infinite;
2018-04-11 17:02:43 -04:00
animation-delay: 5s;
}
.logo .row:nth-child(2) .cell:nth-child(4) {
2018-04-11 17:35:35 -04:00
animation: pulse 46s infinite;
2018-04-11 17:02:43 -04:00
animation-delay: 4.5s;
}
.logo .row:nth-child(3) .cell:nth-child(1) {
2018-04-11 17:35:35 -04:00
animation: pulse 32s infinite;
2018-04-11 17:02:43 -04:00
animation-delay: 3.5s;
}
.logo .row:nth-child(3) .cell:nth-child(2) {
2018-04-11 17:35:35 -04:00
animation: pulse 49s infinite;
2018-04-11 17:02:43 -04:00
animation-delay: 5.5s;
}
.logo .row:nth-child(3) .cell:nth-child(3) {
2018-04-11 17:35:35 -04:00
animation: pulse 35s infinite;
2018-04-11 17:02:43 -04:00
animation-delay: 4s;
}
.logo .row:nth-child(3) .cell:nth-child(4) {
2018-04-11 17:35:35 -04:00
animation: pulse 34s infinite;
2018-04-11 17:02:43 -04:00
animation-delay: 17s;
}
@keyframes pulse {
0%, 100% {
2018-04-11 17:35:35 -04:00
background-color: #ffad00;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
8% {
background-color: #ffad00;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
10% {
background-color: #f0d106;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
16% {
background-color: #f0d106;
}
18% {
background-color: #eb7905;
}
24% {
background-color: #eb7905;
}
26% {
background-color: #e96762;
2018-04-11 17:02:43 -04:00
}
32% {
2018-04-11 17:35:35 -04:00
background-color: #e96762;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
34% {
background-color: #e099c1;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
40% {
background-color: #e099c1;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
42% {
background-color: #7d6f94;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
48% {
background-color: #7d6f94;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
50% {
background-color: #5ec233;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
56% {
background-color: #5ec233;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
58% {
background-color: #72b889;
}
64% {
background-color: #72b889;
}
66% {
background-color: #72b2fe;
2018-04-11 17:02:43 -04:00
}
2018-04-11 17:35:35 -04:00
72% {
background-color: #72b2fe;
}
74% {
background-color: #a6a6a7;
}
80% {
background-color: #a6a6a7;
}
82% {
background-color: #918e6e;
}
88% {
background-color: #918e6e;
}
90% {
background-color: #ffad00;
2018-04-11 17:02:43 -04:00
}
}
/**
* Content
*/
img {
display: inline-block;
max-width: 100%;
}
.offscreen-text {
overflow: hidden;
text-indent: -999px;
}
/**
* Carousel
*/
.carousel {
position: relative;
}
.carousel-control {
2018-04-13 07:48:06 -04:00
display: none;
2018-04-11 17:02:43 -04:00
}
2018-04-13 07:48:06 -04:00
.carousel.active .carousel-control {
display: block;
2018-04-13 07:48:26 -04:00
position: absolute;
top: 0;
bottom: 0;
width: 1.75em;
border: 0;
background-color: #fff;
background-position: center center;
background-size: contain;
background-repeat: no-repeat;
cursor: pointer;
}
.carousel.active .carousel-control:hover,
.carousel.active .carousel-control:active,
.carousel.active .carousel-control:focus {
border: 0;
outline: none;
opacity: 0.6;
}
.carousel button::-moz-focus-inner {
border:0;
2018-04-13 07:48:06 -04:00
}
2018-04-11 17:02:43 -04:00
.carousel-control.next {
2018-04-13 07:48:26 -04:00
right: -1em;
background-image: url('images/arrow-next.png');
2018-04-11 17:02:43 -04:00
}
.carousel-control.back {
2018-04-13 07:48:26 -04:00
left: -1em;
background-image: url('images/arrow-back.png');
2018-04-11 17:02:43 -04:00
}
.carousel-content {
padding: 0;
list-style: none;
}
.carousel-content li {
text-align: center;
}
2018-04-13 07:48:06 -04:00
.carousel.active .carousel-content li {
display: none;
}
.carousel.active .carousel-content li.current {
2018-04-11 17:02:43 -04:00
display: block;
}
/**
* Logos
*/
.logo-list {
text-align: center;
padding: 0;
list-style: none;
}
.logo-list li {
display: inline-block;
2018-04-13 07:48:26 -04:00
width: 8em;
padding: 0 0.25em;
2018-04-11 17:02:43 -04:00
vertical-align: middle;
}
.logo-list li:first-child {
width: 4em;
}
/**
* Data categories
*/
2018-04-11 17:35:35 -04:00
.data-category-list {
padding: 0;
text-align: center;
2018-04-11 17:02:43 -04:00
list-style: none;
2018-04-13 07:48:26 -04:00
margin: 0 -0.75em;
2018-04-11 17:35:35 -04:00
}
.data-category-list li {
2018-04-11 17:02:43 -04:00
display: inline-block;
vertical-align: bottom;
width: 9em;
height: 9em;
2018-04-13 07:48:26 -04:00
margin: 0.375em;
2018-04-11 17:02:43 -04:00
padding: 0.1em;
}
.data-category-list .category {
text-align: center;
font-size: 1.5em;
2018-04-11 17:35:35 -04:00
margin: 1.4em 0 0.5em;
2018-04-11 17:02:43 -04:00
}
.data-category-list .description {
text-align: center;
font-size: 1em;
2018-04-11 17:35:35 -04:00
margin: 0;
2018-04-11 17:02:43 -04:00
}