2012-10-20 16:57:51 +02:00
|
|
|
// Base theme template for reveal.js
|
|
|
|
|
|
|
|
/*********************************************
|
|
|
|
* GLOBAL STYLES
|
|
|
|
*********************************************/
|
|
|
|
|
2019-10-29 13:23:59 +01:00
|
|
|
@import "./exposer";
|
|
|
|
|
2020-04-06 13:49:39 +02:00
|
|
|
.reveal-viewport {
|
2012-10-20 16:57:51 +02:00
|
|
|
@include bodyBackground();
|
2020-07-29 13:31:29 +02:00
|
|
|
background-color: var(--background-color);
|
2012-10-20 16:57:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.reveal {
|
2020-07-29 13:31:29 +02:00
|
|
|
font-family: var(--main-font);
|
|
|
|
font-size: var(--main-font-size);
|
2013-11-08 14:11:35 +01:00
|
|
|
font-weight: normal;
|
2020-07-29 13:31:29 +02:00
|
|
|
color: var(--main-color);
|
2012-10-20 16:57:51 +02:00
|
|
|
}
|
|
|
|
|
2020-05-11 11:28:36 +02:00
|
|
|
.reveal ::selection {
|
2020-07-29 13:31:29 +02:00
|
|
|
color: var(--selection-color);
|
|
|
|
background: var(--selection-background-color);
|
2012-11-27 15:23:23 +01:00
|
|
|
text-shadow: none;
|
2012-10-20 16:57:51 +02:00
|
|
|
}
|
|
|
|
|
2020-05-11 11:28:36 +02:00
|
|
|
.reveal ::-moz-selection {
|
2020-07-29 13:31:29 +02:00
|
|
|
color: var(--selection-color);
|
|
|
|
background: var(--selection-background-color);
|
2016-05-23 10:38:46 +02:00
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
2017-12-04 14:03:16 +01:00
|
|
|
.reveal .slides section,
|
|
|
|
.reveal .slides section>section {
|
2014-09-28 12:14:48 +02:00
|
|
|
line-height: 1.3;
|
2014-06-11 12:48:19 +02:00
|
|
|
font-weight: inherit;
|
|
|
|
}
|
|
|
|
|
2012-10-20 16:57:51 +02:00
|
|
|
/*********************************************
|
|
|
|
* HEADERS
|
|
|
|
*********************************************/
|
|
|
|
|
2012-11-27 15:23:23 +01:00
|
|
|
.reveal h1,
|
|
|
|
.reveal h2,
|
|
|
|
.reveal h3,
|
|
|
|
.reveal h4,
|
|
|
|
.reveal h5,
|
2012-10-20 16:57:51 +02:00
|
|
|
.reveal h6 {
|
2020-07-29 13:31:29 +02:00
|
|
|
margin: var(--heading-margin);
|
|
|
|
color: var(--heading-color);
|
2012-10-20 16:57:51 +02:00
|
|
|
|
2020-07-29 13:31:29 +02:00
|
|
|
font-family: var(--heading-font);
|
|
|
|
font-weight: var(--heading-font-weight);
|
|
|
|
line-height: var(--heading-line-height);
|
|
|
|
letter-spacing: var(--heading-letter-spacing);
|
2012-11-27 15:23:23 +01:00
|
|
|
|
2020-07-29 13:31:29 +02:00
|
|
|
text-transform: var(--heading-text-transform);
|
|
|
|
text-shadow: var(--heading-text-shadow);
|
2014-06-11 12:48:19 +02:00
|
|
|
|
|
|
|
word-wrap: break-word;
|
2012-10-20 16:57:51 +02:00
|
|
|
}
|
|
|
|
|
2020-07-29 13:31:29 +02:00
|
|
|
.reveal h1 {font-size: var(--heading1-size); }
|
|
|
|
.reveal h2 {font-size: var(--heading2-size); }
|
|
|
|
.reveal h3 {font-size: var(--heading3-size); }
|
|
|
|
.reveal h4 {font-size: var(--heading4-size); }
|
2014-06-11 12:48:19 +02:00
|
|
|
|
2012-10-20 16:57:51 +02:00
|
|
|
.reveal h1 {
|
2020-07-29 13:31:29 +02:00
|
|
|
text-shadow: var(--heading1-text-shadow);
|
2012-10-20 16:57:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-05-26 11:25:47 +02:00
|
|
|
/*********************************************
|
|
|
|
* OTHER
|
|
|
|
*********************************************/
|
|
|
|
|
|
|
|
.reveal p {
|
2020-07-29 13:31:29 +02:00
|
|
|
margin: var(--block-margin) 0;
|
2014-09-28 12:14:48 +02:00
|
|
|
line-height: 1.3;
|
2014-06-11 12:32:39 +02:00
|
|
|
}
|
|
|
|
|
2020-06-05 13:17:43 +02:00
|
|
|
/* Remove trailing margins after titles */
|
|
|
|
.reveal h1:last-child,
|
|
|
|
.reveal h2:last-child,
|
|
|
|
.reveal h3:last-child,
|
|
|
|
.reveal h4:last-child,
|
|
|
|
.reveal h5:last-child,
|
|
|
|
.reveal h6:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2014-06-11 12:32:39 +02: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%;
|
2020-07-29 13:31:29 +02:00
|
|
|
margin: var(--block-margin) auto;
|
2014-06-11 12:32:39 +02: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%;
|
2020-07-29 13:31:29 +02:00
|
|
|
margin: var(--block-margin) auto;
|
2014-06-11 12:32:39 +02:00
|
|
|
|
|
|
|
text-align: left;
|
|
|
|
font-size: 0.55em;
|
2020-07-29 13:31:29 +02:00
|
|
|
font-family: var(--code-font);
|
2014-06-11 12:32:39 +02:00
|
|
|
line-height: 1.2em;
|
|
|
|
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
2019-03-12 11:26:10 +01:00
|
|
|
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
|
2014-06-11 12:32:39 +02:00
|
|
|
}
|
2017-09-06 16:50:39 +02:00
|
|
|
|
2014-06-11 12:32:39 +02:00
|
|
|
.reveal code {
|
2020-07-29 13:31:29 +02:00
|
|
|
font-family: var(--code-font);
|
2017-09-06 16:50:39 +02:00
|
|
|
text-transform: none;
|
2021-02-04 14:17:27 +01:00
|
|
|
tab-size: 2;
|
2014-06-11 12:32:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.reveal pre code {
|
|
|
|
display: block;
|
|
|
|
padding: 5px;
|
|
|
|
overflow: auto;
|
|
|
|
max-height: 400px;
|
|
|
|
word-wrap: normal;
|
|
|
|
}
|
|
|
|
|
2021-05-21 09:13:40 +02:00
|
|
|
.reveal .code-wrapper {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal .code-wrapper code {
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
|
2014-06-11 12:32:39 +02:00
|
|
|
.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 19:15:14 +01: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 17:40:11 +02:00
|
|
|
.reveal table tbody tr:last-child th,
|
|
|
|
.reveal table tbody tr:last-child td {
|
2015-03-02 12:08:21 +01:00
|
|
|
border-bottom: none;
|
2014-06-11 12:32:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.reveal sup {
|
|
|
|
vertical-align: super;
|
2018-04-24 14:56:03 +02:00
|
|
|
font-size: smaller;
|
2014-06-11 12:32:39 +02:00
|
|
|
}
|
|
|
|
.reveal sub {
|
|
|
|
vertical-align: sub;
|
2018-04-24 14:56:03 +02:00
|
|
|
font-size: smaller;
|
2014-06-11 12:32:39 +02: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 11:25:47 +02:00
|
|
|
}
|
|
|
|
|
2020-05-14 12:39:45 +02:00
|
|
|
.reveal img {
|
2020-07-29 13:31:29 +02:00
|
|
|
margin: var(--block-margin) 0;
|
2020-05-14 12:39:45 +02:00
|
|
|
}
|
|
|
|
|
2014-05-26 11:25:47 +02:00
|
|
|
|
2012-10-20 16:57:51 +02:00
|
|
|
/*********************************************
|
|
|
|
* LINKS
|
|
|
|
*********************************************/
|
|
|
|
|
2014-02-17 11:55:38 +01:00
|
|
|
.reveal a {
|
2020-07-29 13:31:29 +02:00
|
|
|
color: var(--link-color);
|
2012-10-20 16:57:51 +02:00
|
|
|
text-decoration: none;
|
2020-05-14 12:39:45 +02:00
|
|
|
transition: color .15s ease;
|
2012-10-20 16:57:51 +02:00
|
|
|
}
|
2014-02-17 11:55:38 +01:00
|
|
|
.reveal a:hover {
|
2020-07-29 13:31:29 +02:00
|
|
|
color: var(--link-color-hover);
|
2012-10-20 16:57:51 +02:00
|
|
|
text-shadow: none;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reveal .roll span:after {
|
|
|
|
color: #fff;
|
2020-07-29 13:31:29 +02:00
|
|
|
// background: darken( var(--link-color), 15% );
|
|
|
|
background: var(--link-color-dark);
|
|
|
|
|
2012-10-20 16:57:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*********************************************
|
2020-05-14 12:39:45 +02:00
|
|
|
* Frame helper
|
2012-10-20 16:57:51 +02:00
|
|
|
*********************************************/
|
|
|
|
|
2020-05-14 12:39:45 +02:00
|
|
|
.reveal .r-frame {
|
2020-07-29 13:31:29 +02:00
|
|
|
border: 4px solid var(--main-color);
|
2012-10-20 16:57:51 +02:00
|
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
|
|
|
}
|
|
|
|
|
2020-05-14 12:39:45 +02:00
|
|
|
.reveal a .r-frame {
|
|
|
|
transition: all .15s linear;
|
|
|
|
}
|
2012-11-27 15:23:23 +01:00
|
|
|
|
2020-05-14 12:39:45 +02:00
|
|
|
.reveal a:hover .r-frame {
|
2020-07-29 13:31:29 +02:00
|
|
|
border-color: var(--link-color);
|
2020-05-14 12:39:45 +02:00
|
|
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
|
|
|
|
}
|
2012-10-20 16:57:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
/*********************************************
|
|
|
|
* NAVIGATION CONTROLS
|
|
|
|
*********************************************/
|
|
|
|
|
2016-06-28 12:34:23 +02:00
|
|
|
.reveal .controls {
|
2020-07-29 13:31:29 +02:00
|
|
|
color: var(--link-color);
|
2016-04-20 13:45:03 +02:00
|
|
|
}
|
|
|
|
|
2012-10-20 16:57:51 +02:00
|
|
|
|
|
|
|
/*********************************************
|
|
|
|
* PROGRESS BAR
|
|
|
|
*********************************************/
|
|
|
|
|
|
|
|
.reveal .progress {
|
|
|
|
background: rgba(0,0,0,0.2);
|
2020-07-29 13:31:29 +02:00
|
|
|
color: var(--link-color);
|
2012-10-20 16:57:51 +02:00
|
|
|
}
|
|
|
|
|
2018-03-23 13:50:42 +01:00
|
|
|
/*********************************************
|
|
|
|
* PRINT BACKGROUND
|
|
|
|
*********************************************/
|
|
|
|
@media print {
|
|
|
|
.backgrounds {
|
2020-07-29 13:31:29 +02:00
|
|
|
background-color: var(--background-color);
|
2018-03-23 13:50:42 +01:00
|
|
|
}
|
|
|
|
}
|