xiasummer
(xiasummer)
22 Marzo 2021, 2:15am
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 Mi Piace
jomaxro
(Joshua Rosenfeld)
22 Marzo 2021, 2:48am
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 Mi Piace
system
(system)
Chiuso
11 Ottobre 2022, 12:32am
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.