Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/impacts.to.git
html {
  color: #020202;
  background: #FEFEFE;
}

body {
  font: 16px/1.5 'Roboto', sans-serif;
  max-width: 900px; 
  margin: 0 auto; 
  padding: 1em;
  color: #444;
}

h1, h2, h3 {
  font-family: 'Gauge',sans-serif;
  color: #0a3d6a;
  line-height:1.2;
  text-transform: lowercase;
}

div.forms {
  text-align: center;
  margin-bottom: 1.5em;
}

form {
  display: inline;
  margin: .5em;
}

button {
  background-color: #0a3d6a;
  border: none;
  color: #fefefe;
  padding: 1em 2em;
  text-decoration: none;
  cursor: pointer;
  border-radius: .25em;
  margin-top: 1em;
  display: inline;
  width: 12em;
}

button.purchase-book {
  background-color: #6d1313;
}

button.purchase-ebook {
  background-color: #366b1d;
}

img.photo {
  float: left;
  padding: 0;
  box-shadow: .25em .25em .5em rgba(2, 2, 2, .5);
  margin-right: 1.5em;
  margin-bottom: .25em;
}

img.thumbnail {
  width: 150px;
}

div.preview-lightbox {
  text-align: center;
  padding: .5em;
}

div.preview-lightbox > a {
  outline: 0;
}

div.preview {
  padding: .5em;
  text-align: center;
}

a.preview, a.preview:visited, a.preview:hover {
  color: #fefefe;
  background-color: #0a3d6a;
  cursor: pointer;
  border: none;
  border-radius: .25em;
  text-decoration: none;
  padding: 1em 2em;
}

.product {
  width: 50%;
  margin: 0 auto;
}

.product .selection {
  text-align: center;
}

.product .price {
  text-align: right;
}

.quotation {
  position: relative;
  margin: 0;
  padding: 1em;
}

.quotation > blockquote {
  line-height: 1.25em;
  font-family: 'Aleo',serif;
  font-style: italic;
  border-style: solid;
  border-color: rgba(2, 2, 2, .5);
  border-width: 0 0 0 .5ex;
  padding: .5em;
  margin: 0;
  background-color: rgba(2, 2, 2, .1);
  border-top-right-radius: 1em;
}

/** Large quotation mark */
.quotation > blockquote:before {
  position: absolute;
  left: 0em;
  top: .5em;
  content: "\201C";
  font-size: 10em;
  color: rgba(2, 2, 2, .1);
}

.quotation > blockquote > p {
  margin: 0;
  padding: 0;
}

/** mdash for citation */
.quotation > .citation > p:first-of-type:before {
  content: "\2014 \2009";
}

.quotation > .citation > p:first-of-type {
  padding-top: .25em;
  padding-right: 1em;
}

.quotation > .citation > p:last-of-type {
  padding-bottom: .25em;
  padding-right: 1em;
}

.quotation > .citation > p {
  text-align: right;
  margin: 0;
  padding: 0 .25em 0 .25em;
  background-color: rgba(2, 2, 2, .05);
}

.image-carousel img {
  padding-top: 1em;
  padding-bottom: 1em;
  width: 300px;
}

.image-carousel div, .quote-carousel div {
  outline: none;
  border: 0;
}

.quote-carousel {
  width: 65%;
  margin: 0 auto;
}

a, a:visited {
  color: #0a3d6a;
  text-decoration: none;
}

.register {
  margin: 0 auto;
  text-align: center;
}

.register > p {
  padding: 1.25em;
}

.register > p > a {
  padding: 1.25em;
  background-color: #fc8f12;
  text-decoration: none;
  color: #fefefe;
}

div.slider {
  max-width: 900px;
  padding: 0;
}

.slick-prev:before,
.slick-next:before {
  color: #0a3d6a;
}

@media screen and (max-width: 400px) {
  form.preorder table.product {
    border: none;
    padding: 0;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
  }

  form.preorder table.product td {
    padding: .2em;
  }

  form.preorder table.product tbody tr:nth-child(odd) {
    background-color: #f7f7f7;
  }
  
  form.preorder table.product tbody tr:last-child {
    background-color: #fefefe;
    text-align: center;
  }
  
  .image-carousel img {
    width: 225px;
  }

  .image-carousel, .quote-carousel {
    width: 95%;
    margin: 0 auto;
  }

  form.preorder input[type=email] {
    width: 75%;
    max-width: 75%;
  }

  img.photo {
    width: 50%;
    height: 50%;
  }
}

@media screen and (min-width: 401px) and (max-width: 720px) {
  body {
    font-size: 16pt;
  }

  .register > p > a:first-of-type {
    margin-top: 0;
  }

  .register > p > a {
    display: block;
    margin-top: 1em;
    width: 50%;
  }

  .image-carousel {
    width: 90%;
    margin: 0 auto;
  }

  .quote-carousel {
    width: 90%;
    margin: 0 auto;
  }

  .quotation {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 1em;
  }

  form.preorder table.product {
    width: 100%;
  }

  form.preorder input[type=email] {
    width: 85%;
    max-width: 85%;
  }
}