blob: e836f250107e4d2e8f0037a641defa88038d2220 [file] [log] [blame]
/**
* IDS theme for reveal.js
*
* By Marc Kupietz
*/
// Default mixins and settings -----------------
@import "../template/mixins";
@import "../template/settings";
// ---------------------------------------------
// Include theme-specific fonts
@import url('https://code.cdn.mozilla.net/fonts/fira.css');
@import url('https://korap.ids-mannheim.de/font/fira-condensed.css');
@import url('https://korap.ids-mannheim.de/font/libertinus.css');
$idsOrange: #f6a800;
// Override theme settings (see ../template/settings.scss)
$backgroundColor: #fff;
$mainColor: #222;
$headingColor: $idsOrange;
$mainFontSize: 42px;
$mainFont: 'Libertinus Serif', Helvetica, sans-serif;
$headingFont: 'Fira Sans Condensed', 'Fira Sans', Helvetica, sans-serif;
$headingTextShadow: none;
$headingLetterSpacing: 0.05ex;
$headingTextTransform: uppercase;
$headingFontWeight: 600;
$linkColor: #2a76dd;
$linkColorHover: lighten( $linkColor, 15% );
$selectionBackgroundColor: lighten( $linkColor, 25% );
$heading1Size: 2em;
$heading2Size: 1.35em;
$heading3Size: 0.9em;
$heading4Size: 0.7em;
$listBulletColor: $idsOrange;
// Change text colors against dark slide backgrounds
@include dark-bg-text-color(#fff);
// Theme template ------------------------------
@import "../template/theme";
// ---------------------------------------------
body {
background-image: url('https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/IDS-Logo-2019.svg'),
url('https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/orange_bar.png') !important;
background-repeat: no-repeat !important;
background-position: top 20px right 20px, top 20px left !important;
background-size: 25vH auto, 4vH 16vH !important;
}
// Define additional color effects based on Dracula spec
// https://spec.draculatheme.com/
:root {
--r-bold-color: #{$idsOrange};
--r-list-bullet-color: #{$listBulletColor};
}
.reveal {
strong, b {
color: var(--r-bold-color);
}
// Dracula colored list bullets and numbers
ul, ol {
li::marker {
color: var(--r-list-bullet-color) !important;
}
}
}
/*********************************************
* FOOTER
*********************************************/
#ids-footer:not(title-slide) {
opacity: 1;
background: white;
color: #444444;
border-top: dotted orange 2px;
transition: opacity 800ms ease-in-out;
position: fixed;
height: 6%;
line-height: 6%;
z-index: -20;
width: 100%;
letter-spacing: 0em;
text-align: center;
display: table;
}
#ids-footer span {
height: 100%;
line-height: 100%;
z-index: -20;
font-size: 2vh;
font-family: "Fira Sans Condensed", "Fira Sans", "Roboto Condensed", "League Gothic", Impact, sans-serif;
display: inline-block;
display: table-cell;
vertical-align: middle;
}
/* Bottom position for the IDS-Footer footer when both progress bar and TOC-Progress are visible */
div.progress[style="display: block;"] ~ #ids-footer {
bottom: calc(3px + 0vh);
}
/* Bottom position for the IDS-Footer footer when TOC-Progress is visible */
#ids-footer {
bottom: 3px;
}
#ids-footer a {
color: #555555;
}
/* Bottom position for the IDS-Footer footer when progress bar is visible */
div.progress[style="display: block;"] ~ footer:last-of-type#ids-footer {
bottom: 3px;
}
/* Bottom position for the IDS-Footer footer when neither progress bar nor TOC-Progress are visible */
footer:last-of-type#ids-footer {
bottom: 0px;
}
/* Make IDS-Footer invisible if explicitly indicated */
.no-ids-footer #ids-footer {
opacity: 0;
transition: opacity 800ms ease-in-out;
}
.title-frame #ids-footer {
opacity: 0;
transition: opacity 800ms ease-in-out;
}
.no-toc-progress #ids-footer {
opacity: 0;
transition: opacity 800ms ease-in-out;
}
/* Make IDS-Footer invisible in overview mode */
.overview #ids-footer {
opacity: 0;
transition: opacity 800ms ease-in-out;
}
.reveal .title-frame .slide-number {
display: none !important;
}
.title-frame div.slide-background-content {
text-align: right !important;
background-image: url("https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/Mitglied_WGL_transparent.svg") !important;
background-repeat: no-repeat;
background-position: right 90px bottom 10px !important;
background-size: 7vH auto !important;
}
.slide-menu-items, .slide-menu-toolbar {
font-family: "Fira Sans" !important;
}
/*
* Menu controls
*/
body .reveal .slide-menu-button {
color: #aaaaaa !important;
position: fixed;
left: 30px;
bottom: 2%;
vertical-align: middle;
z-index: 30;
font-size: 2vh;
}
#customcontrols > ul {
color: #aaaaaa !important;
position: fixed;
left: 50px;
bottom: 2% !important;
vertical-align: middle;
z-index: 30;
font-size: 2vh;
}
@media only screen and (min-width: 500px) {
#customcontrols > ul {
bottom: 2% !important;
}
}
.reveal .controls .controls-arrow {
position: relative;
width: 3.6em;
height: 3.6em;
bottom: -12px;
right: -4px;
}
.reveal h3, h4, h5, h6 {
text-transform: none !important;
}
.reveal h3, h4, h5, h6 {
text-transform: none !important;
}
.reveal h2 + h3 {
margin-top: -0.5em !important;
}
.reveal h1:last-child {
margin-top: 250px;
}
.title-frame h1,
.title-frame h2 {
margin: 0 0 0 0;
background: rgb(246, 168, 0);
color: white;
font-family: "Fira Sans Condensed", "Roboto Condensed", Impact, sans-serif;
font-weight: 600;
line-height: 1.2;
letter-spacing: 0.05ex;
text-transform: uppercase;
width: 100%;
margin-top: .5em;
padding-top: .5em;
font-size: 1.75em;
margin-left: 0;
text-align: center;
text-shadow: none;
word-wrap: break-word;
}
.title-frame .author {
font-family: "Fira Sans Condensed", sans-serif;
font-weight: 400;
color: #657b83;
margin-top: 10vh;
}
.title-frame .place {
font-family: "Fira Sans Condensed", sans-serif;
margin-top: 40px;
font-weight: 400;
color: #657b83;
}
.title-frame h2 {
margin-top: -3px;
margin-bottom: 1em;
padding-bottom: .5em;
font-size: 1em;
}
/*********************************************
* TABLES
*********************************************/
th {
color: rgb(246, 168, 0);
}
table {
font-family: 'Fira Sans Condensed', sans-serif;
font-weight: 400;
font-size: 16px;
}
.reveal table.dataTable {
border: #aaaaaa 1px solid;
border-collapse: collapse;
}
.reveal table.dataTable td {
border: #aaaaaa 1px solid;
border-collapse: collapse;
}
.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate, table.dataTable thead > tr > th.sorting::before, table.dataTable thead > tr > th.sorting::after, table.dataTable thead > tr > th.sorting_asc::before, table.dataTable thead > tr > th.sorting_asc::after, table.dataTable thead > tr > th.sorting_desc::before, table.dataTable thead > tr > th.sorting_desc::after, table.dataTable thead > tr > th.sorting_asc_disabled::before, table.dataTable thead > tr > th.sorting_asc_disabled::after, table.dataTable thead > tr > th.sorting_desc_disabled::before, table.dataTable thead > tr > th.sorting_desc_disabled::after, table.dataTable thead > tr > td.sorting::before, table.dataTable thead > tr > td.sorting::after, table.dataTable thead > tr > td.sorting_asc::before, table.dataTable thead > tr > td.sorting_asc::after, table.dataTable thead > tr > td.sorting_desc::before, table.dataTable thead > tr > td.sorting_desc::after, table.dataTable thead > tr > td.sorting_asc_disabled::before, table.dataTable thead > tr > td.sorting_asc_disabled::after, table.dataTable thead > tr > td.sorting_desc_disabled::before, table.dataTable thead > tr > td.sorting_desc_disabled::after {
display: none;
}
.caption {
font-family: 'Fira Sans Condensed', sans-serif;
font-weight: 400;
font-size: 16px;
text-align: center;
}
/*
table.display td { white-space: nowrap; }
*/
.dt-buttons, .dataTables_filter {
margin-top: 10pt;
}
/*********************************************
* BIBLIOGRAPHY
*********************************************/
.reveal .references {
font-family: "Fira Sans Condensed", sans-serif;
font-size: 16px;
text-align: left;
margin-top: 35px;
max-height: 540px;
font-weight: 400;
color: #253b43;
overflow-y: auto;
}
.hanging-indent > .csl-entry {
padding-left: 22px ;
text-indent: -22px ;
}
.csl-entry::first-line {
color: #253b43;
}
.csl-entry {
color: #888888;
}
/* Add line break after authors and year*/
.csl-entry :first-child::before {
content: "\a";
white-space: pre;
}
.reveal code.sourceCode:last-child + pre {
height: 800px !important;
}
/*********************************************
* ARROWS and SLIDE NUMBERS
*********************************************/
.reveal .controls .controls-arrow:after, .reveal .controls .controls-arrow:before {
width: 13px !important; /* size */
height: 4px; /* line width */
}
.reveal .controls {
display: none;
position: absolute;
top: auto;
bottom: -8px;
right: 16px;
left: auto;
z-index: 11;
/* color: #000;*/
pointer-events: none;
font-size: 8px;
}
.reveal .controls .controls-arrow {
position: relative;
height: 3.6em;
width: 1.2em; /* distance betwee arrows */
bottom: 0;
right: 0;
}
.reveal div.slide-number {
text-align: center;
width: 2em;
position: absolute;
display: block;
right: 29px;
bottom: 22px;
z-index: 31;
font-family: "Fira Sans Condensed", sans-serif;
font-size: 18px;
line-height: 1;
background-color: white;
color: #666;
padding: 0;
}