summaryrefslogtreecommitdiffstats
path: root/docs/style.css
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-07-17 15:34:05 +0200
committerDavid Lawrence <dkl@mozilla.com>2015-07-17 15:34:05 +0200
commit5af060abe8347ccac35038d40577fd09c07f64c9 (patch)
tree4abbadde3716d0bd9ac6a049f74943f720715f51 /docs/style.css
parentd988cb64c5fe8eb37750d568c2da1b8bdec583da (diff)
downloadbugzilla-5af060abe8347ccac35038d40577fd09c07f64c9.tar.gz
bugzilla-5af060abe8347ccac35038d40577fd09c07f64c9.tar.xz
Bug 1177497: Backport upstreams 5.0 rST docs to BMO and make publicly available at https://bmo.readthedocs.org
Diffstat (limited to 'docs/style.css')
-rw-r--r--docs/style.css34
1 files changed, 12 insertions, 22 deletions
diff --git a/docs/style.css b/docs/style.css
index 1c9a6bcb1..fa85b6c41 100644
--- a/docs/style.css
+++ b/docs/style.css
@@ -1,29 +1,18 @@
-/* The contents of this file are subject to the Mozilla Public
- * License Version 1.1 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.mozilla.org/MPL/
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
- * Software distributed under the License is distributed on an "AS
- * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- * implied. See the License for the specific language governing
- * rights and limitations under the License.
- *
- * The Original Code is the Bugzilla Bug Tracking System.
- *
- * The Initial Developer of the Original Code is Everything Solved.
- * Portions created by Everything Solved are Copyright (C) 2006
- * Everything Solved. All Rights Reserved.
- *
- * Contributor(s): Max Kanat-Alexander <mkanat@bugzilla.org>
+ * This Source Code Form is "Incompatible With Secondary Licenses", as
+ * defined by the Mozilla Public License, v. 2.0.
*/
+/* This style file is used by the API documentation */
+
body {
background: white;
color: #111;
padding: 0 1em;
- margin: 0;
font-family: Verdana, Arial, sans-serif;
- font-size: small;
}
a:link, a:active { color: #36415c; }
@@ -72,10 +61,11 @@ pre, code, tt, kbd, samp {
border: 1px solid #ccc;
}
-pre.code {
+pre.code, pre.programlisting, pre.screen {
margin-left: 10px;
- width: 90%;
- padding: 10px;
+ padding: 0.5em;
+ background: #eed;
+ border: 1px solid #ccc;
}
/* Special styles for the Contents page */
@@ -104,4 +94,4 @@ pre.code {
background-color: #eee;
}
-.pod_desc_table
+.pod_desc_table