有什么好方法能让表格更好看吗?

当然,站点管理员可以添加主题来修改表格的外观。例如,可以使用以下代码将表头设置为蓝色背景并配以白色文字:

.cooked table thead th, .d-editor-preview table thead th {
    background: dodgerblue;
    color: white;
}

以下代码则会在单元格的左右两侧添加边框:

.cooked table td, .d-editor-preview table td {
    border-right: 1px solid var(--primary-low);
    border-left: 1px solid var(--primary-low);
}

13 个赞