mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-07 08:21:33 -04:00
doc/css: adjust code and userinput styles
I don't know why <code> was defined to be bold, it looks bad to me. The same with <synopsis> which would inherit bold from <dt> when used inside a variablelist term. So, to make the code snippets look better, force them to use normal weight. <userinput> should differentiate from normal code somehow, and italic seems fine for it. <literal> already has bold, and I think it's fine, so no need to touch it. These changes are mainly for the new XML dialect documentation chapter. I didn't notice anything changing for the older or generated parts of the docs. Signed-off-by: Pekka Paalanen <pq@iki.fi>
This commit is contained in:
parent
95c6014a7f
commit
8b102c3bc4
1 changed files with 9 additions and 1 deletions
|
|
@ -860,7 +860,7 @@ code {
|
||||||
font-family:"liberation mono", "bitstream vera mono", "dejavu mono", monospace;
|
font-family:"liberation mono", "bitstream vera mono", "dejavu mono", monospace;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
font-weight:bold;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.parameter code {
|
.parameter code {
|
||||||
|
|
@ -878,6 +878,14 @@ code.email {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.synopsis {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.userinput {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
/*Notifications*/
|
/*Notifications*/
|
||||||
div.warning, div.note, div.important {
|
div.warning, div.note, div.important {
|
||||||
color: black;
|
color: black;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue