wiki-archive/twiki/templates/styles.pattern.tmpl

57 lines
1.5 KiB
Cheetah

%TMPL:INCLUDE{"stylesdynamic"}%
%{ template leftbardimensions is included from viewleftbar.pattern.tmpl }%
%{ template topbardimensions is included from viewtopbar.pattern.tmpl }%
%TMPL:DEF{"stylesscreen"}%<style type="text/css" media="all">
%TMPL:P{"topbardimensions"}%
%TMPL:P{"leftbardimensions"}%
</style>
<style type="text/css" media="all">
%IF{ "$ TWIKILAYOUTURL" then="@import url('%TWIKILAYOUTURL%');"}%
%IF{ "$ TWIKISTYLEURL" then="@import url('%TWIKISTYLEURL%');"}%
%IF{ "$ TWIKICOLORSURL" then="@import url('%TWIKICOLORSURL%');"}%
</style>
<!--[if IE]>
<style type="text/css" media="screen">
pre {
overflow-x:auto;
padding-bottom:expression(this.scrollWidth > this.offsetWidth ? 16 : 0);
}
</style>
<![endif]-->
<!--[if lte IE 6]>
<style type="text/css">
#patternLeftBar {
position:relative; /* IE 5.5 needs this or the contents won't show outside the parent container on print. IE 6.0 needs it only during printable copy! */
}
</style>
<![endif]-->
%TMPL:P{"stylesdynamic"}%
<style type="text/css" media="all">
%IF{ "$ USERLAYOUTURL" then="@import url('%USERLAYOUTURL%');"}%
%IF{ "$ USERSTYLEURL" then="@import url('%USERSTYLEURL%');"}%
%IF{ "$ USERCOLORSURL" then="@import url('%USERCOLORSURL%');"}%
</style>
%TMPL:END%
%TMPL:DEF{"stylesprint"}%
<style type="text/css" media="all">
@import url("%PUBURLPATH%/%TWIKIWEB%/PatternSkin/print.css");
</style>
%TMPL:END%
%TMPL:DEF{"styles"}%
%TMPL:P{"stylesscreen"}%
%TMPL:P{"stylesprint"}%
%TMPL:END%