Skip to content

Commit

Permalink
workshopping some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhys Tilford committed Nov 19, 2023
1 parent 39e21ca commit 160c762
Show file tree
Hide file tree
Showing 12 changed files with 515 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/articles/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ <h1 class="title">Articles</h1>
</div>
</div>
<div class="list grid quarto-listing-cols-3">
<div class="g-col-1" data-index="0" data-listing-file-modified-sort="1700342567015" data-listing-reading-time-sort="1">
<div class="g-col-1" data-index="0" data-listing-file-modified-sort="1700342845369" data-listing-reading-time-sort="1">
<a href="../articles/article_06/index.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<div class="listing-item-img-placeholder card-img-top" style="height: 150px;">&nbsp;</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1865,7 +1865,7 @@ font-style: inherit;">;</span></span></code></pre></div>
<a onclick="window.scrollTo(0, 0); return false;" id="quarto-back-to-top"><i class="bi bi-arrow-up"></i> Back to top</a> ]]></description>
<guid>https://rctilford.github.io/personal-rhys-tilford/articles/article_06/index.html</guid>
<pubDate>Sat, 18 Nov 2023 21:23:27 GMT</pubDate>
<pubDate>Sat, 18 Nov 2023 21:29:07 GMT</pubDate>
</item>
</channel>
</rss>
28 changes: 28 additions & 0 deletions docs/site_libs/dt-core-1.12.1/css/jquery.dataTables.extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/* Selected rows/cells */
table.dataTable tr.selected td, table.dataTable td.selected {
background-color: #b0bed9 !important;
}
/* In case of scrollX/Y or FixedHeader */
.dataTables_scrollBody .dataTables_sizing {
visibility: hidden;
}

/* The datatables' theme CSS file doesn't define
the color but with white background. It leads to an issue that
when the HTML's body color is set to 'white', the user can't
see the text since the background is white. One case happens in the
RStudio's IDE when inline viewing the DT table inside an Rmd file,
if the IDE theme is set to "Cobalt".
See https://github.com/rstudio/DT/issues/447 for more info
This fixes should have little side-effects because all the other elements
of the default theme use the #333 font color.
TODO: The upstream may use relative colors for both the table background
and the color. It means the table can display well without this patch
then. At that time, we need to remove the below CSS attributes.
*/
div.datatables {
color: #333;
}

Large diffs are not rendered by default.

192 changes: 192 additions & 0 deletions docs/site_libs/dt-core-1.12.1/js/jquery.dataTables.min.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
table.dataTable th.dt-left,
table.dataTable td.dt-left {
text-align: left;
}
table.dataTable th.dt-center,
table.dataTable td.dt-center,
table.dataTable td.dataTables_empty {
text-align: center;
}
table.dataTable th.dt-right,
table.dataTable td.dt-right {
text-align: right;
}
table.dataTable th.dt-justify,
table.dataTable td.dt-justify {
text-align: justify;
}
table.dataTable th.dt-nowrap,
table.dataTable td.dt-nowrap {
white-space: nowrap;
}
table.dataTable thead th.dt-head-left,
table.dataTable thead td.dt-head-left,
table.dataTable tfoot th.dt-head-left,
table.dataTable tfoot td.dt-head-left {
text-align: left;
}
table.dataTable thead th.dt-head-center,
table.dataTable thead td.dt-head-center,
table.dataTable tfoot th.dt-head-center,
table.dataTable tfoot td.dt-head-center {
text-align: center;
}
table.dataTable thead th.dt-head-right,
table.dataTable thead td.dt-head-right,
table.dataTable tfoot th.dt-head-right,
table.dataTable tfoot td.dt-head-right {
text-align: right;
}
table.dataTable thead th.dt-head-justify,
table.dataTable thead td.dt-head-justify,
table.dataTable tfoot th.dt-head-justify,
table.dataTable tfoot td.dt-head-justify {
text-align: justify;
}
table.dataTable thead th.dt-head-nowrap,
table.dataTable thead td.dt-head-nowrap,
table.dataTable tfoot th.dt-head-nowrap,
table.dataTable tfoot td.dt-head-nowrap {
white-space: nowrap;
}
table.dataTable tbody th.dt-body-left,
table.dataTable tbody td.dt-body-left {
text-align: left;
}
table.dataTable tbody th.dt-body-center,
table.dataTable tbody td.dt-body-center {
text-align: center;
}
table.dataTable tbody th.dt-body-right,
table.dataTable tbody td.dt-body-right {
text-align: right;
}
table.dataTable tbody th.dt-body-justify,
table.dataTable tbody td.dt-body-justify {
text-align: justify;
}
table.dataTable tbody th.dt-body-nowrap,
table.dataTable tbody td.dt-body-nowrap {
white-space: nowrap;
}
.table.dataTable tbody td.active, .table.dataTable tbody tr.active td {
background-color: #007bff;
color: white;
}
.dataTables_scrollBody .dataTables_sizing {
visibility: hidden;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 160c762

Please sign in to comment.