Add some info about CSS stylesheets.
This commit is contained in:
parent
ab06efc7f1
commit
dc54c20da7
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=9878
1 changed files with 24 additions and 3 deletions
|
@ -27,7 +27,7 @@
|
|||
ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
$FreeBSD$
|
||||
$FreeBSD: doc/en_US.ISO8859-1/books/fdp-primer/stylesheets/chapter.sgml,v 1.4 1999/09/06 06:52:42 peter Exp $
|
||||
-->
|
||||
|
||||
<chapter id="stylesheets">
|
||||
|
@ -63,9 +63,30 @@
|
|||
</sect1>
|
||||
|
||||
<sect1>
|
||||
<title>* CSS</title>
|
||||
<title>CSS</title>
|
||||
|
||||
<para></para>
|
||||
<para>Cascacding Stylesheets (CSS) are a mechanism for attaching style
|
||||
information (font, weight, size, color, and so forth) to elements in an
|
||||
HTML document without abusing HTML to do so.</para>
|
||||
|
||||
<sect2>
|
||||
<title>The Web site (HTML documents)</title>
|
||||
|
||||
<para>The FreeBSD web site does not currently use CSS. Unfortunately,
|
||||
the look and feel is constructed using abuses of HTML of varying
|
||||
degrees. This should be fixed, and would be a good project for
|
||||
someone looking to contribute to the documentation project.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>The DocBook documents</title>
|
||||
|
||||
<para>The FreeBSD DSSSL stylesheets include a reference to a stylesheet,
|
||||
<filename>docbook.css</filename>, which is expected to appear in the
|
||||
same directory as the HTML files. The project-wide CSS file is copied
|
||||
from <filename>doc/share/misc/docbook.css</filename> when documents
|
||||
are converted to HTML, and is installed automatically.</para>
|
||||
</sect2>
|
||||
</sect1>
|
||||
</chapter>
|
||||
|
||||
|
|
Loading…
Reference in a new issue