1*7744d923SNicolas Prigent<?php 2*7744d923SNicolas Prigent/** 3*7744d923SNicolas Prigent * Inline css to get variables and force styling on some elements 4*7744d923SNicolas Prigent */ 5*7744d923SNicolas Prigent 6*7744d923SNicolas Prigent// must be run from within DokuWiki 7*7744d923SNicolas Prigentif (!defined('DOKU_INC')) die(); 8*7744d923SNicolas Prigent 9*7744d923SNicolas Prigent?> 10*7744d923SNicolas Prigent 11*7744d923SNicolas Prigent<style> 12*7744d923SNicolas Prigentbody{ 13*7744d923SNicolas Prigent --kiwiki-sidebar-max-height:<?php echo $sidebarMaxHeight; ?>px; 14*7744d923SNicolas Prigent --kiwiki-toc-max-height:<?php echo $tocMaxHeight; ?>px; 15*7744d923SNicolas Prigent --kiwiki-content-max-width:<?php echo $contentMaxWidth; ?>; 16*7744d923SNicolas Prigent --kiwiki-content-width:<?php echo $contentWidth; ?>; 17*7744d923SNicolas Prigent --kiwiki-aside-width:<?php echo $asideWidth; ?>; 18*7744d923SNicolas Prigent --kiwiki-logo-url:url(<?php echo $logo; ?>); 19*7744d923SNicolas Prigent --kiwiki-logo-light-url:url(<?php echo $logolight ? $logolight : $logo; ?>); 20*7744d923SNicolas Prigent --kiwiki-logo-dark-url:url(<?php echo $logodark ? $logodark : $logo; ?>); 21*7744d923SNicolas Prigent 22*7744d923SNicolas Prigent} 23*7744d923SNicolas Prigent 24*7744d923SNicolas Prigentlabel[for="tpl____KIWIKI_DARK__"], label[for="tpl____KIWIKI_LIGHT__"] { 25*7744d923SNicolas Prigent font-weight: 700; 26*7744d923SNicolas Prigent padding: 20px 0 10px; 27*7744d923SNicolas Prigent display: block; 28*7744d923SNicolas Prigent font-size: 30px; 29*7744d923SNicolas Prigent} 30*7744d923SNicolas Prigent 31*7744d923SNicolas Prigent#tpl____KIWIKI_LIGHT__, #tpl____KIWIKI_DARK__ { 32*7744d923SNicolas Prigent display: none !important; 33*7744d923SNicolas Prigent} 34*7744d923SNicolas Prigent</style>