coredoc.css revision 03d1e54dda83c69dfaf46d4845418aa178b757cd
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major/*
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * CCPL HEADER START
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major *
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * This work is licensed under the Creative Commons
87e1cbcd02820f55e1816ee4efe9e9127be22a11James Phillpotts * Attribution-NonCommercial-NoDerivs 3.0 Unported License.
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * To view a copy of this license, visit
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * http://creativecommons.org/licenses/by-nc-nd/3.0/
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * or send a letter to Creative Commons, 444 Castro Street,
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * Suite 900, Mountain View, California, 94041, USA.
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major *
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * You can also obtain a copy of the license at
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * legal/CC-BY-NC-ND.txt.
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * See the License for the specific language governing permissions
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * and limitations under the License.
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major *
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * If applicable, add the following below this CCPL HEADER, with the fields
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * enclosed by brackets "[]" replaced with your own identifying information:
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * Portions Copyright [yyyy] [name of copyright owner]
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major *
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * CCPL HEADER END
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major *
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * Copyright 2011-2012 ForgeRock AS
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major *
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major*/
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major/*
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * ForgeRock core documentation styles to be used with HTML
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * generated from DocBook 5 XML source.
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major */
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major/*
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major * Basic content and text styles
5ec701c9f8ccc403ee6fd3e41239df7dcd9faddeBruno Lavit */
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Majorbody
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major{
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major font-family: DejaVu, Verdana, Helvetica, Arial, sans-serif;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major /* TODO: is this the right way to restrict width? */
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major max-width: 800px;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major margin-left: auto;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major margin-right: auto;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major color: #333;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major}
d7acdbdfb47e51f588dbf7bafc4706000a44aca5Jonathan Scudder
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major/* START advice from http://diveintoaccessibility.org/day_26_using_relative_font_sizes.html */
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Majorp {
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major font-size: 12px;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major line-height: 1.3em;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major}
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major/*/*/a{}
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Majorbody p {
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major font-size: x-small;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major voice-family: "\"}\"";
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major voice-family: inherit;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major font-size: small;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major}
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Majorhtml>body p {
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major font-size: small;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major}
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major/* */
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major/* END advice from http://diveintoaccessibility.org/day_26_using_relative_font_sizes.html */
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Majora
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major{
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major text-decoration: none; /* Do not underline links. */
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major font-size: 12px;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major}
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Majora:link {
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major color:#47a;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major}
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Majora:visited {
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major color:#68a;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major}
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Majora:active, a:hover {
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major color:#990000;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major}
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Majorcode,.command>strong,div.literallayout,.filename
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major{
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major font-family: monospace;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major font-weight: normal;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major}
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Majorcode,.command,.copyright,div.index,div.literallayout>p,.filename,h3.author,.term,.step
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major{
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major font-size: 12px;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major font-weight: normal;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major}
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Majorh1
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major{
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major color: #626D75; /* ForgeRock gray */
87e1cbcd02820f55e1816ee4efe9e9127be22a11James Phillpotts font-size: 24px;
87e1cbcd02820f55e1816ee4efe9e9127be22a11James Phillpotts}
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Majorh2,h3,h4,h5,h6
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major{
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major color: #333;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major}
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Majorh2
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major{
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major font-size: 17px;
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major}
bb3c4ce56e9a932b502869e499389b6c467e1f9ePeter Major
h3
{
font-size: 15px;
}
h4
{
font-size: 14px;
}
h5
{
font-size: 13px;
}
hr
{
display: none;
}
ul
{
list-style-image: url("../images/bulletpoint.png");
}
/*
* Page navigation for chunked HTML
*/
div.navfooter,div.navheader,div.nukefooter
{
background-color: #fafafa;
}
div.navheader
{
border-bottom: thin solid #ccc;
}
/* Do not repeat the title at the top of the page. */
.navheader th
{
color: #fafafa; /* Same color as background. */
font-size: 0px; /* Take up as little space as possible. */
}
.navheader td,.navfooter td,.nukefooter td
{
font-size: x-small;
font-style: italic;
}
/*
* Block elements
*/
pre.programlisting,pre.screen,pre.flat
{
font-family: monospace;
white-space: pre;
background-color: #fafafa;
border: thin dashed #ccc;
padding: 6px;
}
pre.screen,pre.flat
{
text-indent: -18px;
}
.toggle
{
position: relative;
left: -40px;
float:left;
}
div.abstract,div.important,div.caution,div.note,div.tip,div.warning,div.example,div.toc
{
border: thin dotted #ccc;
padding: 6px;
}
div.chapter,div.preface
{
border-bottom: thin solid #ccc;
}
.important,.caution,.note,.tip,.warning
{
font-style: italic;
}
.abstract,.example,.toc
{
margin: 6px;
}
img
{
max-width: 640px;
height: auto;
max-height: 480px;
}
ol,th,td
{
font-size: 12px;
}
.table-contents
{
border-top: thin solid #ccc;
border-bottom: thin solid #ccc;
border-spacing: 5px;
}
.table-contents thead
{
text-align: left;
}
/*
* Man pages
*/
.refnamediv>h2,.refsect1>h2,.refsynopsisdiv>h2
{
font-size: 13px;
}
/* TODO: Man page div content should be indented more than the title. */