svn commit: r46253 - in head/en_US.ISO8859-1/htdocs/releases: 10.0R 10.1R 8.4R 9.3R
Glen Barber
gjb at FreeBSD.org
Thu Feb 5 16:55:04 UTC 2015
Author: gjb
Date: Thu Feb 5 16:55:02 2015
New Revision: 46253
URL: https://svnweb.freebsd.org/changeset/doc/46253
Log:
Synchronize the docbook.css stylesheet with what exists
in the doc/ tree, which fixes a number of rendering nits.
This is only being done for releases that are supported.
Sponsored by: The FreeBSD Foundation
Modified:
head/en_US.ISO8859-1/htdocs/releases/10.0R/docbook.css
head/en_US.ISO8859-1/htdocs/releases/10.1R/docbook.css
head/en_US.ISO8859-1/htdocs/releases/8.4R/docbook.css
head/en_US.ISO8859-1/htdocs/releases/9.3R/docbook.css
Modified: head/en_US.ISO8859-1/htdocs/releases/10.0R/docbook.css
==============================================================================
--- head/en_US.ISO8859-1/htdocs/releases/10.0R/docbook.css Thu Feb 5 16:33:38 2015 (r46252)
+++ head/en_US.ISO8859-1/htdocs/releases/10.0R/docbook.css Thu Feb 5 16:55:02 2015 (r46253)
@@ -26,183 +26,378 @@
* $FreeBSD$
*/
-BODY ADDRESS {
- line-height: 1.3;
- margin: .6em 0;
+/*
+ * General DocBook styles from the DocBook XSL distribution
+ */
+
+.formalpara-title {
+ font-weight: bold;
+}
+
+a:link {
+ color:#0645AD;
+ text-decoration: underline;
+}
+
+a:visited, a:hover, a:active {
+ color:#663366;
+ text-decoration: underline;
+}
+
+div.blockquote-title {
+ font-weight: bold;
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+span.msgmain-title {
+ font-weight: bold;
+}
+
+span.msgsub-title {
+ font-weight: bold;
+}
+
+span.msgrel-title {
+ font-weight: bold;
+}
+
+div.msglevel, div.msgorig, div.msgaud {
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+span.msglevel-title, span.msgorig-title, span.msgaud-title {
+ font-weight: bold;
+}
+
+div.msgexplan {
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+span.msgexplan-title {
+ font-weight: bold;
}
-BODY BLOCKQUOTE {
- margin-top: .75em;
- line-height: 1.5;
- margin-bottom: .75em;
+div.figure-title {
+ font-weight: bold;
}
-HTML BODY {
+div.example-title {
+ font-weight: bold;
+}
+
+div.equation-title {
+ font-weight: bold;
+}
+
+div.table-title {
+ font-weight: bold;
+}
+
+div.sidebar-title {
+ font-weight: bold;
+}
+
+div.synopsis {
+ white-space: pre;
+ font-family: monospace;
+}
+
+/*
+ * FreeBSD-specific formatting
+ */
+
+body address {
+ line-height: 1.3;
+ margin: .6em 0;
+}
+
+html body {
margin: 1em 8% 1em 10%;
line-height: 1.2;
}
-.LEGALNOTICE {
+ at media screen {
+ html body { font-family: sans-serif; }
+}
+
+ at media print {
+ html body { font-family: serif; }
+}
+
+.legalnotice {
font-size: small;
font-variant: small-caps;
}
-BODY DIV {
+body div {
margin: 0;
}
-DL {
- margin: .8em 0;
+dl {
+ margin: .4em 0 0 0;
line-height: 1.2;
}
-BODY FORM {
+dt {
+ font-weight: bold;
+ margin: 0.4em 0 0 0;
+}
+
+div.abstract div.abstract-title,
+div.toc div.toc-title,
+div.list-of-figures div.toc-title,
+div.list-of-tables div.toc-title,
+div.list-of-examples div.toc-title {
+ font-size: 115%;
+}
+
+div.calloutlist dt {
+ float: left;
+ width: 1em;}
+
+div.calloutlist dd {
+ clear: right;
+ margin-bottom: 1ex;
+}
+
+body .calloutlist td {
+ padding-right: 0.5em;
+ width: auto;
+}
+
+body .calloutlist td p {
+ line-height: 1.2;
+ margin-top: 4px;
+ margin-bottom: 4px;
+}
+
+body form {
margin: .6em 0;
}
-H1, H2, H3, H4, H5, H6,
-DIV.EXAMPLE P B,
-.QUESTION,
-DIV.TABLE P B,
-DIV.PROCEDURE P B {
+div.example p b,
+.question,
+div.table p b,
+div.procedure p b {
color: #990000;
}
-BODY H1, BODY H2, BODY H3, BODY H4, BODY H5, BODY H6 {
+h1.title, h2.title, h3.title, h4.title, h5.title, h6.title,
+h3.author, .corpauthor,
+div.abstract div.abstract-title,
+div.toc div.toc-title,
+div.list-of-figures div.toc-title,
+div.list-of-tables div.toc-title,
+div.list-of-examples div.toc-title {
+ font-weight: bold;
line-height: 1.3;
+ margin-top: 1em;
margin-left: 0;
+ color: #990000;
}
-BODY H1, BODY H2 {
+h1.title, h2.title {
margin: .8em 0 0 -4%;
}
-BODY H3, BODY H4 {
+h3.title, h4.title {
margin: .8em 0 0 -3%;
}
-BODY H5 {
+h5.title {
margin: .8em 0 0 -2%;
}
-BODY H6 {
+h6.title {
margin: .8em 0 0 -1%;
}
-BODY HR {
+body hr {
margin: .6em;
border-width: 0 0 1px 0;
border-style: solid;
border-color: #cecece;
}
-BODY IMG.NAVHEADER {
+body img.navheader {
margin: 0 0 0 -4%;
}
-OL {
- margin: 0 0 0 5%;
+ol {
+ margin: 0 0 0 1em;
line-height: 1.2;
}
-BODY PRE {
+body pre {
margin: .75em 0;
- line-height: 1.0;
font-family: monospace;
}
-BODY TD, BODY TH {
+body td, body th {
line-height: 1.2;
+ padding-right: 1.5em;
}
-UL, BODY DIR, BODY MENU {
- margin: 0 0 0 5%;
+ul, body dir, body menu {
+ margin: 0 0 0 1em;
line-height: 1.2;
}
-HTML {
- margin: 0;
+html {
+ margin: 0;
padding: 0;
}
-BODY P B.APPLICATION {
- color: #000000;
+.filename {
+ color: #007a00;
}
-.FILENAME {
+.package, .port {
+ color: #007a00;
+ font-family: monospace;
+ font-style: italic;
+}
+
+.svnref {
color: #007a00;
}
-.GUIMENU, .GUIMENUITEM, .GUISUBMENU,
-.GUILABEL, .INTERFACE,
-.SHORTCUT, .SHORTCUT .KEYCAP {
+.guimenu, .guimenuitem, .guisubmenu,
+.guilabel, .interface,
+.shortcut, .shortcut .keycap {
font-weight: bold;
}
-.GUIBUTTON {
+.guibutton {
background-color: #CFCFCF;
padding: 2px;
}
-.ACCEL {
+.accel {
background-color: #F0F0F0;
text-decoration: underline;
-}
+}
-.SCREEN {
+pre.screen {
+ white-space: pre;
+ overflow: auto;
+ font-family: monospace;
padding: 1ex;
+ background-color: #edc;
+ border: 1px solid #ccc;
+ border-radius: 4px;
}
-.PROGRAMLISTING {
+pre.programlisting {
+ white-space: pre;
+ overflow: auto;
+ font-family: monospace;
padding: 1ex;
background-color: #eee;
border: 1px solid #ccc;
+ border-radius: 4px;
}
@media screen { /* hide from IE3 */
a[href]:hover { background: #ffa }
}
-BLOCKQUOTE.NOTE {
+.informaltable, .table th {
+ padding-left: 0.2em;
+ text-align: left;
+}
+
+.note, .tip, .important, .warning, .caution, .example, div.procedure {
+ border-radius: 4px;
+ padding: 2ex 2ex 0 2ex;
+ margin: .75em 3em .75em 1em;
+ line-height: 1.3;
+}
+
+.note, div.procedure {
color: #222;
background: #eee;
border: 1px solid #ccc;
- padding: 0.4em 0.4em;
- width: 85%;
+ width: 90%;
}
-BLOCKQUOTE.TIP {
+.tip {
color: #004F00;
background: #d8ecd6;
border: 1px solid green;
- padding: 0.2em 2em;
- width: 85%;
+ width: 90%;
}
-BLOCKQUOTE.IMPORTANT {
+.important {
font-style:italic;
border: 1px solid #a00;
border-left: 12px solid #c00;
- padding: 0.1em 1em;
+ width: 90%;
}
-BLOCKQUOTE.WARNING {
+.warning {
color: #9F1313;
background: #f8e8e8;
border: 1px solid #e59595;
- padding: 0.2em 2em;
- width: 85%;
+ width: 90%;
}
-.EXAMPLE {
+.caution {
+ color: #3E3535;
+ background: #FFC;
+ border: 1px solid #e59595;
+ width: 90%;
+}
+
+.example {
background: #fefde6;
border: 1px solid #f1bb16;
- margin: 1em 0;
- padding: 0.2em 2em;
width: 90%;
}
-.INFORMALTABLE TABLE.CALSTABLE TR TD {
+.admontitle {
+ display: inline;
+ line-height: 1;
+ margin-right: 0;
+}
+
+.procedure-title {
+ font-weight: bold;
+ line-height: 1;
+ margin-right: 0;
+}
+
+.note p, .tip p, .important p, .warning p, .caution p, {
+ display: inline;
+}
+
+.informaltable table.calstable tr td {
padding-left: 1em;
padding-right: 1em;
}
+
+.authorgroup {
+ font-style: italic;
+}
+
+.userinput,
+.userinput code {
+ font-weight: bold;
+}
+
+pre.screen strong {
+ font-weight: normal;
+}
+
+.procedure ol {
+ line-height: 1.2;
+ margin: 0 0 0 -1em;
+}
+
+span.contrib {
+ font-size: small;
+ font-style: italic;
+}
Modified: head/en_US.ISO8859-1/htdocs/releases/10.1R/docbook.css
==============================================================================
--- head/en_US.ISO8859-1/htdocs/releases/10.1R/docbook.css Thu Feb 5 16:33:38 2015 (r46252)
+++ head/en_US.ISO8859-1/htdocs/releases/10.1R/docbook.css Thu Feb 5 16:55:02 2015 (r46253)
@@ -26,187 +26,377 @@
* $FreeBSD$
*/
-BODY ADDRESS {
- line-height: 1.3;
- margin: .6em 0;
+/*
+ * General DocBook styles from the DocBook XSL distribution
+ */
+
+.formalpara-title {
+ font-weight: bold;
+}
+
+a:link {
+ color:#0645AD;
+ text-decoration: underline;
+}
+
+a:visited, a:hover, a:active {
+ color:#663366;
+ text-decoration: underline;
+}
+
+div.blockquote-title {
+ font-weight: bold;
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+span.msgmain-title {
+ font-weight: bold;
+}
+
+span.msgsub-title {
+ font-weight: bold;
+}
+
+span.msgrel-title {
+ font-weight: bold;
+}
+
+div.msglevel, div.msgorig, div.msgaud {
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+span.msglevel-title, span.msgorig-title, span.msgaud-title {
+ font-weight: bold;
+}
+
+div.msgexplan {
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+span.msgexplan-title {
+ font-weight: bold;
+}
+
+div.figure-title {
+ font-weight: bold;
+}
+
+div.example-title {
+ font-weight: bold;
+}
+
+div.equation-title {
+ font-weight: bold;
}
-BODY BLOCKQUOTE {
- margin-top: .75em;
- line-height: 1.5;
- margin-bottom: .75em;
+div.table-title {
+ font-weight: bold;
}
-HTML BODY {
+div.sidebar-title {
+ font-weight: bold;
+}
+
+div.synopsis {
+ white-space: pre;
+ font-family: monospace;
+}
+
+/*
+ * FreeBSD-specific formatting
+ */
+
+body address {
+ line-height: 1.3;
+ margin: .6em 0;
+}
+
+html body {
margin: 1em 8% 1em 10%;
line-height: 1.2;
}
-.LEGALNOTICE {
+ at media screen {
+ html body { font-family: sans-serif; }
+}
+
+ at media print {
+ html body { font-family: serif; }
+}
+
+.legalnotice {
font-size: small;
font-variant: small-caps;
}
-BODY DIV {
+body div {
margin: 0;
}
-DL {
- margin: .8em 0;
+dl {
+ margin: .4em 0 0 0;
line-height: 1.2;
}
-BODY FORM {
+dt {
+ font-weight: bold;
+ margin: 0.4em 0 0 0;
+}
+
+div.abstract div.abstract-title,
+div.toc div.toc-title,
+div.list-of-figures div.toc-title,
+div.list-of-tables div.toc-title,
+div.list-of-examples div.toc-title {
+ font-size: 115%;
+}
+
+div.calloutlist dt {
+ float: left;
+ width: 1em;}
+
+div.calloutlist dd {
+ clear: right;
+ margin-bottom: 1ex;
+}
+
+body .calloutlist td {
+ padding-right: 0.5em;
+ width: auto;
+}
+
+body .calloutlist td p {
+ line-height: 1.2;
+ margin-top: 4px;
+ margin-bottom: 4px;
+}
+
+body form {
margin: .6em 0;
}
-H1, H2, H3, H4, H5, H6,
-DIV.EXAMPLE P B,
-.QUESTION,
-DIV.TABLE P B,
-DIV.PROCEDURE P B {
+div.example p b,
+.question,
+div.table p b,
+div.procedure p b {
color: #990000;
}
-BODY H1, BODY H2, BODY H3, BODY H4, BODY H5, BODY H6 {
+h1.title, h2.title, h3.title, h4.title, h5.title, h6.title,
+h3.author, .corpauthor,
+div.abstract div.abstract-title,
+div.toc div.toc-title,
+div.list-of-figures div.toc-title,
+div.list-of-tables div.toc-title,
+div.list-of-examples div.toc-title {
+ font-weight: bold;
line-height: 1.3;
+ margin-top: 1em;
margin-left: 0;
+ color: #990000;
}
-BODY H1, BODY H2 {
+h1.title, h2.title {
margin: .8em 0 0 -4%;
}
-BODY H3, BODY H4 {
+h3.title, h4.title {
margin: .8em 0 0 -3%;
}
-BODY H5 {
+h5.title {
margin: .8em 0 0 -2%;
}
-BODY H6 {
+h6.title {
margin: .8em 0 0 -1%;
}
-BODY HR {
+body hr {
margin: .6em;
border-width: 0 0 1px 0;
border-style: solid;
border-color: #cecece;
}
-BODY IMG.NAVHEADER {
+body img.navheader {
margin: 0 0 0 -4%;
}
-OL {
- margin: 0 0 0 5%;
+ol {
+ margin: 0 0 0 1em;
line-height: 1.2;
}
-BODY PRE {
+body pre {
margin: .75em 0;
- line-height: 1.0;
font-family: monospace;
}
-BODY TD, BODY TH {
+body td, body th {
line-height: 1.2;
+ padding-right: 1.5em;
}
-UL, BODY DIR, BODY MENU {
- margin: 0 0 0 5%;
+ul, body dir, body menu {
+ margin: 0 0 0 1em;
line-height: 1.2;
}
-HTML {
- margin: 0;
+html {
+ margin: 0;
padding: 0;
}
-BODY P B.APPLICATION {
- color: #000000;
+.filename {
+ color: #007a00;
}
-.FILENAME {
+.package, .port {
+ color: #007a00;
+ font-family: monospace;
+ font-style: italic;
+}
+
+.svnref {
color: #007a00;
}
-.GUIMENU, .GUIMENUITEM, .GUISUBMENU,
-.GUILABEL, .INTERFACE,
-.SHORTCUT, .SHORTCUT .KEYCAP {
+.guimenu, .guimenuitem, .guisubmenu,
+.guilabel, .interface,
+.shortcut, .shortcut .keycap {
font-weight: bold;
}
-.GUIBUTTON {
+.guibutton {
background-color: #CFCFCF;
padding: 2px;
}
-.ACCEL {
+.accel {
background-color: #F0F0F0;
text-decoration: underline;
-}
+}
-.SCREEN {
+pre.screen {
+ white-space: pre;
+ overflow: auto;
+ font-family: monospace;
padding: 1ex;
+ background-color: #edc;
+ border: 1px solid #ccc;
+ border-radius: 4px;
}
-.PROGRAMLISTING {
+pre.programlisting {
+ white-space: pre;
+ overflow: auto;
+ font-family: monospace;
padding: 1ex;
background-color: #eee;
border: 1px solid #ccc;
+ border-radius: 4px;
}
@media screen { /* hide from IE3 */
a[href]:hover { background: #ffa }
}
-BLOCKQUOTE.NOTE {
+.informaltable, .table th {
+ padding-left: 0.2em;
+ text-align: left;
+}
+
+.note, .tip, .important, .warning, .caution, .example, div.procedure {
+ border-radius: 4px;
+ padding: 2ex 2ex 0 2ex;
+ margin: .75em 3em .75em 1em;
+ line-height: 1.3;
+}
+
+.note, div.procedure {
color: #222;
background: #eee;
border: 1px solid #ccc;
- padding: 0.4em 0.4em;
- width: 85%;
+ width: 90%;
}
-BLOCKQUOTE.TIP {
+.tip {
color: #004F00;
background: #d8ecd6;
border: 1px solid green;
- padding: 0.2em 2em;
- width: 85%;
+ width: 90%;
}
-BLOCKQUOTE.IMPORTANT {
+.important {
font-style:italic;
border: 1px solid #a00;
border-left: 12px solid #c00;
- padding: 0.1em 1em;
+ width: 90%;
}
-BLOCKQUOTE.WARNING {
+.warning {
color: #9F1313;
background: #f8e8e8;
border: 1px solid #e59595;
- padding: 0.2em 2em;
- width: 85%;
+ width: 90%;
+}
+
+.caution {
+ color: #3E3535;
+ background: #FFC;
+ border: 1px solid #e59595;
+ width: 90%;
}
-.EXAMPLE {
+.example {
background: #fefde6;
border: 1px solid #f1bb16;
- margin: 1em 0;
- padding: 0.2em 2em;
width: 90%;
}
-.INFORMALTABLE TABLE.CALSTABLE TR TD {
+.admontitle {
+ display: inline;
+ line-height: 1;
+ margin-right: 0;
+}
+
+.procedure-title {
+ font-weight: bold;
+ line-height: 1;
+ margin-right: 0;
+}
+
+.note p, .tip p, .important p, .warning p, .caution p, {
+ display: inline;
+}
+
+.informaltable table.calstable tr td {
padding-left: 1em;
padding-right: 1em;
}
+.authorgroup {
+ font-style: italic;
+}
+
+.userinput,
+.userinput code {
+ font-weight: bold;
+}
+
+pre.screen strong {
+ font-weight: normal;
+}
+
+.procedure ol {
+ line-height: 1.2;
+ margin: 0 0 0 -1em;
+}
+
span.contrib {
font-size: small;
font-style: italic;
Modified: head/en_US.ISO8859-1/htdocs/releases/8.4R/docbook.css
==============================================================================
--- head/en_US.ISO8859-1/htdocs/releases/8.4R/docbook.css Thu Feb 5 16:33:38 2015 (r46252)
+++ head/en_US.ISO8859-1/htdocs/releases/8.4R/docbook.css Thu Feb 5 16:55:02 2015 (r46253)
@@ -26,217 +26,378 @@
* $FreeBSD$
*/
-BODY ADDRESS {
- line-height: 1.3;
- margin: .6em 0;
+/*
+ * General DocBook styles from the DocBook XSL distribution
+ */
+
+.formalpara-title {
+ font-weight: bold;
+}
+
+a:link {
+ color:#0645AD;
+ text-decoration: underline;
+}
+
+a:visited, a:hover, a:active {
+ color:#663366;
+ text-decoration: underline;
+}
+
+div.blockquote-title {
+ font-weight: bold;
+ margin-top: 1em;
+ margin-bottom: 1em;
}
-BODY BLOCKQUOTE {
- margin-top: .75em;
+span.msgmain-title {
+ font-weight: bold;
+}
+
+span.msgsub-title {
+ font-weight: bold;
+}
+
+span.msgrel-title {
+ font-weight: bold;
+}
+
+div.msglevel, div.msgorig, div.msgaud {
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+span.msglevel-title, span.msgorig-title, span.msgaud-title {
+ font-weight: bold;
+}
+
+div.msgexplan {
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+span.msgexplan-title {
+ font-weight: bold;
+}
+
+div.figure-title {
+ font-weight: bold;
+}
+
+div.example-title {
+ font-weight: bold;
+}
+
+div.equation-title {
+ font-weight: bold;
+}
+
+div.table-title {
+ font-weight: bold;
+}
+
+div.sidebar-title {
+ font-weight: bold;
+}
+
+div.synopsis {
+ white-space: pre;
+ font-family: monospace;
+}
+
+/*
+ * FreeBSD-specific formatting
+ */
+
+body address {
line-height: 1.3;
- margin-bottom: .75em;
+ margin: .6em 0;
}
-HTML BODY {
+html body {
margin: 1em 8% 1em 10%;
line-height: 1.2;
}
-.LEGALNOTICE {
+ at media screen {
+ html body { font-family: sans-serif; }
+}
+
+ at media print {
+ html body { font-family: serif; }
+}
+
+.legalnotice {
font-size: small;
font-variant: small-caps;
}
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-doc-all
mailing list