Get lithron at SourceForge.net. Fast, secure and Free Open Source software downloads
Translations of this page?:
[start]   [download]   [documentation]   [examples]   [development]   [sitemap]   [contact]
 

Lithron StyleSheet

Basic style definitions of xml-attributes of xml-tags.

Lithron

lithron	{
 display: lithron;
 font-family: helvetica;
 font-size: 10pt;
 line-height: 15pt;
}

Hier wird die Standardschrift definiert.

Files

file { display: file;  }

Pages

page {
 display: page;
 max-width: 14400pt;
 max-height: 14400pt;
}

Mediendatei

image		{ display: block-image; }

Block-Elements

p, div, ul, ol	{ display: block; }

Headlines

h1, h2, h3, h4, h5, h6, h7 {
 display: block;
 margin-top: 1em;
 margin-bottom: 0.5em;
 font-weight: bold
}
h1 { font-size: 200%;}
h2 { font-size: 150%;}
h3 { font-size: 130%;}
h4 { font-size: 120%;}
h5 { font-size: 110%;}
h6 { font-size: 100%;}
h7 { font-size: 100%;}

Beispiel

Lists

ul, ol	{ counter-reset: item; }
ol	{ list-style-type: decimal; }
ul	{ list-style-type: disc; }
li	{ display: list-item; padding-left:1em }

Font-Style

strong, b   {font-weight: bold; }
i, em       {font-style: italic; }
u           { text-decoration: underline; }

Contentflow

sink     { display: sink; }
well     { display: well; }
repeater { display: repeater; }

Breaks

br	 { white-space: pre; content: "\A"; }
cbr, pbr { white-space: pre; content: "\C"; }

Anchors

anchor      { display: inline; }
 
en/lithron_stylesheet.txt · Last modified: 2009/05/25 23:10 by schmunk
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki