2012-10-20 14:57:51 +00:00
|
|
|
// Base theme template for reveal.js
|
|
|
|
|
|
|
|
/*********************************************
|
|
|
|
* GLOBAL STYLES
|
|
|
|
*********************************************/
|
|
|
|
|
|
|
|
body {
|
|
|
|
@include bodyBackground();
|
2012-10-28 23:32:24 +00:00
|
|
|
background-color: $backgroundColor;
|
2012-10-20 14:57:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.reveal {
|
|
|
|
font-family: $mainFont;
|
|
|
|
font-size: $mainFontSize;
|
2013-11-08 13:11:35 +00:00
|
|
|
font-weight: normal;
|
2012-10-20 14:57:51 +00:00
|
|
|
color: $mainColor;
|
|
|
|
}
|
|
|
|
|
2012-11-27 14:23:23 +00:00
|
|
|
::selection {
|
|
|
|
color: $selectionColor;
|
|
|
|
background: $selectionBackgroundColor;
|
|
|
|
text-shadow: none;
|
2012-10-20 14:57:51 +00:00
|
|
|
}
|
|
|
|
|
2016-05-23 08:38:46 +00:00
|
|
|
::-moz-selection {
|
|
|
|
color: $selectionColor;
|
|
|
|
background: $selectionBackgroundColor;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
2017-12-04 13:03:16 +00:00
|
|
|
.reveal .slides section,
|
|
|
|
.reveal .slides section>section {
|
2014-09-28 10:14:48 +00:00
|
|
|
line-height: 1.3;
|
2014-06-11 10:48:19 +00:00
|
|
|
font-weight: inherit;
|
|
|
|
}
|
|
|
|
|
2012-10-20 14:57:51 +00:00
|
|
|
/*********************************************
|
|
|
|
* HEADERS
|
|
|
|
*********************************************/
|
|
|
|
|
2012-11-27 14:23:23 +00:00
|
|
|
.reveal h1,
|
|
|
|
.reveal h2,
|
|
|
|
.reveal h3,
|
|
|
|
.reveal h4,
|
|
|
|
.reveal h5,
|
2012-10-20 14:57:51 +00:00
|
|
|
.reveal h6 {
|
2013-07-21 04:32:51 +00:00
|
|
|
margin: $headingMargin;
|
2012-10-20 14:57:51 +00:00
|
|
|
color: $headingColor;
|
|
|
|
|
|
|
|
font-family: $headingFont;
|
2015-01-06 10:42:23 +00:00
|
|
|
font-weight: $headingFontWeight;
|
2012-10-20 14:57:51 +00:00
|
|
|
line-height: $headingLineHeight;
|
|
|
|
letter-spacing: $headingLetterSpacing;
|
2012-11-27 14:23:23 +00:00
|
|
|
|
2012-10-20 14:57:51 +00:00
|
|
|
text-transform: $headingTextTransform;
|
|
|
|
text-shadow: $headingTextShadow;
|
2014-06-11 10:48:19 +00:00
|
|
|
|
|
|
|
word-wrap: break-word;
|
2012-10-20 14:57:51 +00:00
|
|
|
}
|
|
|
|
|
2014-09-28 10:14:48 +00:00
|
|
|
.reveal h1 {font-size: $heading1Size; }
|
|
|
|
.reveal h2 {font-size: $heading2Size; }
|
|
|
|
.reveal h3 {font-size: $heading3Size; }
|
|
|
|
.reveal h4 {font-size: $heading4Size; }
|
2014-06-11 10:48:19 +00:00
|
|
|
|
2012-10-20 14:57:51 +00:00
|
|
|
.reveal h1 {
|
|
|
|
text-shadow: $heading1TextShadow;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-05-26 09:25:47 +00:00
|
|
|
/*********************************************
|
|
|
|
* OTHER
|
|
|
|
*********************************************/
|
|
|
|
|
|
|
|
.reveal p {
|
2014-11-05 10:52:32 +00:00
|
|
|
margin: $blockMargin 0;
|
2014-09-28 10:14:48 +00:00
|
|
|
line-height: 1.3;
|
2014-06-11 10:32:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Ensure certain elements are never larger than the slide itself */
|
|
|
|
.reveal img,
|
|
|
|
.reveal video,
|
|
|
|
.reveal iframe {
|
|
|
|
max-width: 95%;
|
|
|
|
max-height: 95%;
|
|
|
|
}
|
|
|
|
.reveal strong,
|
|
|
|
.reveal b {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal em {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal ol,
|
|
|
|
.reveal dl,
|
|
|
|
.reveal ul {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
text-align: left;
|
|
|
|
margin: 0 0 0 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal ol {
|
|
|
|
list-style-type: decimal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal ul {
|
|
|
|
list-style-type: disc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal ul ul {
|
|
|
|
list-style-type: square;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal ul ul ul {
|
|
|
|
list-style-type: circle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal ul ul,
|
|
|
|
.reveal ul ol,
|
|
|
|
.reveal ol ol,
|
|
|
|
.reveal ol ul {
|
|
|
|
display: block;
|
|
|
|
margin-left: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal dt {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal dd {
|
|
|
|
margin-left: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal blockquote {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
width: 70%;
|
2014-11-05 10:52:32 +00:00
|
|
|
margin: $blockMargin auto;
|
2014-06-11 10:32:39 +00:00
|
|
|
padding: 5px;
|
|
|
|
|
|
|
|
font-style: italic;
|
|
|
|
background: rgba(255, 255, 255, 0.05);
|
|
|
|
box-shadow: 0px 0px 2px rgba(0,0,0,0.2);
|
|
|
|
}
|
|
|
|
.reveal blockquote p:first-child,
|
|
|
|
.reveal blockquote p:last-child {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal q {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal pre {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
width: 90%;
|
2014-11-05 10:52:32 +00:00
|
|
|
margin: $blockMargin auto;
|
2014-06-11 10:32:39 +00:00
|
|
|
|
|
|
|
text-align: left;
|
|
|
|
font-size: 0.55em;
|
|
|
|
font-family: monospace;
|
|
|
|
line-height: 1.2em;
|
|
|
|
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
|
|
|
box-shadow: 0px 0px 6px rgba(0,0,0,0.3);
|
|
|
|
}
|
2017-09-06 14:50:39 +00:00
|
|
|
|
2014-06-11 10:32:39 +00:00
|
|
|
.reveal code {
|
|
|
|
font-family: monospace;
|
2017-09-06 14:50:39 +00:00
|
|
|
text-transform: none;
|
2014-06-11 10:32:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.reveal pre code {
|
|
|
|
display: block;
|
|
|
|
padding: 5px;
|
|
|
|
overflow: auto;
|
|
|
|
max-height: 400px;
|
|
|
|
word-wrap: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal table {
|
|
|
|
margin: auto;
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal table th {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal table th,
|
|
|
|
.reveal table td {
|
|
|
|
text-align: left;
|
|
|
|
padding: 0.2em 0.5em 0.2em 0.5em;
|
|
|
|
border-bottom: 1px solid;
|
|
|
|
}
|
|
|
|
|
2015-02-28 18:15:14 +00:00
|
|
|
.reveal table th[align="center"],
|
|
|
|
.reveal table td[align="center"] {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal table th[align="right"],
|
|
|
|
.reveal table td[align="right"] {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2015-05-03 15:40:11 +00:00
|
|
|
.reveal table tbody tr:last-child th,
|
|
|
|
.reveal table tbody tr:last-child td {
|
2015-03-02 11:08:21 +00:00
|
|
|
border-bottom: none;
|
2014-06-11 10:32:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.reveal sup {
|
|
|
|
vertical-align: super;
|
2018-04-24 12:56:03 +00:00
|
|
|
font-size: smaller;
|
2014-06-11 10:32:39 +00:00
|
|
|
}
|
|
|
|
.reveal sub {
|
|
|
|
vertical-align: sub;
|
2018-04-24 12:56:03 +00:00
|
|
|
font-size: smaller;
|
2014-06-11 10:32:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.reveal small {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 0.6em;
|
|
|
|
line-height: 1.2em;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal small * {
|
|
|
|
vertical-align: top;
|
2014-05-26 09:25:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-10-20 14:57:51 +00:00
|
|
|
/*********************************************
|
|
|
|
* LINKS
|
|
|
|
*********************************************/
|
|
|
|
|
2014-02-17 10:55:38 +00:00
|
|
|
.reveal a {
|
2012-10-20 14:57:51 +00:00
|
|
|
color: $linkColor;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
-webkit-transition: color .15s ease;
|
|
|
|
-moz-transition: color .15s ease;
|
|
|
|
transition: color .15s ease;
|
|
|
|
}
|
2014-02-17 10:55:38 +00:00
|
|
|
.reveal a:hover {
|
2012-10-20 14:57:51 +00:00
|
|
|
color: $linkColorHover;
|
2012-11-27 14:23:23 +00:00
|
|
|
|
2012-10-20 14:57:51 +00:00
|
|
|
text-shadow: none;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal .roll span:after {
|
|
|
|
color: #fff;
|
|
|
|
background: darken( $linkColor, 15% );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*********************************************
|
|
|
|
* IMAGES
|
|
|
|
*********************************************/
|
|
|
|
|
|
|
|
.reveal section img {
|
2012-11-27 14:23:23 +00:00
|
|
|
margin: 15px 0px;
|
2012-10-20 14:57:51 +00:00
|
|
|
background: rgba(255,255,255,0.12);
|
|
|
|
border: 4px solid $mainColor;
|
2012-11-27 14:23:23 +00:00
|
|
|
|
2012-10-20 14:57:51 +00:00
|
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
|
|
|
}
|
|
|
|
|
2015-02-14 00:43:47 +00:00
|
|
|
.reveal section img.plain {
|
|
|
|
border: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2014-02-17 10:55:38 +00:00
|
|
|
.reveal a img {
|
|
|
|
-webkit-transition: all .15s linear;
|
|
|
|
-moz-transition: all .15s linear;
|
|
|
|
transition: all .15s linear;
|
|
|
|
}
|
|
|
|
|
2012-10-20 14:57:51 +00:00
|
|
|
.reveal a:hover img {
|
|
|
|
background: rgba(255,255,255,0.2);
|
|
|
|
border-color: $linkColor;
|
2012-11-27 14:23:23 +00:00
|
|
|
|
2012-10-20 14:57:51 +00:00
|
|
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*********************************************
|
|
|
|
* NAVIGATION CONTROLS
|
|
|
|
*********************************************/
|
|
|
|
|
2016-06-28 10:34:23 +00:00
|
|
|
.reveal .controls {
|
|
|
|
color: $linkColor;
|
2016-04-20 11:45:03 +00:00
|
|
|
}
|
|
|
|
|
2012-10-20 14:57:51 +00:00
|
|
|
|
|
|
|
/*********************************************
|
|
|
|
* PROGRESS BAR
|
|
|
|
*********************************************/
|
|
|
|
|
|
|
|
.reveal .progress {
|
|
|
|
background: rgba(0,0,0,0.2);
|
2017-05-18 07:58:25 +00:00
|
|
|
color: $linkColor;
|
2012-10-20 14:57:51 +00:00
|
|
|
}
|
|
|
|
.reveal .progress span {
|
|
|
|
-webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
|
|
|
-moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
2018-03-23 12:50:42 +00:00
|
|
|
transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
2012-10-20 14:57:51 +00:00
|
|
|
}
|
|
|
|
|
2018-03-23 12:50:42 +00:00
|
|
|
/*********************************************
|
|
|
|
* PRINT BACKGROUND
|
|
|
|
*********************************************/
|
|
|
|
@media print {
|
|
|
|
.backgrounds {
|
|
|
|
background-color: $backgroundColor;
|
|
|
|
}
|
|
|
|
}
|