@import "reveal.js/css/theme/template/mixins";
@import "reveal.js/css/theme/template/settings";

// Override theme settings (see ../template/settings.scss)
$mainFont: sans-serif;
$mainColor: #000000;
$headingFont: sans-serif;
$headingColor: #000000;
$headingLetterSpacing: -0.08em;
$headingTextShadow: none;
$backgroundColor: #ffffff;
$linkColor: #2f2f2f;
$linkColorHover: #0061b2;
$selectionBackgroundColor: #858585;
$bulletPointColor: #2f2f2f;

// Theme template ------------------------------
@import "reveal.js/css/theme/template/theme";
// ---------------------------------------------

<% if @clean_css -%>
<% Middleman::Presentation::CssClassExtracter.new.extract(Middleman::Presentation.stylable_files, ignore: %w(slides reveal)).each do |klass| -%>
// <%= klass.files.to_list %>
.<%= klass.name %> {
}

<% end -%>
<% else -%>
section.mp-start-slide {
  h1 {
    font-family: sans-serif;
    font-size: 4.5rem;
    font-weight: bold;
  }

  h2 {
    font-size: 2rem;
    color: #2f2f2f;
    font-family: sans-serif;
  }

  .mp-headline {
    display: inline-block;
    width: 70%;
  }

  .mp-author {
    font-size: 2rem;
    color: #2f2f2f;
    line-height: 1rem;
    margin: 0px;
    margin-bottom: 5px;
  }

  .mp-license {
    font-size: 1rem;
    color: #2f2f2f;
    line-height: 1rem;
    margin: 0px;
  }
}

.reveal section img {
  padding: 10px;
  border: none;
  box-shadow: none;
}

.reveal .mp-inline-code {
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3); 
  padding-right: 4px;
  padding-bottom: 0px;
}

.reveal h1 {
  font-size: 4rem;
  font-family: sans-serif;
  font-weight: bold;
  text-transform: uppercase;
}

.reveal h2 {
  font-size: 3rem;
  color: #2f2f2f;
  font-family: sans-serif;
  font-weight: bold;
  text-transform: uppercase;
}

.reveal h3 {
  font-family: sans-serif;
  color: #2f2f2f;
  font-size: 2rem;
  text-transform: none;
}

.reveal pre {
  width: 100%;
}

.reveal code {
  width: 100%;
}

::-webkit-scrollbar {
   width: 12px;
}

.reveal blockquote {
  box-shadow: none;
  position: relative;
  margin-top: 3rem;
  margin-bottom: 2rem;
  border: 1px black;
}

blockquote:before { 
  display: block;
  font-size: 10em;
  position: absolute;
  left: -0.5em;
  top: 0.3em;
  content: "“";
  color: #ff530a; 
}

blockquote cite:before {
  content: "\2014 \2009";
}

.reveal blockquote cite {
  font-size: 0.7em;
  color: grey;
  display: block;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px #ff530a; 
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  -webkit-box-shadow: inset 0 0 6px #ff530a; 
  background-color: #ff530a;
  border-radius: 10px;
}

.reveal ul li {
  margin-bottom: 20px;
}

.reveal ul li ul li {
  margin-bottom: 5px;
}

.reveal ul li ul {
  list-style-type: circle;
}

.mp-hidden {
  display: none;
}

li>i.mp-hint {
  @extend .fa;
  @extend .fa-exclamation-triangle;
  margin-right: 15px;
  font-size: 1em;
}

section>i.mp-question {
  @extend .fa;
  @extend .fa-question;
  margin-right: 15px;
  font-size: 5em;
}

ul > li {
  margin-left: 2em;
}

ul.mp-with-image {
  vertical-align: middle;
}

img.mp-with-list {
  vertical-align: middle;
}

.reveal ul.mp-iconless-list {
  list-style-type: none;
}

li > i.mp-phone {
  @extend .fa;
  @extend .fa-phone;
  margin-right: 15px;
}

li > i.mp-mail {
  @extend .fa;
  @extend .fa-envelope;
  margin-right: 15px;
}

li > i.mp-github {
  @extend .fa;
  @extend .fa-github;
  margin-right: 15px;
}

a.mp-external-url:after {
  font-family: "FontAwesome";
  content: "\f08e"; 
  margin-left: 12px;
  margin-right: 12px;
  font-size: 0.7em;
}

img.mp-preview-image {
  max-width: 300px;
  max-height: 300px;
  display: inline-block;
  margin: 5px auto;
  box-shadow: rgba(0,0,0,0.2) 0px 2px 3px, inset rgba(0,0,0,0.2) 0px -1px 2px;
  border-radius: 10px;
}

footer#mp-site-footer {
  position: absolute;
  bottom: 20px;
  left: 0px;
  width: 100%;
  text-align: center;
}

#mp-copyright-notice {
  min-height: 10px;
  font-size: 0.75rem;
  display: inline-block;
}

a#mp-print-link {
}

i.mp-print {
  @extend .fa;
  @extend .fa-print;
  margin-left: 5px;
}
<% end -%>