Files
tplate/web/styles/base/table.css
Hubert Chen 42801273e9 style, yaml post, atom and sitemap
style:
    add `margin-block` to `table`
    add inherit `text-decoration` to a sub-elements
    add `margin-block` to post info `p` tag
    updated date display as another line in post info
yaml post:
    re-add markdown body parse support
atom and sitemap:
    add `ShowInRSSAndSitema` flag in FrontMatter to allow show hidden post info in atom and sitemap
2025-10-24 16:42:06 +08:00

33 lines
602 B
CSS

table {
display: block;
overflow-x: auto;
max-width: fit-content;
word-break: keep-all;
scrollbar-color: var(--code-color) transparent;
background-color: var(--blockquote-bg-color);
border: var(--code-bg-color) solid 2px;
border-spacing: 0;
border-radius: var(--border-radius);
box-sizing: border-box;
margin-block: 1em;
}
th, td {
padding: .5em .5em;
border: var(--code-bg-color) solid 1px;
border-inline-start: none;
box-sizing: border-box;
}
th:last-child, td:last-child {
border-right: none;
}
th {
border-block-start: none;
}
td {
border-block-end: none;
}