mirror of
https://github.com/eatcodeplay/obsidian-simple-banner.git
synced 2026-07-22 05:48:13 +00:00
30 lines
1.1 KiB
CSS
30 lines
1.1 KiB
CSS
/* -------------------------------
|
|
Source / Live View Styles
|
|
------------------------------- */
|
|
|
|
/* Styles the cells of a table with calculated values */
|
|
div.markdown-rendered table.table-editor tr > td.stm-cell.stm-value,
|
|
div.markdown-rendered table.table-editor tr > td.stm-cell > .stm-value {
|
|
padding: var(--size-2-2) var(--size-4-2); /* must be the same as the original .table-cell-wrapper */
|
|
font-weight: calc(var(--font-weight) + var(--bold-modifier));
|
|
}
|
|
|
|
/* Styles the last row of a table with calculated values */
|
|
div.markdown-rendered table.table-editor tr.stm-row:last-of-type:not(.off) {
|
|
background-color: var(--background-secondary);
|
|
}
|
|
|
|
/* -------------------------------
|
|
Reading View Styles
|
|
------------------------------- */
|
|
|
|
/* Styles the cells of a table with calculated values */
|
|
div.el-table > table tr.stm-row > td.stm-cell.stm-value,
|
|
div.el-table > table tr.stm-row > td.stm-cell > .stm-value {
|
|
font-weight: calc(var(--font-weight) + var(--bold-modifier));
|
|
}
|
|
|
|
/* Styles the last row of a table with calculated values */
|
|
div.el-table > table tr.stm-row:last-of-type:not(.off) {
|
|
background-color: var(--background-secondary);
|
|
}
|