From 5af060abe8347ccac35038d40577fd09c07f64c9 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Fri, 17 Jul 2015 13:34:05 +0000 Subject: Bug 1177497: Backport upstreams 5.0 rST docs to BMO and make publicly available at https://bmo.readthedocs.org --- docs/style.css | 34 ++++++++++++---------------------- 1 file changed, 12 insertions(+), 22 deletions(-) (limited to 'docs/style.css') 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 + * 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 -- cgit v1.2.3-24-g4f1b