mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-04 04:06:16 -05: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;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
font-weight:bold;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.parameter code {
|
||||
|
|
@ -878,6 +878,14 @@ code.email {
|
|||
|
||||
}
|
||||
|
||||
.synopsis {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.userinput {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/*Notifications*/
|
||||
div.warning, div.note, div.important {
|
||||
color: black;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue