1/* $Id: syntax_plugin_nstoc.css,v 1.6 2008/03/28 07:52:34 matthias Exp $ 2 Cascading Style Sheet for NSTOC syntax plugin 3 Copyright (C) 2006, 2007 M.Watermann, D-10247 Berlin, FRG 4 EMail : <support@mwat.de> 5 6 NOTE: 7 This file is _not_ used by DokuWiki! 8 It is provided for informational purposes only. 9 If you want to change the styling rules either change the settings 10 in the file "style.css" or rename this file to "style.css". 11*/ 12div.level1 ul.nstoc, div.level2 ul.nstoc, div.level3 ul.nstoc, 13div.level4 ul.nstoc, div.level5 ul.nstoc, div.level6 ul.nstoc { 14 margin: 0; /* overwrite DokuWiki's default style */ 15 padding: 0; 16} 17ul.nstoc { 18 list-style-position: inside; 19 list-style-type: none; 20 font-size: 100%; 21 margin: 0; 22 padding: 0; 23 text-align: left; 24 line-height: 1.4; /* allow for ascenders/descenders */ 25} 26ul.nstoc li { 27 margin: 0; 28 padding: 0 0 0 0.5ex; 29 list-style-type: none; /* overwrite DokuWiki's default style */ 30} 31ul.nstoc li.level1 { 32 margin-top: 0.3ex; 33 padding: 0; 34 font-size: 111.1%; /* relative to "ul.nstoc" */ 35 font-weight: 500; 36 font-variant: small-caps; 37 letter-spacing: 1pt; 38 background: inherit; 39 color: #000; 40} 41ul.nstoc li.level2 { 42 font-variant: normal; 43} 44ul.nstoc li.level3 { 45 letter-spacing: normal; 46} 47ul.nstoc li.level2, 48ul.nstoc li.level3, 49ul.nstoc li.level4, 50ul.nstoc li.level5, 51ul.nstoc li.level6, 52ul.nstoc li.level7, 53ul.nstoc li.level8 { 54 font-size: 96.6%; /* relative to respective parent element */ 55 padding-left: 1.3ex; 56} 57ul.nstoc li a, 58ul.nstoc li a.wikilink1 { 59 background: inherit; 60 color: #003; 61 border: none; 62 font-size: inherit; /* parent's size, not that of other anchors */ 63 font-variant: inherit; 64 line-height: inherit; /* some browsers need this (e.g. Opera) */ 65 text-decoration: none; 66} 67/* Make sure, no template settings enter here */ 68ul.nstoc li a.wikilink1:before, 69ul.nstoc li a.wikilink1:after { 70 display: none; 71} 72ul.nstoc li a:hover, 73ul.nstoc li a.wikilink1:hover { 74 text-decoration: underline; 75} 76/* _EoF_ */ 77