xiasummer
(xiasummer)
22. März 2021 um 02:15
1
Hi everyone,
I was using discourse and showdoc at the sample time.
I think the showdoc table is very beautiful, but the discourse is not so “clear”.
The showdoc table has a blue head, like below
But in Discourse, it is not so clear, not separable to other texts, like below.
Do we have a way to make the table in Discourse more beautiful? Like also have a blue header.
3 „Gefällt mir“
jomaxro
(Joshua Rosenfeld)
22. März 2021 um 02:48
2
Sure, a site admin could add a theme to modify the look of a table. For example, something like this could be used to make the header blue with white text:
.cooked table thead th, .d-editor-preview table thead th {
background: dodgerblue;
color: white;
}
And the following would add borders on the left and right of the cells:
.cooked table td, .d-editor-preview table td {
border-right: 1px solid var(--primary-low);
border-left: 1px solid var(--primary-low);
}
13 „Gefällt mir“
system
(system)
Geschlossen,
11. Oktober 2022 um 00:32
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.