diff options
| author | 2024-02-18 11:51:10 +0000 | |
|---|---|---|
| committer | 2024-02-18 11:51:10 +0000 | |
| commit | b31636072338d2879b528258de8accf4a66c68d3 (patch) | |
| tree | a1fa4ba9a199c265bef5239e78b8a1a50edb7ab0 /css/neoteroi-spantable.css | |
| download | TRPGNivis-gh-pages.tar.gz TRPGNivis-gh-pages.zip | |
Deployed 9b916be with MkDocs version: 1.5.3gh-pages
Diffstat (limited to 'css/neoteroi-spantable.css')
| -rw-r--r-- | css/neoteroi-spantable.css | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/css/neoteroi-spantable.css b/css/neoteroi-spantable.css new file mode 100644 index 0000000..be069a8 --- /dev/null +++ b/css/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; +} |
