Add CSS support for (Data)tables and references
Change-Id: I268da5b5084491d39cf90793404b8c72865eab80
diff --git a/inst/reveal.js-4.6.1/dist/theme/ids.css b/inst/reveal.js-4.6.1/dist/theme/ids.css
index e65c0a3..c886002 100644
--- a/inst/reveal.js-4.6.1/dist/theme/ids.css
+++ b/inst/reveal.js-4.6.1/dist/theme/ids.css
@@ -379,7 +379,7 @@
/*********************************************
* FOOTER
*********************************************/
-#ids-footer {
+#ids-footer:not(title-slide) {
opacity: 1;
background: white;
color: #444444;
@@ -470,7 +470,7 @@
display: none !important;
}
-.title-frame div {
+.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;
@@ -557,8 +557,82 @@
}
.title-frame h2 {
- margin-top: 0;
+ margin-top: -3px;
margin-bottom: 1em;
padding-bottom: 0.5em;
font-size: 1em;
+}
+
+/*********************************************
+ * TABLES
+ *********************************************/
+th {
+ color: #f6a800;
+}
+
+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;
}
\ No newline at end of file