mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-03 08:07:17 -05:00
d4b008312a
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.
53 lines
1.4 KiB
CSS
53 lines
1.4 KiB
CSS
/* To use these examples, copy this file to ~/.elinks/ and set
|
|
* 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.
|
|
*
|
|
* To use colors document.colors.use_document_colors must be set to 1 or 2! */
|
|
|
|
body {
|
|
/* Don't like the default colours? No problem: */
|
|
color: #000;
|
|
background: #666;
|
|
}
|
|
|
|
blockquote {
|
|
/* Make block quotations really stand out: */
|
|
color: blue !important;
|
|
}
|
|
|
|
p {
|
|
/* Indent the first line of each paragraph: */
|
|
/* (ELinks does not yet support this.) */
|
|
text-indent: 0.5in !important;
|
|
|
|
/* Double-spaced lines: */
|
|
/* (ELinks does not yet support this.) */
|
|
line-height: 200% !important;
|
|
|
|
/* Justify text. */
|
|
text-align: justify !important;
|
|
}
|
|
|
|
h1 {
|
|
/* Don't centre the text: */
|
|
text-align: left !important;
|
|
|
|
/* Underline it instead: */
|
|
font-style: underline !important;
|
|
|
|
/* Further, give it a pretty colour: */
|
|
color: lightgoldenrod !important;
|
|
}
|
|
|
|
/* 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 }
|
|
proc-instruction { color: red }
|
|
attribute { color: magenta }
|
|
comment { color: aqua }
|
|
cdata-section { color: orange2 }
|