Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2012 09:32:29 +0000 (UTC)
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-projects@freebsd.org
Subject:   svn commit: r39406 - projects/sgml2xml/share/misc
Message-ID:  <201208210932.q7L9WTSL006344@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gabor
Date: Tue Aug 21 09:32:29 2012
New Revision: 39406
URL: http://svn.freebsd.org/changeset/doc/39406

Log:
  - Class names and elements are now generated lower case.  Adjust the CSS
    file accordingly.
  
  Approved by:	doceng (implicit)

Modified:
  projects/sgml2xml/share/misc/docbook.css

Modified: projects/sgml2xml/share/misc/docbook.css
==============================================================================
--- projects/sgml2xml/share/misc/docbook.css	Tue Aug 21 09:17:40 2012	(r39405)
+++ projects/sgml2xml/share/misc/docbook.css	Tue Aug 21 09:32:29 2012	(r39406)
@@ -26,148 +26,148 @@
  * $FreeBSD$
  */
 
-BODY ADDRESS {
+body address {
 	line-height: 1.3;
 	margin: .6em 0;
 }
 
-BODY BLOCKQUOTE {
+body blockquote {
 	margin-top: .75em;
 	line-height: 1.3;
 	margin-bottom: .75em;
 }
 
-HTML BODY {
+html body {
 	margin: 1em 8% 1em 10%;
 	line-height: 1.2;
 }
 
-.LEGALNOTICE {
+.legalnotice {
 	font-size: small;
 	font-variant: small-caps;
 }
 
-BODY DIV {
+body div {
 	margin: 0;
 }
 
-DL {
+dl {
 	margin: .8em 0;
 	line-height: 1.2;
 }
 
-DIV.CALLOUTLIST DT {
+div.calloutlist dt {
 	float: left;
 	width: 1em;
 }
 
-DIV.CALLOUTLIST DD {
+div.calloutlist dd {
 	clear: right;
 	margin-bottom: 1ex;
 }
 
-BODY FORM {
+body form {
 	margin: .6em 0;
 }
 
-H1, H2, H3, H4, H5, H6,
-DIV.EXAMPLE P B,
-.QUESTION,
-DIV.TABLE P B,
-DIV.PROCEDURE P B {
+h1, h2, h3, h4, h5, h6,
+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 {
+body h1, body h2, body h3, body h4, body h5, body h6 {
 	line-height: 1.3;
 	margin-left: 0;
 }
 
-BODY H1, BODY H2 {
+body h1, body h2 {
 	margin: .8em 0 0 -4%;
 }
 
-BODY H3, BODY H4 {
+body h3, body h4 {
 	margin: .8em 0 0 -3%;
 }
 
-BODY H5 {
+body h5 {
 	margin: .8em 0 0 -2%;
 }
 
-BODY H6 {
+body h6 {
 	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 {
+ol {
 	margin: 0 0 0 5%;
 	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;
 }
 
-UL, BODY DIR, BODY MENU {
+ul, body dir, body menu {
 	margin: 0 0 0 5%;
 	line-height: 1.2;
 }
 
-HTML {
+html {
 	margin: 0;
 	padding: 0;
 }
 
-BODY P B.APPLICATION {
+body p b.application {
 	color: #000000;
 }
 
-.FILENAME {
+.filename {
 	color: #007a00;
 }
 
-SVNREF {
+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 {
+.screen {
 	padding: 1ex;
 }
 
-.PROGRAMLISTING {
+.programlisting {
 	padding: 1ex;
 	background-color: #eee;
 	border: 1px solid #ccc;
@@ -178,57 +178,57 @@ SVNREF {
 	a[href]:hover { background: #ffa }
 }
 
-.INFORMALTABLE, .TABLE TH {
+.informaltable, .table th {
 	padding-left: 02.em;
 	text-align: left;
 }
 
-BLOCKQUOTE, .EXAMPLE, .PROGRAMLISTING {
+blockquote, .example, .programlisting {
 	-moz-border-radius: 6px;
 	-webkit-border-radius: 6px;
 	-khtml-border-radius: 6px;
 	border-radius: 6px;
 }
 
-BLOCKQUOTE {
+blockquote {
 	padding: 0 2ex;
 }
 
-BLOCKQUOTE.NOTE {
+blockquote.note {
 	color: #222;
 	background: #eee;
 	border: 1px solid #ccc;
 	width: 85%;
 }
 
-BLOCKQUOTE.TIP {
+blockquote.tip {
 	color: #004F00;
 	background: #d8ecd6;
 	border: 1px solid green;
 	width: 85%;
 }
 
-BLOCKQUOTE.IMPORTANT {
+blockquote.important {
 	font-style:italic;
 	border: 1px solid #a00;
 	border-left: 12px solid #c00;
 }
 
-BLOCKQUOTE.WARNING {
+blockquote.warning {
 	color: #9F1313;
 	background: #f8e8e8;
 	border: 1px solid #e59595;
 	width: 85%;
 }
 
-BLOCKQUOTE.CAUTION {
+blockquote.caution {
 	color: #3E3535;
 	background: #FFC;
 	border: 1px solid #e59595;
 	width: 85%;
 }
 
-.EXAMPLE {
+.example {
 	background: #fefde6;
 	border: 1px solid #f1bb16;
 	margin: 1em 0;
@@ -236,7 +236,7 @@ BLOCKQUOTE.CAUTION {
 	width: 90%;
 }
 
-.INFORMALTABLE TABLE.CALSTABLE TR TD {
+.informaltable table.calstable tr td {
         padding-left: 1em;
         padding-right: 1em;
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208210932.q7L9WTSL006344>