gecko/toolkit/themes/winstripe/help/helpFileLayout.css

151 lines
3.5 KiB
CSS
Raw Normal View History

/* ***** 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 <jwalden+code@mit.edu>
* Steffen Wilberg <steffen.wilberg@web.de>
*
* 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 ***** */
@import url('chrome://help/content/platformClasses.css');
body, td, th, input {
font-family: verdana, sans-serif;
font-size: small;
}
body {
margin: 2ex;
max-width: 120ex;
}
:link:hover,
:visited:hover {
color: -moz-activehyperlinktext;
}
hr {
height: 1px;
background-color: #000;
color: #000;
margin: 2em 0;
}
a[href^="http://"]:after,
a[href^="https://"]:after {
content: url('chrome://help/skin/Weblink.png');
}
:link { color: #039; }
:visited { color: #636; }
:link:hover, :visited:hover { color: #333; }
:link:active, :link:active { color: #000; }
h1 { font-size: 160%; font-weight: normal; }
h2 { font-size: 150%; font-weight: normal; }
h3 { font-size: 120%; }
h4 { font-size: 100%; }
h5 { font-size: 90%; }
h6 { font-size: 90%; border: 0; }
h1, h2, h3, h4, h5, h6 {
margin: 1em 0 0.2em 0;
border-bottom: 1px solid #ccc;
font-family: arial, verdana, sans-serif;
}
li h1, li h2, li h3, li h4, li h5, li h6 {
border: none;
}
dt { font-weight: bold; }
sup {
font-size: 70%;
}
:link img,
:visited img {
border: 0;
}
.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: #eee;
border: 1px solid #ccc;
width: 300px;
padding: 1em;
}
.menuPath {
background: #c4d0f4; /* bluish color */
color: inherit;
padding-left: 1px; /* else bgcolor ends at last char - no space */
padding-right: 1px;
}
table {
border-collapse: collapse;
}
td, th {
border: 1px solid #ddd; /* grey */
padding: 6px;
vertical-align: top;
}
th {
background-color: #eee; /* light grey */
font-weight: bold;
text-align: left;
}
.noTableBorder,
.noTableBorder td,
.noTableBorder th {
background-color: transparent;
border: 0px solid transparent;
}