]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - doc/cups.css
Merge changes from CUPS 1.4svn-r8628.
[thirdparty/cups.git] / doc / cups.css
index 6d356f6d051d345d337e87ea25342cec4d6aade1..5b78171af8b7eea397af6f2c63b6a6d02017f102 100644 (file)
@@ -1,21 +1,21 @@
 BODY {
-  background: #e8e8e8;
-  color: #000000;
-  font-family: sans-serif;
+  background: white;
+  color: black;
+  font-family: lucida grande, geneva, helvetica, arial, sans-serif;
 }
 
 H1, H2, H3, H4, H5, H6, P, TD, TH {
-  font-family: sans-serif;
+  font-family: lucida grande, geneva, helvetica, arial, sans-serif;
 }
 
 KBD {
   color: #006600;
-  font-family: monospace;
+  font-family: monaco, courier, monospace;
   font-weight: bold;
 }
 
 PRE {
-  font-family: monospace;
+  font-family: monaco, courier, monospace;
 }
 
 PRE.command {
@@ -23,13 +23,26 @@ PRE.command {
   margin-left: 36pt;
 }
 
-PRE.command EM {
+P.example {
+  font-style: italic;
+  margin-left: 36pt;
+}
+  
+PRE.example {
+  background: white;
+  border: dotted thin #999999;
+  margin-left: 36pt;
+  padding: 10px;
+}
+
+PRE.command EM, PRE.example EM {
   color: #3f0000;
+  font-family: lucida grande, geneva, helvetica, arial, sans-serif;
 }
 
 P.command {
   color: #7f0000;
-  font-family: monospace;
+  font-family: monaco, courier, monospace;
   margin-left: 36pt;
 }
 
@@ -39,8 +52,8 @@ P.formula {
 }
 
 BLOCKQUOTE {
-  background: #e1e1e1;
-  border: inset 1px #dddddd;
+  background: #f0f0f0;
+  border: inset 1px #eeeeee;
   padding: 10px;
   /* These are not implemented by all browsers, but that's OK */
   border-radius: 5px;
@@ -52,12 +65,13 @@ A IMG {
 }
 
 A:link:hover IMG {
-  background: #e0e0e0;
+  background: #f0f0f0;
   border-radius: 10px;
   -moz-border-radius: 10px;
 }
 
 A:link, A:visited {
+  font-weight: inherit;
   text-decoration: none;
   color: #000099;
 }
@@ -82,8 +96,7 @@ TD.body {
 }
 
 TD.sel, TD.unsel {
-  border-left: thin solid #aaaaaa;
-  font-size: 120%;
+  border-left: thin solid #cccccc;
   padding: 0px 5px;
   text-align: center;
   vertical-align: middle;
@@ -98,31 +111,16 @@ TD.unsel {
   background: url(images/unsel.gif);
 }
 
-TD.sel A, TD.sel A:hover {
-  color: #ffffff;
-  font-weight: normal;
-  text-decoration: none;
-}
-
-TD.unsel A, TD.unsel A:visited {
-  color: #333333;
-  font-weight: normal;
-}
-
-TD.unsel:hover {
-  background: url(images/unsel-hover.gif);
-  color: #ffffff;
-}
-
-TD.unsel A:link:hover, TD.unsel A:visited:hover, TD.unsel A:active {
-  color: #ffffff;
+TD.sel A, TD.sel A:hover, TD.unsel A:link:hover, TD.unsel A:visited:hover,
+TD.unsel A:active, TD.unsel A, TD.unsel A:visited {
+  color: #666666;
   font-weight: normal;
   text-decoration: none;
 }
 
 TD.trailer {
-  background: #e1e1e1;
-  border: solid thin #cccccc;
+  background: #f0f0f0;
+  border: solid thin #e0e0e0;
   color: #666666;
   font-size: 80%;
   padding: 5px;
@@ -137,7 +135,7 @@ FORM {
 }
 
 INPUT[TYPE="TEXT"], TEXTAREA {
-  font-family: monospace;
+  font-family: monaco, courier, monospace;
 }
 
 INPUT[TYPE="IMAGE"] {
@@ -151,7 +149,8 @@ SUB, SUP {
 }
 
 TR.data, TD.data, TR.data TD {
-  padding: 5;
+  margin-top: 10pt;
+  padding: 5pt;
   border-bottom: solid 1pt #999999;
 }
 
@@ -164,6 +163,7 @@ TR.data TH {
 
 DIV.table TABLE {
   border: solid thin #999999;
+  border-collapse: collapse;
   border-spacing: 0;
   margin-left: auto;
   margin-right: auto;
@@ -179,12 +179,13 @@ DIV.table CAPTION {
 }
 
 DIV.table TABLE TD {
+  background: white;
   border: solid thin #bbbbbb;
   padding-top: 5pt;
 }
 
 DIV.table TABLE TH {
-  background: #bbbbbb;
+  background: #f0f0f0;
   border: none;
   border-bottom: solid thin #999999;
 }
@@ -204,19 +205,23 @@ DIV.figure CAPTION {
 }
 
 TH.label {
-  padding-top: 5pt;
   text-align: right;
   vertical-align: top;
 }
 
+TH.sublabel {
+  text-align: right;
+  font-weight: normal;
+}
+
 HR {
   border: solid thin;
 }
 
 SPAN.info {
-  background: #000000;
-  border: thin solid #000000;
-  color: #ffffff;
+  background: black;
+  border: thin solid black;
+  color: white;
   font-size: 80%;
   font-style: italic;
   font-weight: bold;
@@ -229,13 +234,69 @@ H2 SPAN.info, H3 SPAN.info, H4 SPAN.info {
 }
 
 .conflict {
-  color: red;
+  background: red;
+  color: white;
+}
+
+H1.title {
+  display: none;
 }
 
 H2.title, H3.title {
   border-bottom: solid 1pt #999999;
 }
 
+DIV.indent, TABLE.indent {
+  margin-top: 2em;
+  margin-left: auto;
+  margin-right: auto;
+  width: 90%;
+}
+
+TABLE.indent {
+  border-collapse: collapse;
+}
+
+TABLE.indent TD, TABLE.indent TH {
+  padding: 0;
+}
+
+TABLE.list {
+  border-collapse: collapse;
+  margin-left: auto;
+  margin-right: auto;
+  width: 90%;
+}
+
+TABLE.list TH {
+  background: white;
+  border-bottom: solid thin #cccccc;
+  color: #444444;
+  padding-top: 10pt;
+  padding-left: 5pt;
+  text-align: left;
+  vertical-align: bottom;
+  white-space: nowrap;
+}
+
+TABLE.list TH A {
+  color: #4444cc;
+}
+
+TABLE.list TD {
+  border-bottom: solid thin #eeeeee;
+  padding-top: 5pt;
+  padding-left: 5pt;
+}
+
+TABLE.list TR:nth-child(even) {
+  background: #f8f8f8;
+}
+
+TABLE.list TR:nth-child(odd) {
+  background: #f4f4f4;
+}
+
 DIV.sidebar {
   float: right;
   min-width: 25%;
@@ -268,9 +329,11 @@ DIV.sidebar P.l2 {
 }
 
 TABLE.inset {
-  background: #e1e1e1;
-  border: inset 1px #dddddd;
+  background: #f0f0f0;
+  border: thin solid #e0e0e0;
+  margin-top: 1em;
   padding: 0;
+  width: 100%;
   /* These are not implemented by all browsers, but that's OK */
   border-radius: 5px;
   -moz-border-radius: 5px;
@@ -286,7 +349,7 @@ TABLE.inset CAPTION {
 }
 
 TABLE.inset TD {
-  padding: 5px;
+  padding: 2px;
 }
 
 DT {
@@ -304,10 +367,87 @@ DL.category DT {
 
 P.summary {
   margin-left: 36pt;
-  font-family: monospace;
+  font-family: monaco, courier, monospace;
+}
+
+DIV.summary TABLE {
+  border: solid thin #999999;
+  border-collapse: collapse;
+  border-spacing: 0;
+  margin: 10px;
+}
+
+DIV.summary TABLE TD, DIV.summary TABLE TH {
+  background: white;
+  border: solid thin #999999;
+  border-spacing: 0;
+  padding: 5px;
+  text-align: left;
+  vertical-align: top;
+}
+
+DIV.summary TABLE THEAD TH {
+  background: #f0f0f0;
+}
+
+DIV.tabs {
+  height: 480px;
+  overflow: hidden;
 }
 
-SPAN.message {
+DIV.tab {
+  float: left;
+  height: 100%;
+  overflow-y: auto;
+  width: 100%;
+}
+
+/* API documentation styles... */
+div.body h1 {
+  margin: 0;
+}
+div.body h2 {
+  margin-top: 1.5em;
+}
+div.body h3, div.body h4, div.body h5 {
+  margin-bottom: 0.5em;
+  margin-top: 1.5em;
+}
+.class, .enumeration, .function, .struct, .typedef, .union {
+  border-bottom: solid thin #999999;
+  margin-bottom: 0;
+  margin-top: 2em;
+}
+.description {
+  margin-top: 0.5em;
+}
+code, p.code, pre, ul.code li {
+  font-family: monaco, courier, monospace;
+  font-size: 90%;
+}
+ul.code, ul.contents, ul.subcontents {
+  list-style-type: none;
+  margin: 0;
+  padding-left: 0;
+}
+ul.code li {
+  margin: 0;
+}
+ul.contents > li {
+  margin-top: 1em;
+}
+ul.contents li ul.code, ul.contents li ul.subcontents {
+  padding-left: 2em;
+}
+div.body dl {
+  margin-left: 0;
+  margin-top: 0;
+}
+div.body dt {
   font-style: italic;
-  font-size: smaller;
+  margin-left: 0;
+  margin-top: 0;
+}
+div.body dd {
+  margin-bottom: 0.5em;
 }