1/** 2 * DokuWiki Plugin ExtList; definitionlist.less 3 * Extended List syntax 4 */ 5 6/* -------------------------------------------------------------------- 7 * Description List - definitionlist 8 * source: Definition List Plugin by Chris Smith <chris@jalakai.co.uk> 9 * https://www.dokuwiki.org/plugin:definitionlist 10 * -------------------------------------------------------------------- 11 */ 12dl.definitionlist { 13 margin: 0; 14 padding: 1px 0 0.5em 0; 15 border-bottom: 1px dashed #e0e0e0; 16 font-size: 90%; 17 18 dt { 19 clear: left; 20 margin: 0.5em 0 0 0; 21 } 22 23 dt+dt { 24 margin-top: 0; 25 } 26 27 dd+dt { 28 border-top: 1px dashed #e0e0e0; 29 padding-top: 0.5em; 30 } 31 32 /* compact */ 33 dt sapn.term, 34 dt span.wrap_compact, // require wrap plugin 35 dt.compact span { 36 float: left; 37 width: 10em; 38 } 39 40 dd { 41 margin: 0 0 0 10.3em; 42 // padding: 0 0 0 0.8em; 43 // background: irl(images/bullet.gif) nolepeat 0 0.4em; 44 /* modified for ExtList plugin */ 45 margin: 0 0 0 calc(~"10em + 1.2em"); 46 position: relative; 47 } 48 49 dd p { 50 margin: 0; 51 padding: 0; 52 } 53 54} 55 56