This file is indexed.

/usr/share/doc/texinfo/html/HTML-CSS.html is in texinfo-doc-nonfree 4.13a-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<html lang="en">
<head>
<title>HTML CSS - GNU Texinfo 4.13</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="GNU Texinfo 4.13">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Generating-HTML.html#Generating-HTML" title="Generating HTML">
<link rel="prev" href="HTML-Splitting.html#HTML-Splitting" title="HTML Splitting">
<link rel="next" href="HTML-Xref.html#HTML-Xref" title="HTML Xref">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
This manual is for GNU Texinfo (version 4.13, 18 September 2008),
a documentation system that can produce both online information and a
printed manual from a single source.

Copyright (C) 1988, 1990, 1991, 1992, 1993, 1995, 1996, 1997,
1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
Free Software Foundation, Inc.

     Permission is granted to copy, distribute and/or modify this
     document under the terms of the GNU Free Documentation License,
     Version 1.2 or any later version published by the Free Software
     Foundation; with no Invariant Sections, with the Front-Cover Texts
     being ``A GNU Manual'', and with the Back-Cover Texts as in (a)
     below.  A copy of the license is included in the section entitled
     ``GNU Free Documentation License.''

     (a) The FSF's Back-Cover Text is: ``You are free to copy and modify
     this GNU Manual.  Buying copies from GNU Press supports the FSF in
     developing GNU and promoting software freedom.''
  -->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
  pre.display { font-family:inherit }
  pre.format  { font-family:inherit }
  pre.smalldisplay { font-family:inherit; font-size:smaller }
  pre.smallformat  { font-family:inherit; font-size:smaller }
  pre.smallexample { font-size:smaller }
  pre.smalllisp    { font-size:smaller }
  span.sc    { font-variant:small-caps }
  span.roman { font-family:serif; font-weight:normal; } 
  span.sansserif { font-family:sans-serif; font-weight:normal; } 
--></style>
</head>
<body>
<div class="node">
<a name="HTML-CSS"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="HTML-Xref.html#HTML-Xref">HTML Xref</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="HTML-Splitting.html#HTML-Splitting">HTML Splitting</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Generating-HTML.html#Generating-HTML">Generating HTML</a>
<hr>
</div>

<h3 class="section">22.3 HTML CSS</h3>

<p><a name="index-HTML_002c-and-CSS-1367"></a><a name="index-CSS_002c-and-HTML-output-1368"></a><a name="index-Cascading-Style-Sheets_002c-and-HTML-output-1369"></a>
Cascading Style Sheets (CSS for short) is an Internet standard for
influencing the display of HTML documents: see
<a href="http://www.w3.org/Style/CSS/">http://www.w3.org/Style/CSS/</a>.

  <p>By default, <samp><span class="command">makeinfo</span></samp> includes a few simple CSS commands to
better implement the appearance of some of the environments.  Here
are two of them, as an example:

<pre class="example">     pre.display { font-family:inherit }
     pre.smalldisplay { font-family:inherit; font-size:smaller }
</pre>
  <p>A full explanation of CSS is (far) beyond this manual; please see the
reference above.  In brief, however, this specification tells the web
browser to use a `smaller' font size for <code>@smalldisplay</code> text,
and to use the `inherited' font (generally a regular roman typeface)
for both <code>@smalldisplay</code> and <code>@display</code>.  By default, the
HTML &lsquo;<samp><span class="samp">&lt;pre&gt;</span></samp>&rsquo; command uses a monospaced font.

  <p>You can influence the CSS in the HTML output with two
<samp><span class="command">makeinfo</span></samp> options: <samp><span class="option">--css-include=</span><var>file</var></samp> and
<samp><span class="option">--css-ref=</span><var>url</var></samp>.

  <p>The option <samp><span class="option">--css-ref=</span><var>url</var></samp> adds to each output HTML file
a &lsquo;<samp><span class="samp">&lt;link&gt;</span></samp>&rsquo; tag referencing a CSS at the given <var>url</var>. This
allows using external style sheets.

  <p>The option <samp><span class="option">--css-include=</span><var>file</var></samp> includes the contents
