@@ -3,8 +3,83 @@ title: "Turing Libraries"
3
3
search : false
4
4
toc : false
5
5
include-in-header :
6
- - text : |
7
- <style>a {text-decoration: none;}a:hover {text-decoration: underline;}</style>
6
+ - text : |
7
+ <style>
8
+ /* links */
9
+ a { text-decoration: none; }
10
+ a:hover { text-decoration: underline; }
11
+ </style>
12
+
13
+ <style>
14
+ /* responsive wrapper */
15
+ .table-responsive {
16
+ overflow-x: auto;
17
+ margin-bottom: 1rem;
18
+ }
19
+
20
+ /* default (light-mode) table styling */
21
+ .packages-table {
22
+ width: 100%;
23
+ border-collapse: collapse;
24
+ background-color: #ffffff;
25
+ color: #212529;
26
+ }
27
+ .packages-table th,
28
+ .packages-table td {
29
+ padding: 0.75rem 1rem;
30
+ text-align: left;
31
+ border-bottom: 1px solid #eee;
32
+ }
33
+ .packages-table thead {
34
+ background-color: #f8f8f8;
35
+ }
36
+ .packages-table tbody tr:nth-child(odd) {
37
+ background-color: #fafafa;
38
+ }
39
+ .packages-table tbody tr:hover {
40
+ background-color: #eef9ff;
41
+ }
42
+ .packages-table th {
43
+ font-weight: 600;
44
+ }
45
+
46
+ /* deprecated badge */
47
+ .badge.deprecated {
48
+ display: inline-block;
49
+ margin-left: 0.5em;
50
+ padding: 0.2em 0.4em;
51
+ font-size: 0.75em;
52
+ font-weight: 600;
53
+ color: #721c24;
54
+ background-color: #f8d7da;
55
+ border-radius: 0.2em;
56
+ }
57
+ </style>
58
+
59
+ <style>
60
+ /* dark-mode overrides, tied to Quarto’s theme toggle */
61
+ html[data-theme="dark"] .packages-table {
62
+ background-color: #131818;
63
+ color: #bcbcbc;
64
+ }
65
+ html[data-theme="dark"] .packages-table th,
66
+ html[data-theme="dark"] .packages-table td {
67
+ border-bottom-color: #495057;
68
+ }
69
+ html[data-theme="dark"] .packages-table thead {
70
+ background-color: #373a3c;
71
+ }
72
+ html[data-theme="dark"] .packages-table tbody tr:nth-child(odd) {
73
+ background-color: #1c1c1c;
74
+ }
75
+ html[data-theme="dark"] .packages-table tbody tr:hover {
76
+ background-color: #25343d;
77
+ }
78
+ html[data-theme="dark"] .badge.deprecated {
79
+ color: #f8d7da;
80
+ background-color: #721c24;
81
+ }
82
+ </style>
8
83
listing :
9
84
- id : libraries-main
10
85
template : table.ejs
0 commit comments