It *appears* that in Scribble, the color of a table's borders (e.g., 
bottom-border) is fixed: e.g.,

<td style="border-bottom: 1px solid black;"><p>5</p></td>

generated from a program such as

@tabular[#:sep @hspace[2]
         #:row-properties '(() () bottom-border ())
#:style (style "LongMult" null)

I haven't had any luck coming up with the right CSS incantation that would 
let me override exactly that black and not change anything else.

Yes, I can tag these with a style, as above, which translates into a class 
name. But because the black setting is most deeply nested, I can't seem to 
change it at all. For instance,

.LongMult {
    border-bottom: 1px solid red;
}

*adds* a new red bottom border for the whole table while leaving the 
intermediate black one intact, while 

.LongMult td {
    border-bottom: 1px solid red;
}

adds a red bottom border to every row *except* the one that is black (since 
the generated code presumably overrides the outer CSS). It feels like 
perhaps this should have been a named and modifiable class in scribble.css 
rather than a hard-coded constant?

(My central problem is I have a site that is in "dark mode", so the black 
essentially disappears against the background. So the need to change this 
color is a functional one, not just aesthetic.)

Any ideas? Thanks!

Shriram

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/09e8a87b-3532-491f-a297-635d07d6ed9dn%40googlegroups.com.

Reply via email to