File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,16 @@ th { text-align: left;
4242.field , .field2 {
4343 margin : 0em 0 ;
4444 padding : .5em .7em .7em ;
45+ /**
46+ * doc/layouts/partials/content.html generates tables with alternating
47+ * field and field2 for the rows of the XenAPI Class Reference tables.
48+ * Their background colours are hard-coded to bright colours here, but the
49+ * colors are not adjusted for dark mode. We cannot use the theme colours
50+ * in this case. Thus we have to hard-code the colours for now. Ergo, also
51+ * hard-code the text colour to ensure that it has contrast in dark mode too.
52+ * Only shades of grey are used, so the text colour is hard-coded to black.
53+ */
54+ color : black;
4555 background-color : # dddddd ;
4656 cursor : pointer;
4757 font-size : 15px ;
You can’t perform that action at this time.
0 commit comments