1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

contrib/user.css: Documentation improvement

In contrib/user.css, point out that document.colors.use_document_colors
must be enabled for colors to work and ELinks must be compiled with
--enable-html-highlighting for HTML highlighting to work.
This commit is contained in:
Simon Ruderich 2010-08-11 17:07:19 +00:00 committed by Miciah Dashiel Butler Masters
parent 885ffc9d40
commit d4b008312a
2 changed files with 8 additions and 2 deletions

View File

@ -555,6 +555,9 @@ Simen Graaten <simeng@slarkware.com>
Simon Josefsson <simon@josefsson.org>
GnuTLS improvements
Simon Ruderich <simon@ruderich.org>
Minor documentation updates
Simon Wilkinson <simon@sxw.org.uk>
Support for X509 client certificates

View File

@ -2,7 +2,9 @@
* document.css.stylesheet to "user.css". If you prefer another directory
* or filename, put the appropriate pathname in document.css.stylesheet.
* ELinks will assume that the path is relative to the its configuration
* directory if it does not begin with a slash. */
* directory if it does not begin with a slash.
*
* To use colors document.colors.use_document_colors must be set to 1 or 2! */
body {
/* Don't like the default colours? No problem: */
@ -39,7 +41,8 @@ h1 {
color: lightgoldenrod !important;
}
/* The following specifies colors used in the HTML highlighting. */
/* The following specifies colors used in the HTML highlighting. Elinks must
* be compiled with --enable-html-highlight to use them. */
document { color: yellow }
element { color: lightgreen }
entity-reference { color: red }