scanned-image-extractor/doc/scannerExtract.css

334 lines
5.9 KiB
CSS
Raw Normal View History

2024-01-29 23:24:37 +00:00
/*
* Copyright (c) 2001, 2003, 2010 The FreeBSD Documentation Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD: doc/share/misc/docbook.css,v 1.21 2012/01/25 22:16:36 wblock Exp $
*/
BODY ADDRESS {
line-height: 1.3;
margin: .6em 0;
}
BODY BLOCKQUOTE {
margin-top: .75em;
line-height: 1.3;
margin-bottom: .75em;
}
HTML BODY {
margin: 1em 8% 1em 10%;
line-height: 1.2;
}
/* .LEGALNOTICE { */
/* font-size: small; */
/* font-variant: small-caps; */
/* } */
/* legal notice box */
div.legalnotice
{
/* list of fonts provides fallbacks if a font is not present */
font-family: Verdana, Arial, Helvetica, Sans-Serif;
/* font size, relative to body font size */
font-size: 85%;
/* color: black */
color: #000;
/* background color: gray */
background-color: #ddd;
/* margin settings are top - right - bottom - left (think clockwise) */
margin: 5px 45px 5px 45px;
/* padding ("inner margin") settings are top - right - bottom - left */
/* (think clockwise) */
padding: 0px 5px 0px 5px;
/* solid black border, 1px wide */
border: 1px solid #000;
}
BODY DIV {
margin: 0;
}
DL {
margin: .8em 0;
line-height: 1.2;
}
DIV.CALLOUTLIST DT {
float: left;
width: 1em;
}
DIV.CALLOUTLIST DD {
clear: right;
margin-bottom: 1ex;
}
BODY FORM {
margin: .6em 0;
}
H1, H2, H3, H4, H5, H6,
DIV.EXAMPLE P B,
.QUESTION,
DIV.TABLE P B,
DIV.PROCEDURE P B {
color: #000066;
}
BODY H1, BODY H2, BODY H3, BODY H4, BODY H5, BODY H6 {
line-height: 1.3;
margin-left: 0;
}
BODY H1, BODY H2 {
margin: .8em 0 0 -4%;
}
BODY H3, BODY H4 {
margin: .8em 0 0 -3%;
}
BODY H5 {
margin: .8em 0 0 -2%;
}
BODY H6 {
margin: .8em 0 0 -1%;
}
BODY HR {
margin: .6em;
border-width: 0 0 1px 0;
border-style: solid;
border-color: #cecece;
}
BODY IMG.NAVHEADER {
margin: 0 0 0 -4%;
}
OL {
margin: 0 0 0 5%;
line-height: 1.2;
}
BODY PRE {
margin: .75em 0;
line-height: 1.0;
font-family: monospace;
}
BODY TD, BODY TH {
line-height: 1.2;
}
UL, BODY DIR, BODY MENU {
margin: 0 0 0 5%;
line-height: 1.2;
}
HTML {
margin: 0;
padding: 0;
}
BODY P B.APPLICATION {
color: #000000;
}
P {
text-align: justify;
}
.FILENAME {
color: #007a00;
}
SVNREF {
color: #007a00;
}
.GUIMENU, .GUIMENUITEM, .GUISUBMENU,
.GUILABEL, .INTERFACE,
.SHORTCUT, .SHORTCUT .KEYCAP {
font-weight: bold;
}
.GUIBUTTON {
background-color: #CFCFCF;
padding: 2px;
}
.ACCEL {
background-color: #F0F0F0;
text-decoration: underline;
}
.SCREEN {
padding: 1ex;
}
.PROGRAMLISTING {
padding: 1ex;
background-color: #eee;
border: 1px solid #ccc;
line-height: 1.1;
}
@media screen { /* hide from IE3 */
a[href]:hover { background: #ffa }
}
.INFORMALTABLE, .TABLE TH {
padding-left: 02.em;
text-align: left;
}
BLOCKQUOTE, .EXAMPLE, .PROGRAMLISTING {
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
-khtml-border-radius: 6px;
border-radius: 6px;
}
BLOCKQUOTE {
padding: 0 2ex;
}
BLOCKQUOTE.NOTE {
color: #222;
background: #eee;
border: 1px solid #ccc;
width: 85%;
}
BLOCKQUOTE.TIP {
color: #004F00;
background: #d8ecd6;
border: 1px solid green;
width: 85%;
}
BLOCKQUOTE.IMPORTANT {
font-style:italic;
border: 1px solid #a00;
border-left: 12px solid #c00;
}
BLOCKQUOTE.WARNING {
color: #9F1313;
background: #f8e8e8;
border: 1px solid #e59595;
width: 85%;
}
BLOCKQUOTE.CAUTION {
color: #3E3535;
background: #FFC;
border: 1px solid #e59595;
width: 85%;
}
.EXAMPLE {
background: #fefde6;
border: 1px solid #f1bb16;
margin: 1em 0;
padding: 0.2em 2em;
width: 90%;
}
.INFORMALTABLE TABLE.CALSTABLE TR TD {
padding-left: 1em;
padding-right: 1em;
}
.figure
{
/* margin settings are top - right - bottom - left (think clockwise) */
margin: 0 75px 0 75px;
/* no padding ("inner border") */
padding-top: 15px;
padding-bottom: 15px;
color: black;
/* center text */
text-align: center;
/* background color: gray */
background-color: #bbb;
/* solid black border, 1px wide */
/* border: 1px solid #000; */
border: 0
}
/* admonitions */
.warning, .caution, .tip, .note, .important {
border: 1px dashed grey;
padding: .5em;
margin-top: 1em;
}
.note{
background-color: #ddffff;
background: #deffce url("images/note.png") no-repeat left center;
}
.note h3, .warning h3, .caution h3, .tip h3, .important h3 {
margin: 0 0 0 2.5em;
}
.note p, .warning p, .caution p, .tip p, .important p {
margin-left: 3em;
}
/* FIXME: background colours are cheezy :S ... */
/* see language specific css for content: */
.warning {
background-color: red;
}
.caution {
background-color: yellow;
}
.tip {
background-color: #aaaddd;
}
.important {
background-color: plum;
}