9 Commits

Author SHA1 Message Date
0452c5fcf0 0.2.1
All checks were successful
Build and test / build-and-test (18.x) (push) Successful in 1m13s
Build and test / build-and-test (20.x) (push) Successful in 18s
2025-04-20 13:18:15 -07:00
2636e42533 0.1.12
All checks were successful
Build and test / build-and-test (18.x) (push) Successful in 2m23s
Build and test / build-and-test (20.x) (push) Successful in 2m28s
2023-11-27 14:11:44 -08:00
1a09a51780 revert to color override; text not high-contrast enough on like backgrounds
Some checks failed
Build and test / build-and-test (20.x) (push) Waiting to run
Build and test / build-and-test (18.x) (push) Has been cancelled
2023-11-27 14:11:30 -08:00
beb80145a4 0.1.11
All checks were successful
Build and test / build-and-test (18.x) (push) Successful in 2m39s
Build and test / build-and-test (20.x) (push) Successful in 2m33s
2023-11-27 13:58:56 -08:00
0076cbb971 do not override text color if its already being set 2023-11-27 13:58:47 -08:00
bd9945b24b 0.1.10
All checks were successful
Build and test / build-and-test (18.x) (push) Successful in 2m47s
Build and test / build-and-test (20.x) (push) Successful in 2m13s
2023-11-27 11:41:21 -08:00
760af891c5 remove inline-flex from a default styles 2023-11-27 11:41:16 -08:00
f8b15f0ff4 0.1.9
All checks were successful
Build and test / build-and-test (18.x) (push) Successful in 7m55s
Build and test / build-and-test (20.x) (push) Successful in 3m11s
2023-11-26 21:46:01 -08:00
20e585e708 change table class names to avoid collision with prism highlighting 2023-11-26 21:45:55 -08:00
4 changed files with 20 additions and 18 deletions

View File

@@ -58,6 +58,7 @@ figure[data-lang].big svg {
max-height: none !important; max-height: none !important;
} */ } */
/* figure:is([data-lang='pikchr'], [data-lang='nomnoml'], [data-lang='bytefield']) svg text:not([fill^='var']) { */
figure:is([data-lang='pikchr'], [data-lang='nomnoml'], [data-lang='bytefield']) svg text { figure:is([data-lang='pikchr'], [data-lang='nomnoml'], [data-lang='bytefield']) svg text {
fill: var(--theme-text-body); fill: var(--theme-text-body);
} }

View File

@@ -94,7 +94,7 @@ del {
a { a {
font-family: inherit; font-family: inherit;
color: var(--theme-text-link); color: var(--theme-text-link);
display: inline-flex; display: inline;
align-items: center; align-items: center;
column-gap: 0.2rem; column-gap: 0.2rem;
} }
@@ -109,7 +109,8 @@ a:visited {
color: var(--theme-text-link-visited); color: var(--theme-text-link-visited);
} }
a.icon-link { a.icon-link,
a.inline-flex {
display: inline-flex; display: inline-flex;
column-gap: 0.3rem; column-gap: 0.3rem;
align-items: center; align-items: center;
@@ -192,64 +193,64 @@ mark {
/* ===== Tables ===== */ /* ===== Tables ===== */
table, .table, td, .td { table, .faux-table, td, .faux-td {
color: var(--theme-text-body); color: var(--theme-text-body);
font-family: var(--font-body); font-family: var(--font-body);
} }
table, .table { table, .faux-table {
display: table; display: table;
margin-block: 2rem; margin-block: 2rem;
border-collapse: collapse; border-collapse: collapse;
} }
table, th, td, table, th, td,
.table, .th, .td { .faux-table, .faux-th, .faux-td {
font-size: 1rem; font-size: 1rem;
line-height: 1.75; line-height: 1.75;
} }
thead, .thead { thead, .faux-thead {
display: table-header-group; display: table-header-group;
} }
tbody, .tbody { tbody, .faux-tbody {
display: table-row-group; display: table-row-group;
} }
tbody tr, tbody tr,
.tbody .tr { .faux-tbody .faux-tr {
border-top: 1px var(--theme-line) solid; border-top: 1px var(--theme-line) solid;
} }
tr, .tr { tr, .faux-tr {
display: table-row; display: table-row;
} }
th, .th { th, .faux-th {
text-align: center; text-align: center;
font-weight: 700; font-weight: 700;
color: var(--theme-text-heading); color: var(--theme-text-heading);
} }
th, .th, th, .faux-th,
td, .td { td, .faux-td {
padding-block: 0.5rem; padding-block: 0.5rem;
padding-inline: 1rem; padding-inline: 1rem;
display: table-cell; display: table-cell;
} }
td, .td { td, .faux-td {
display: table-cell; display: table-cell;
font-weight: 300; font-weight: 300;
vertical-align: top; vertical-align: top;
} }
:is(td, .td):not(:last-of-type) { :is(td, .faux-td):not(:last-of-type) {
border-inline-end: 0.1rem solid var(--theme-line); border-inline-end: 0.1rem solid var(--theme-line);
} }
:is(table, .table) :is(input, select) { :is(table, .faux-table) :is(input, select) {
margin-block: 0; margin-block: 0;
} }

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "@doc-utils/docs2website", "name": "@doc-utils/docs2website",
"version": "0.1.8", "version": "0.2.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@doc-utils/docs2website", "name": "@doc-utils/docs2website",
"version": "0.1.8", "version": "0.2.1",
"dependencies": { "dependencies": {
"@doc-utils/color-themes": "^0.2.0", "@doc-utils/color-themes": "^0.2.0",
"@doc-utils/jsonschema2markdown": "^0.1.1", "@doc-utils/jsonschema2markdown": "^0.1.1",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@doc-utils/docs2website", "name": "@doc-utils/docs2website",
"version": "0.1.8", "version": "0.2.1",
"publishConfig": { "publishConfig": {
"registry": "https://gitea.jbrumond.me/api/packages/doc-utils/npm/" "registry": "https://gitea.jbrumond.me/api/packages/doc-utils/npm/"
}, },