|
mySkin.cssThis - skin related - CSS file is one of a series of CSS files that zoglair evaluates, compacts and serves as a single and combined site-wide CSS. Specifically, zoglair searches for and evaluates the following stylesheets, in the exact listed order:
In cases 1,2,3 and 6, the asterisk is replaced with the name of the active skin. First, zoglair looks for the particular CSS file in the skin's folder. If it does not exist, the corresponding As you can see in the above list, The expected/recommended code, inside a CSS file, is the following: <?php extract($this->get_style(), EXTR_PREFIX_ALL, 's'); $css = <<<EOS /* Enter your rules here */ EOS; echo $css; You may copy/paste the above code as is. In the place denoted as To use a variable, prefix it with <?php extract($this->get_style(), EXTR_PREFIX_ALL, 's'); $css = <<<EOS /** * body */ body { margin : $s_view_margin; background : $s_view_bg; color : $s_view_clr; } body a { color : $s_view_lic; } /** * Layout divs */ #page { width : $s_page_width; margin : 0 auto; } #logo { margin-bottom : {$s_padding}px; } ... EOS; echo $css; |