summaryrefslogtreecommitdiffstatshomepage
path: root/dev/stylesheets/neoteroi-spantable.css
diff options
context:
space:
mode:
authorGitHub Action <action@github.com>2023-10-06 22:59:21 +0000
committerGitHub Action <action@github.com>2023-10-06 22:59:21 +0000
commitdfa4989a90e3631b7757639d4dccf84fa9ee029c (patch)
tree25f07bef63f9144f664e773d089620fdc0cc705f /dev/stylesheets/neoteroi-spantable.css
parentfb40e7c2fc5aa00bd7d066abfc9fb25c26c5a299 (diff)
downloadinfini-dfa4989a90e3631b7757639d4dccf84fa9ee029c.tar.gz
infini-dfa4989a90e3631b7757639d4dccf84fa9ee029c.zip
Deployed 77edb63 to dev with MkDocs 1.5.3 and mike 1.1.2
Diffstat (limited to 'dev/stylesheets/neoteroi-spantable.css')
-rw-r--r--dev/stylesheets/neoteroi-spantable.css56
1 files changed, 56 insertions, 0 deletions
diff --git a/dev/stylesheets/neoteroi-spantable.css b/dev/stylesheets/neoteroi-spantable.css
new file mode 100644
index 00000000..be069a85
--- /dev/null
+++ b/dev/stylesheets/neoteroi-spantable.css
@@ -0,0 +1,56 @@
+/**
+ * Extra CSS file recommended for MkDocs and neoteroi.spantable extension.
+ *
+ * https://github.com/Neoteroi/mkdocs-plugins
+**/
+.span-table-wrapper table {
+ border-collapse: collapse;
+ margin-bottom: 2rem;
+ border-radius: 0.1rem;
+}
+
+.span-table td,
+.span-table th {
+ padding: 0.2rem;
+ background-color: var(--md-default-bg-color);
+ font-size: 0.64rem;
+ max-width: 100%;
+ overflow: auto;
+ touch-action: auto;
+ border-top: 0.05rem solid var(--md-typeset-table-color);
+ padding: 0.9375em 1.25em;
+ vertical-align: top;
+}
+
+.span-table tr:first-child td {
+ font-weight: 700;
+ min-width: 5rem;
+ padding: 0.9375em 1.25em;
+ vertical-align: top;
+}
+
+.span-table td:first-child {
+ border-left: 0.05rem solid var(--md-typeset-table-color);
+}
+
+.span-table td:last-child {
+ border-right: 0.05rem solid var(--md-typeset-table-color);
+}
+
+.span-table tr:last-child {
+ border-bottom: 0.05rem solid var(--md-typeset-table-color);
+}
+
+.span-table [colspan],
+.span-table [rowspan] {
+ font-weight: bold;
+ border: 0.05rem solid var(--md-typeset-table-color);
+}
+
+.span-table tr:not(:first-child):hover td:not([colspan]):not([rowspan]),
+.span-table td[colspan]:hover,
+.span-table td[rowspan]:hover {
+ background-color: rgba(0, 0, 0, 0.035);
+ box-shadow: 0 0.05rem 0 var(--md-default-bg-color) inset;
+ transition: background-color 125ms;
+}