pjs/content/xml/tests/toc/book.css

170 строки
3.5 KiB
CSS

/* ***** 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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either of 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 ***** */
/* The book style must be the first style for our JavaScript to work */
book {
display: block;
padding-left: 2em;
padding-right: 2em;
padding-top: 8px;
font-size: 12pt;
background-color: lightyellow;
font-family: Arial;
}
book title {
font-weight: bold;
font-size: 24pt;
display: block;
text-align: center;
margin-top: 12pt;
margin-bottom: 3pt;
}
book subtitle {
display: block;
font-size:12pt;
text-align: center;
}
book abstract {
display: block;
margin-top: 3pt;
}
input {
display: block;
margin-left: auto;
margin-right: auto;
}
chapter {
display: block;
}
chapter title {
font-weight: bold;
font-size: 16pt;
display: block;
text-align: left;
margin-top: 12pt;
margin-bottom: 3pt;
}
section {
display: block;
}
section title {
display: block;
font-size: 10pt;
text-align: left;
margin-top: 12pt;
margin-bottom: 3pt;
}
contents {
display: block;
}
para {
display: block;
margin-bottom: auto;
margin-top: auto;
font-size:11pt;
}
link {
display: inline;
color: blue;
text-decoration: underline;
cursor: pointer;
}
list {
display: block;
margin-right: 0;
margin-bottom: auto;
margin-top: auto;
list-style-type: disc;
margin-left: 40px;
}
listitem {
display: list-item;
list-style-position: inside;
}
emph {
font-style: italic;
font-weight: bold;
}
ref {
font-style: italic;
}
heading {
font-weight: bold;
}
navbar {
font-family: Arial;
font-size: 10pt;
display: block;
float: right;
background-color: #CCE6F3;
color: darkblue;
width: 10em;
margin-right: 0.5em;
}
navbar title {
font-size: 10pt;
display: block;
background-color: black;
color: white;
margin-bottom:0px;
}
navbar content {
display: block;
padding: 0.3em;
border: 1px solid black;
font-size: 9pt;
}