Bug 295229 - Make shortcuts table styling in Help docs not suck. Style changes by Steven Garrity <steven at silverorange dot com>, patch by me.

This commit is contained in:
jwalden%mit.edu 2005-10-15 00:17:05 +00:00
Родитель 88fd496f3f
Коммит cc4a6f0622
3 изменённых файлов: 14 добавлений и 124 удалений

Просмотреть файл

@ -127,19 +127,19 @@ li {
}
table {
background-color: #eeeeee; /* really light grey */
border: 1px solid black;
border-collapse: collapse;
}
td {
border: 1px solid #999999; /* grey */
vertical-align: top;
td, th {
border: 1px solid #ddd; /* grey */
padding: 6px;
vertical-align: top;
}
th {
background-color: #99ccff; /* light aqua */
font-weight: bold;
background-color: #eee; /* light grey */
font-weight: bold;
text-align: left;
}
.noTableBorder,

Просмотреть файл

@ -1,110 +0,0 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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/
*
* 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 Mozilla Help CSS
*
* The Initial Developer of the Original Code is
* R.J. Keller
* Portions created by the Initial Developer are Copyright (C) 2003
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Jeff Walden <Jswalden86@netzero.net>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
body {
margin: 2ex;
color: black;
font-family: sans-serif;
font-size: 0.75em;
max-width: 120ex;
}
:link:hover { color: red; }
a[href^="http://"]:after { content: url('chrome://help/skin/Weblink.png'); }
h1 { font-size: 2em; }
h2 { border-top: 1px solid black; font-size: 1.75em; }
h3 { color: #009; font-size: 1em; margin-bottom: 0px; margin-top: 35px; }
dt { font-weight: bold; }
p {
text-indent: 15px;
}
.contentsBox,
.contentsBox > ul,
li {
text-indent: 0px;
}
.contentsBox > ul,
.contentsBox ul > ul{
margin: 0 0 0 0;
list-style-type: none;
}
.contentsBox {
margin-top: 12px;
background-color: #cccccc;
border: 1px solid black;
width: 300px;
padding: 1em;
}
.makeLeftMargin {
-moz-margin-start: 25px;
}
.menuPath {
background: #c4d0f4; /* bluish color */
color: inherit;
padding-left: 1px; /* else bgcolor ends at last char - no space */
padding-right: 1px;
}
table {
background-color: #eeeeee; /* really light grey */
}
td {
border: 1px solid #999999; /* grey */
vertical-align: top;
}
th {
background-color: #99ccff; /* light aqua */
font-weight: bold;
}
.noTableBorder,
.noTableBorder td,
.noTableBorder th {
background-color: transparent;
border: 0px solid transparent;
}

Просмотреть файл

@ -127,19 +127,19 @@ li {
}
table {
background-color: #eeeeee; /* really light grey */
border: 1px solid black;
border-collapse: collapse;
}
td {
border: 1px solid #999999; /* grey */
vertical-align: top;
td, th {
border: 1px solid #ddd; /* grey */
padding: 6px;
vertical-align: top;
}
th {
background-color: #99ccff; /* light aqua */
font-weight: bold;
background-color: #eee; /* light grey */
font-weight: bold;
text-align: left;
}
.noTableBorder,