Add CSS support for (Data)tables and references
Change-Id: I268da5b5084491d39cf90793404b8c72865eab80
diff --git a/inst/reveal.js-4.6.1/css/theme/source/ids.scss b/inst/reveal.js-4.6.1/css/theme/source/ids.scss
index 9d55508..26dabc5 100644
--- a/inst/reveal.js-4.6.1/css/theme/source/ids.scss
+++ b/inst/reveal.js-4.6.1/css/theme/source/ids.scss
@@ -267,3 +267,80 @@
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;
+}