<var>file</var> in the HTML output, as you might expect.  However, the
details are somewhat tricky, as described in the following, to provide
maximum flexibility.

  <p><a name="index-g_t_0040_0040import-specifications_002c-in-CSS-files-1370"></a>The CSS file may begin with so-called &lsquo;<samp><span class="samp">@import</span></samp>&rsquo; directives,
which link to external CSS specifications for browsers to use when
interpreting the document.  Again, a full description is beyond our
scope here, but we'll describe how they work syntactically, so we can
explain how <samp><span class="command">makeinfo</span></samp> handles them.

  <p><a name="index-Comments_002c-in-CSS-files-1371"></a>There can be more than one &lsquo;<samp><span class="samp">@import</span></samp>&rsquo;, but they have to come
first in the file, with only whitespace and comments interspersed, no
normal definitions.  (Technical exception: an &lsquo;<samp><span class="samp">@charset</span></samp>&rsquo;
directive may precede the &lsquo;<samp><span class="samp">@import</span></samp>&rsquo;'s.  This does not alter
<samp><span class="command">makeinfo</span></samp>'s behavior, it just copies the &lsquo;<samp><span class="samp">@charset</span></samp>&rsquo; if
present.)  Comments in CSS files are delimited by &lsquo;<samp><span class="samp">/* ... */</span></samp>&rsquo;, as
in C.  An &lsquo;<samp><span class="samp">@import</span></samp>&rsquo; directive must be in one of these two forms:

<pre class="example">     @import url(http://example.org/foo.css);
     @import "http://example.net/bar.css";
</pre>
  <p>As far as <samp><span class="command">makeinfo</span></samp> is concerned, the crucial characters are
the &lsquo;<samp><span class="samp">@</span></samp>&rsquo; at the beginning and the semicolon terminating the
directive.  When reading the CSS file, it simply copies any such
&lsquo;<samp><span class="samp">@</span></samp>&rsquo;-directive into the output, as follows:

     <ul>
<li>If <var>file</var> contains only normal CSS declarations, it is
included after <samp><span class="command">makeinfo</span></samp>'s default CSS, thus overriding it.

     <li>If <var>file</var> begins with &lsquo;<samp><span class="samp">@import</span></samp>&rsquo; specifications (see
below), then the &lsquo;<samp><span class="samp">import</span></samp>&rsquo;'s are included first (they have to come
first, according to the standard), and then <samp><span class="command">makeinfo</span></samp>'s
default CSS is included.  If you need to override <samp><span class="command">makeinfo</span></samp>'s
defaults from an &lsquo;<samp><span class="samp">@import</span></samp>&rsquo;, you can do so with the &lsquo;<samp><span class="samp">! 
important</span></samp>&rsquo; CSS construct, as in:
     <pre class="example">          pre.smallexample { font-size: inherit ! important }
</pre>
     <li>If <var>file</var> contains both &lsquo;<samp><span class="samp">@import</span></samp>&rsquo; and inline CSS
specifications, the &lsquo;<samp><span class="samp">@import</span></samp>&rsquo;'s are included first, then
<samp><span class="command">makeinfo</span></samp>'s defaults, and lastly the inline CSS from
<var>file</var>.

     <li>Any @-directive other than &lsquo;<samp><span class="samp">@import</span></samp>&rsquo; and &lsquo;<samp><span class="samp">@charset</span></samp>&rsquo;
is treated as a CSS declaration, meaning <samp><span class="command">makeinfo</span></samp> includes
its default CSS and then the rest of the file.

  </ul>

  <p>If the CSS file is malformed or erroneous, <samp><span class="command">makeinfo</span></samp>'s output
is unspecified.  <samp><span class="command">makeinfo</span></samp> does not try to interpret the
meaning of the CSS file in any way; it just looks for the special
&lsquo;<samp><span class="samp">@</span></samp>&rsquo; and &lsquo;<samp><span class="samp">;</span></samp>&rsquo; characters and blindly copies the text into the
output.  Comments in the CSS file may or may not be included in the
output.

  </body></html>