347 lines
5.2 KiB
CSS
347 lines
5.2 KiB
CSS
![]() |
/**
|
||
|
* These is an example for ODT styles coded in CSS
|
||
|
* for the DokuWiki basic formatting tags.
|
||
|
*
|
||
|
* Do not edit this file. Instead add your own styles in
|
||
|
* the configured template directory ('tpl_dir') and set it under
|
||
|
* config option 'odt_template'.
|
||
|
*
|
||
|
* Notice: this is pseudo CSS. It can include elements or properties
|
||
|
* which are not known to CSS but exist in ODT format as ODT XML
|
||
|
* attributes or which have meaning to the ODT plugin only.
|
||
|
*
|
||
|
* P.S.: to be able to upload CSS files with the media manager
|
||
|
* you need to edit DokuWiki's mime config file.
|
||
|
* See https://www.dokuwiki.org/mime for more information.
|
||
|
*/
|
||
|
|
||
|
/* Headings 1 to 5
|
||
|
* DokuWiki syntax: ====== Heading ======
|
||
|
*/
|
||
|
h1,
|
||
|
h2,
|
||
|
h3,
|
||
|
h4,
|
||
|
h5 {
|
||
|
font-family: "Bitstream Vera Sans";
|
||
|
font-weight: bold;
|
||
|
font-style: normal;
|
||
|
}
|
||
|
|
||
|
h1 {
|
||
|
font-size: 24pt;
|
||
|
}
|
||
|
|
||
|
|
||
|
h2 {
|
||
|
font-size: 18pt;
|
||
|
}
|
||
|
|
||
|
|
||
|
h3 {
|
||
|
font-size: 14pt;
|
||
|
}
|
||
|
|
||
|
h4 {
|
||
|
font-size: 12pt;
|
||
|
}
|
||
|
|
||
|
h5 {
|
||
|
font-size: 10pt;
|
||
|
}
|
||
|
|
||
|
/* Normal text
|
||
|
* DokuWiki syntax: Just text
|
||
|
*/
|
||
|
p {
|
||
|
font-style: normal;
|
||
|
margin-top: 0cm;
|
||
|
margin-bottom: 0.212cm;
|
||
|
text-align: justify;
|
||
|
}
|
||
|
|
||
|
/* Emphasized, italic text
|
||
|
* DokuWiki syntax: //Italic text//
|
||
|
*/
|
||
|
em {
|
||
|
font-style: italic;
|
||
|
}
|
||
|
|
||
|
/* Bold text
|
||
|
* DokuWiki syntax: **Bold text**
|
||
|
*/
|
||
|
strong {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
/* Underlined text
|
||
|
* DokuWiki syntax: __Underlined text__
|
||
|
*/
|
||
|
u {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
|
||
|
/* Monospaced text
|
||
|
* DokuWiki syntax: ''Monospaced text''
|
||
|
*/
|
||
|
code {
|
||
|
}
|
||
|
|
||
|
/* Deleted text
|
||
|
* DokuWiki syntax: <del>Deleted text</del>
|
||
|
*/
|
||
|
del {
|
||
|
text-decoration: line-through;
|
||
|
}
|
||
|
|
||
|
/* Preformatted Text
|
||
|
* DokuWiki syntax: <code>Preformatted text</code>
|
||
|
*/
|
||
|
pre {
|
||
|
font-family: "Bitstream Vera Sans Mono";
|
||
|
margin-top: 0cm;
|
||
|
margin-bottom: 0.2cm;
|
||
|
join-border: false;
|
||
|
}
|
||
|
|
||
|
/* Quotations
|
||
|
* DokuWiki syntax: > Quotation1
|
||
|
*/
|
||
|
quotation1,
|
||
|
quotation2,
|
||
|
quotation3,
|
||
|
quotation4,
|
||
|
quotation5 {
|
||
|
margin-top: 0.25cm;
|
||
|
margin-bottom: 0.25cm;
|
||
|
padding: 0.5cm;
|
||
|
}
|
||
|
|
||
|
quotation1 {
|
||
|
margin-left: 1cm;
|
||
|
border-left: 5pt solid #c0c0c0;
|
||
|
}
|
||
|
|
||
|
quotation2 {
|
||
|
margin-left: 2cm;
|
||
|
border-left: 5pt solid #9966cc;
|
||
|
}
|
||
|
|
||
|
quotation3 {
|
||
|
margin-left: 3cm;
|
||
|
border-left: 5pt solid #c5000b;
|
||
|
}
|
||
|
|
||
|
quotation4 {
|
||
|
margin-left: 4cm;
|
||
|
border-left: 5pt solid #579d1c;
|
||
|
}
|
||
|
|
||
|
quotation5 {
|
||
|
margin-left: 5cm;
|
||
|
border-left: 5pt solid #ff9966;
|
||
|
}
|
||
|
|
||
|
/* Table
|
||
|
* DokuWiki syntax: normal table syntax
|
||
|
* HINT: use pseudo property align (left, center, right)
|
||
|
* to align the whole table.
|
||
|
*/
|
||
|
table {
|
||
|
border-collapse: collapse;
|
||
|
margin-top: 0.25cm;
|
||
|
margin-bottom: 0.25cm;
|
||
|
}
|
||
|
|
||
|
/* Table heading
|
||
|
* DokuWiki syntax: normal table syntax
|
||
|
*/
|
||
|
th {
|
||
|
text-align: center;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
/* Table cell
|
||
|
* DokuWiki syntax: normal table syntax
|
||
|
*/
|
||
|
td {
|
||
|
border: 1pt solid black;
|
||
|
}
|
||
|
|
||
|
/* Horizontal line
|
||
|
* DokuWiki syntax: ----
|
||
|
*/
|
||
|
hr {
|
||
|
border-bottom: 0.04cm double #808080;
|
||
|
border-line-width-bottom: 0.002cm 0.035cm 0.002cm;
|
||
|
margin-bottom: 0.5cm;
|
||
|
}
|
||
|
|
||
|
/* Layouts for different list levels.
|
||
|
*
|
||
|
* You can also use images instead of numbers or bullets by using
|
||
|
* 'list-style-image: url('picture.png');' instead of 'list-style-type'.
|
||
|
*
|
||
|
* The base path is the media directory.
|
||
|
* So in this case the picture would be expected in file
|
||
|
* 'dokuwiki-installation-directory/data/media/picture.png'.
|
||
|
*/
|
||
|
|
||
|
/* Un-ordered list.
|
||
|
* DokuWiki syntax: * list item text
|
||
|
*/
|
||
|
/* Level 1
|
||
|
*/
|
||
|
ul {
|
||
|
list-style-type: disc;
|
||
|
margin-top: 0.5cm;
|
||
|
margin-bottom: 0.5cm;
|
||
|
}
|
||
|
|
||
|
/* Level 2
|
||
|
*/
|
||
|
ul ul {
|
||
|
list-style-type: circle;
|
||
|
}
|
||
|
|
||
|
/* Level 3
|
||
|
*/
|
||
|
ul ul ul {
|
||
|
list-style-type: square;
|
||
|
}
|
||
|
|
||
|
/* Level 4
|
||
|
*/
|
||
|
ul ul ul ul {
|
||
|
list-style-type: blackcircle;
|
||
|
}
|
||
|
|
||
|
/* Level 5
|
||
|
*/
|
||
|
ul ul ul ul ul {
|
||
|
list-style-type: heavycheckmark;
|
||
|
}
|
||
|
|
||
|
/* Level 6
|
||
|
*/
|
||
|
ul ul ul ul ul ul {
|
||
|
list-style-type: ballotx;
|
||
|
}
|
||
|
|
||
|
/* Level 7
|
||
|
*/
|
||
|
ul ul ul ul ul ul ul {
|
||
|
list-style-type: heavyrightarrow;
|
||
|
}
|
||
|
|
||
|
/* Level 8
|
||
|
*/
|
||
|
ul ul ul ul ul ul ul ul {
|
||
|
list-style-type: lightedrightarrow;
|
||
|
}
|
||
|
|
||
|
/* Level 9
|
||
|
*/
|
||
|
ul ul ul ul ul ul ul ul ul {
|
||
|
list-style-type: none;
|
||
|
}
|
||
|
|
||
|
/* Level 10
|
||
|
*/
|
||
|
ul ul ul ul ul ul ul ul ul ul {
|
||
|
list-style-type: bullet;
|
||
|
}
|
||
|
|
||
|
/* Ordered list.
|
||
|
* DokuWiki syntax: - list item text
|
||
|
*/
|
||
|
/* Level 1
|
||
|
*/
|
||
|
ol {
|
||
|
list-style-type: decimal;
|
||
|
}
|
||
|
|
||
|
/* Level 2
|
||
|
*/
|
||
|
ol ol {
|
||
|
list-style-type: decimal-leading-zero;
|
||
|
}
|
||
|
|
||
|
/* Level 3
|
||
|
*/
|
||
|
ol ol ol {
|
||
|
list-style-type: lower-alpha;
|
||
|
}
|
||
|
|
||
|
/* Level 4
|
||
|
*/
|
||
|
ol ol ol ol {
|
||
|
list-style-type: lower-latin;
|
||
|
}
|
||
|
|
||
|
/* Level 5
|
||
|
*/
|
||
|
ol ol ol ol ol {
|
||
|
list-style-type: lower-roman;
|
||
|
}
|
||
|
|
||
|
/* Level 6
|
||
|
*/
|
||
|
ol ol ol ol ol ol {
|
||
|
list-style-type: none;
|
||
|
}
|
||
|
|
||
|
/* Level 7
|
||
|
*/
|
||
|
ol ol ol ol ol ol ol {
|
||
|
list-style-type: upper-alpha;
|
||
|
}
|
||
|
|
||
|
/* Level 8
|
||
|
*/
|
||
|
ol ol ol ol ol ol ol ol {
|
||
|
list-style-type: upper-latin;
|
||
|
}
|
||
|
|
||
|
/* Level 9
|
||
|
*/
|
||
|
ol ol ol ol ol ol ol ol ol {
|
||
|
list-style-type: upper-roman;
|
||
|
}
|
||
|
|
||
|
/* Level 10
|
||
|
*/
|
||
|
ol ol ol ol ol ol ol ol ol ol {
|
||
|
list-style-type: decimal;
|
||
|
}
|
||
|
|
||
|
/* Internet link (not visited)
|
||
|
*/
|
||
|
a:link {
|
||
|
color: #000080;
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
|
||
|
/* Visited internet link
|
||
|
*/
|
||
|
a:visited {
|
||
|
color: #800000;
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
|
||
|
/* Local link (not visited)
|
||
|
*/
|
||
|
a.wikilink1:link {
|
||
|
color: #000000;
|
||
|
font-weight: bold;
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
|
||
|
/* Visited local link
|
||
|
*/
|
||
|
a.wikilink1:visited {
|
||
|
color: #000000;
|
||
|
font-weight: bold;
|
||
|
text-decoration: underline;
|
||
|
}
|