1/*! 2 * DokuWiki Bootstrap3 Template: style.ini / Styling Plugin support 3 * 4 * Home http://dokuwiki.org/template:bootstrap3 5 * Author Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com> 6 * License GPL 2 (http://www.gnu.org/licenses/gpl.html) 7 * 8 * 9 * For more information about style.ini and replacements see: 10 * 11 * - https://www.dokuwiki.org/devel:style.ini 12 * - https://www.dokuwiki.org/plugin:styling 13*/ 14 15 16/* main text and background colors */ 17.text(@arg) when (iscolor(@arg)) { 18 color: @arg !important; 19} 20.background(@arg) when (iscolor(@arg)) {} 21 22/* alternative text and background colors */ 23.textAlt(@arg) when (iscolor(@arg)) { 24 color: @arg !important; 25} 26.backgroundAlt(@arg) when (iscolor(@arg)) {} 27 28/* neutral text and background colors */ 29.textNeu(@arg) when (iscolor(@arg)) { 30 color: @arg !important; 31} 32.backgroundNeu(@arg) when (iscolor(@arg)) {} 33 34/* border color */ 35.border(@arg) when (iscolor(@arg)) { 36 border-color: @arg !important; 37} 38 39/* highlighted text (e.g. search snippets) */ 40.highlight(@arg) when (iscolor(@arg)) { 41 color: @arg !important; 42} 43 44.backgroundSite(@arg) when (iscolor(@arg)) { 45 background-color: @arg !important; 46} 47 48/* these are used for links */ 49.link(@arg) when (iscolor(@arg)) { 50 color: @arg !important; 51} 52.existing(@arg) when (iscolor(@arg)) { 53 color: @arg !important; 54} 55.missing(@arg) when (iscolor(@arg)) { 56 color: @arg !important; 57} 58 59/** 60 61body { 62 .backgroundSite(@ini_background_site); 63 .text(@ini_text); 64} 65 66table, th, td, blockquote, pre, hr { 67 .border(@ini_border); 68} 69 70th { 71 .backgroundAlt(@ini_background_alt); 72} 73 74mark { 75 .highlight(@ini_highlight); 76} 77 78pre, code, samp, kbd { 79 .backgroundSite(@ini_background_site); 80 .text(@ini_text); 81} 82 83fieldset { 84 .textAlt(@ini_text_alt); 85} 86 87a:link, a:visited { 88 .link(@ini_link); 89} 90 91.dokuwiki a.wikilink1 { 92 .existing(@ini_existing); 93} 94 95.dokuwiki a.wikilink2 { 96 .missing(@ini_missing); 97} 98 99*/ 100