Beispiel #1
0
    }
    $doc->addStyleDeclaration('  ' . $googleWebFontTargets . '{font-family:' . $googleWebFontFamily . ', serif !important}');
}
$doc->addStyleSheet($yt->baseurl() . 'templates/system/css/system.css', 'text/css');
$doc->addStyleSheet($yt->baseurl() . 'templates/system/css/general.css', 'text/css');
$doc->addStyleSheet($yt->templateurl() . 'css/base.css', 'text/css');
$doc->addStyleSheet($yt->templateurl() . 'css/template.css', 'text/css');
if (isset($yt_render->arr_TH['stylesheet'])) {
    foreach ($yt_render->arr_TH['stylesheet'] as $tagStyle) {
        $doc->addStyleSheet($yt->templateurl() . 'css/' . $tagStyle, 'text/css');
    }
}
//$doc->addStyleSheet($yt->templateurl().'css/css3.php?url='.$yt->templateurl(),'text/css');
$doc->addStyleSheet($yt->templateurl() . 'css/typography.css', 'text/css');
// Add css include from layout file
$arr_style = $yt->getStyleSite();
if (!empty($arr_style)) {
    $doc->addStyleSheet($yt->templateurl() . 'css/color/' . $arr_style['filestyle'] . '.css', 'text/css');
}
if ($yt->is_mobile) {
    $doc->addStyleSheet($yt->templateurl() . 'css/mobile.css', 'text/css');
}
if ($ytrtl == 'rtl') {
    $doc->addStyleSheet($yt->templateurl() . 'css/template_rtl.css', 'text/css');
    $doc->addStyleSheet($yt->templateurl() . 'css/typography_rtl.css', 'text/css');
    if ($yt->is_mobile) {
        $doc->addStyleSheet($yt->templateurl() . 'css/mobile_rtl.css', 'text/css');
    }
}
if ($yt->isIE()) {
    if ($yt->ieversion() == 7) {