]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - doc/cups.css
Fix clang errors on Linux.
[thirdparty/cups.git] / doc / cups.css
index 95cf597c3f1d3c06d87cd567e14359b81d9a80dc..7dd628040a6f6dbfb436b697e25138c0687cbb05 100644 (file)
@@ -1,17 +1,19 @@
 /* Layout CSS */
 .header {
-  background: #333333;
+  background: rgba(46,46,46,.9);
+  box-shadow: 0px 2px 5px rgba(0,0,0,0.25);
   color: white;
-  float: left;
   left: 0;
   margin-bottom: 20px;
   padding: 0px;
-  position: relative;
+  position: fixed;
   right: 0;
+  top: 0;
   width: 100%;
 }
 .header ul {
   list-style: none;
+  margin: 0px;
   -webkit-margin-before: 0;
   -webkit-margin-after: 0;
   -webkit-margin-start: 0;
 }
 .header a.active {
   background: white !important;
+  box-shadow: rgba(0,0,0,0.1) 0px 0px 10px 0px inset;
   color: black !important;
   text-decoration: none !important;
 }
 
 .body {
-  padding: 20px 20px 40px;
+  padding: 40px 20px;
+}
+.row .body {
+  padding: 0px;
 }
 
 .footer {
-  background: #333333;
+  background: rgba(46,46,46,.9);
   bottom: 0;
+  box-shadow: 0px -2px 5px rgba(0,0,0,0.25);
   color: #cccccc;
   font-size: 10px;
   height: 20px;
@@ -106,6 +113,11 @@ H1, H2, H3, H4, H5, H6, P, TD, TH {
   font-family: lucida grande, geneva, helvetica, arial, sans-serif;
 }
 
+H1 { font-size: 2em; }
+H2 { font-size: 1.75em; }
+H3 { font-size: 1.5em; }
+H4 { font-size: 1.25em; }
+
 KBD {
   color: #006600;
   font-family: monaco, courier, monospace;
@@ -116,11 +128,19 @@ PRE {
   font-family: monaco, courier, monospace;
 }
 
-PRE.command {
-  background: #f0f0f0;
-  border: dotted thin #7f7f7f;
-  color: #7f0000;
-  margin-left: 36pt;
+BLOCKQUOTE {
+  border-left: solid 2px #777;
+  margin: 1em 0;
+  padding: 10px;
+}
+
+BLOCKQUOTE OL LI {
+  margin-left: -1em;
+}
+
+PRE.command, PRE.example {
+  background: #eee;
+  margin: 0 36pt;
   padding: 10px;
 }
 
@@ -129,11 +149,16 @@ P.example {
   margin-left: 36pt;
 }
 
-PRE.example {
-  background: white;
-  border: dotted thin #999999;
-  margin-left: 36pt;
-  padding: 10px;
+DL.man DD {
+  margin-left: 5em;
+}
+
+DL.man DT {
+  margin-left: 0;
+}
+
+PRE.man {
+  margin: 0;
 }
 
 PRE.command EM, PRE.example EM {
@@ -152,15 +177,6 @@ P.formula {
   margin-left: 36pt;
 }
 
-BLOCKQUOTE {
-  background: #f0f0f0;
-  border: inset 1px #eeeeee;
-  padding: 10px;
-  /* These are not implemented by all browsers, but that's OK */
-  border-radius: 5px;
-  -moz-border-radius: 5px;
-}
-
 A IMG {
   border: none;
 }
@@ -284,7 +300,7 @@ DIV.table CAPTION {
 DIV.table TABLE TD {
   background: white;
   border: solid thin #bbbbbb;
-  padding-top: 5pt;
+  padding: 5pt 10pt 0;
 }
 
 DIV.table TABLE TH {
@@ -349,8 +365,8 @@ H1.title {
   display: none;
 }
 
-H2.title, H3.title {
-  border-bottom: solid 1pt #999999;
+H2.title, H3.title, .row .body H2, .row .body H3 {
+  border-bottom: solid 2pt black;
 }
 
 TABLE.indent {
@@ -511,26 +527,98 @@ DIV.tab {
 
 /* 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;
+div.body h3 {
 }
-.class, .enumeration, .function, .struct, .typedef, .union {
-  border-bottom: solid thin #999999;
-  margin-bottom: 0;
-  margin-top: 2em;
+div.body h4 {
+}
+div.body h5 {
+}
+div.contents {
+}
+div.contents h1 {
+}
+div.contents h2 {
+}
+div.contents ul.contents {
+}
+div.contents ul.contents li ul {
+  display: none;
+}
+
+.class {
+  border-bottom: solid 2px gray;
+}
+.constants {
 }
 .description {
   margin-top: 0.5em;
 }
-code, p.code, pre, ul.code li {
-  font-family: monaco, courier, monospace;
+.discussion {
+}
+.enumeration {
+  border-bottom: solid 2px gray;
+}
+.function {
+  border-bottom: solid 2px gray;
+  margin-bottom: 0;
+}
+.members {
+}
+.method {
+}
+.parameters {
+}
+.returnvalue {
+}
+.struct {
+  border-bottom: solid 2px gray;
+}
+.typedef {
+  border-bottom: solid 2px gray;
+}
+.union {
+  border-bottom: solid 2px gray;
+}
+.variable {
+}
+h1, h2, h3, h4, h5, h6 {
+  page-break-inside: avoid;
+}
+blockquote {
+  page-break-inside: avoid;
+}
+p code, li code, p.code, pre, ul.code li {
+  background: rgba(127,127,127,0.1);
+  border: thin dotted gray;
+  font-family: monospace;
   font-size: 90%;
+  hyphens: manual;
+  -webkit-hyphens: manual;
+  page-break-inside: avoid;
+}
+p.code, pre, ul.code li {
+  padding: 10px;
+}
+p code, li code {
+  padding: 2px 5px;
+}
+span.info {
+  background: black;
+  border: solid thin black;
+  color: white;
+  font-size: 80%;
+  font-style: italic;
+  font-weight: bold;
+  white-space: nowrap;
+}
+h3 span.info, h4 span.info {
+  border-top-left-radius: 10px;
+  border-top-right-radius: 10px;
+  float: right;
+  padding: 3px 6px;
 }
 ul.code, ul.contents, ul.subcontents {
   list-style-type: none;
@@ -546,18 +634,25 @@ ul.contents > li {
 ul.contents li ul.code, ul.contents li ul.subcontents {
   padding-left: 2em;
 }
-div.body dl {
-  margin-left: 0;
-  margin-top: 0;
+table.list {
+  border-collapse: collapse;
+  width: 100%;
 }
-div.body dt {
-  font-style: italic;
-  margin-left: 0;
-  margin-top: 0;
+table.list tr:nth-child(even) {
+  background: rgba(127,127,127,0.1);]n}
+table.list th {
+  border-right: 2px solid gray;
+  font-family: monospace;
+  padding: 5px 10px 5px 2px;
+  text-align: right;
+  vertical-align: top;
 }
-div.body dd {
-  margin-bottom: 0.5em;
+table.list td {
+  padding: 5px 2px 5px 10px;
+  text-align: left;
+  vertical-align: top;
 }
+
 /* iPhone/iPod touch overrides */
 @media only screen and (min-device-width: 320px) and (max-device-width: 480px),
        only screen and (min-device-width: 320px) and (max-device-width: 568px) {
@@ -568,6 +663,18 @@ div.body dd {
     display: none;
   }
 
+  .header {
+    margin: 0;
+    position: relative;
+  }
+  .header ul li {
+    float: none;
+  }
+
+  .body {
+    paddng: 0px;
+  }
+
   .footer {
     font-size: 10px;
     height: auto;
@@ -596,7 +703,7 @@ div.body dd {
     margin-left: 0;
   }
 
-  PRE.command, PRE.example {
+  PRE.command, PRE.example, PRE.man {
     margin-left: 0;
     white-space: pre-wrap;
   }