<$ var AbstTextOben = article.value('text-nach-oben', ''); var AbstTextUntenCalc = article.value('text-nach-unten-calc', ''); var TShad = article.value('text-shad', ''); var TAusr = article.value('t-ausr', ''); var TAbstRL = article.value('t-abst-rl', ''); var FontFam = article.value("font-fam",""); var TextCol = article.value('text-col', ''); var TextGr = article.value('text-gr', ''); var TextGew = article.value('text-gew', ''); var ColPfeil = article.value('pfeil-col', ''); var PfeilShad = article.value('pfeil-shad', ''); var AbstPfeil = article.value('pfeil-abst', ''); var headstyle = ""; headstyle += '.wzp-header-video-text {'; headstyle += 'margin-top:-' + AbstTextOben + 'px;'; headstyle += 'text-shadow:2px 2px 0px ' + TShad + ';'; headstyle += 'margin-bottom:calc(' + AbstTextOben + 'px - ' + AbstTextUntenCalc + 'px);'; headstyle += 'text-align:' + TAusr + ';'; headstyle += 'padding:0 ' + TAbstRL + ';'; headstyle += '}\n'; headstyle += '.wzp-header-video-text h1 {'; headstyle += 'color:' + TextCol + ';'; headstyle += 'font-size:' + TextGr + ' !important;'; headstyle += 'font-weight:' + TextGew + ';'; headstyle += 'font-family:' + FontFam + ' !important;'; headstyle += '}\n'; headstyle += '.wzp-header-video-text h2 {'; headstyle += 'color:' + TextCol + ';'; headstyle += 'font-size:' + TextGr + ' !important;'; headstyle += 'font-weight:' + TextGew + ';'; headstyle += 'font-family:' + FontFam + ' !important;'; headstyle += '}\n'; headstyle += '.wzp-header-video-text h3 {'; headstyle += 'color:' + TextCol + ';'; headstyle += 'font-size:' + TextGr + ' !important;'; headstyle += 'font-weight:' + TextGew + ';'; headstyle += 'font-family:' + FontFam + ' !important;'; headstyle += '}\n'; headstyle += '.wzp-header-video-text h4 {'; headstyle += 'color:' + TextCol + ';'; headstyle += 'font-size:' + TextGr + ' !important;'; headstyle += 'font-weight:' + TextGew + ';'; headstyle += 'font-family:' + FontFam + ' !important;'; headstyle += '}\n'; headstyle += '.wzp-header-video-text p {'; headstyle += 'color:' + TextCol + ';'; headstyle += 'font-size:' + TextGr + ' !important;'; headstyle += 'font-weight:' + TextGew + ';'; headstyle += 'font-family:' + FontFam + ' !important;'; headstyle += '}\n'; headstyle += '.wzp-header-video-pfeil span {'; headstyle += 'box-shadow: 5px 5px 0px ' + ColPfeil + ', 10px 10px 5px ' + PfeilShad + ';'; headstyle += ' margin:-' + AbstPfeil + 'px 0 30px 0;'; headstyle += '}\n'; var BreakPfeil = article.value("pfeil-ausbl",""); headstyle += '@media (max-width: ' + BreakPfeil + 'px) {\n'; headstyle += '.wzp-header-video-pfeil span {'; headstyle += 'display:' + 'none;'; headstyle += '}\n'; headstyle += '.wzp-header-video-text {'; headstyle += 'margin-top:calc(-' + AbstTextOben + 'px + ' + AbstPfeil + 'px);'; headstyle += 'margin-bottom:calc(' + AbstTextOben + 'px - ' + AbstTextUntenCalc + 'px + ' + AbstPfeil + 'px + 20px);'; headstyle += '}\n'; headstyle += '}'; var BreakText = article.value("break",""); var MobTextAbst = article.value("mob-text-abst",""); var MobSize = article.value("mob-size",""); var MobGew = article.value("mob-gew",""); var MobCol = article.value("mob-col",""); headstyle += '@media (max-width: ' + BreakText + 'px) {\n'; headstyle += '.wzp-header-video-text {'; headstyle += 'margin-top:' + MobTextAbst + 'px;'; headstyle += ' margin-bottom:0;'; headstyle += ' text-shadow:none;'; headstyle += '}\n'; headstyle += '.wzp-header-video-text h1 {'; headstyle += 'font-size:' + MobSize + ' !important;'; headstyle += 'font-weight:' + MobGew + ';'; headstyle += 'color:' + MobCol + ';'; headstyle += '}\n'; headstyle += '.wzp-header-video-text h2 {'; headstyle += 'font-size:' + MobSize + ' !important;'; headstyle += 'font-weight:' + MobGew + ';'; headstyle += 'color:' + MobCol + ';'; headstyle += '}\n'; headstyle += '.wzp-header-video-text h3 {'; headstyle += 'font-size:' + MobSize + ' !important;'; headstyle += 'font-weight:' + MobGew + ';'; headstyle += 'color:' + MobCol + ';'; headstyle += '}\n'; headstyle += '.wzp-header-video-text h4 {'; headstyle += 'font-size:' + MobSize + ' !important;'; headstyle += 'font-weight:' + MobGew + ';'; headstyle += 'color:' + MobCol + ';'; headstyle += '}\n'; headstyle += '.wzp-header-video-text p {'; headstyle += 'font-size:' + MobSize + ' !important;'; headstyle += 'font-weight:' + MobGew + ';'; headstyle += 'color:' + MobCol + ';'; headstyle += '}\n'; headstyle += '}'; system.addHtmlHeadElement("\n" + headstyle + "\n"); $> <$=system.partial("article-begin.html")$>
<$ var TEXT = (article.value("text-1")); if (!isNull(TEXT)){ var TEXTAUSZ = article.value("textausz-1", ""); var STYLE = article.value("style-1", ""); $> <<$= TEXTAUSZ $> style="<$= STYLE $>"><$= TEXT $>> <$ } $> >
<$=system.partial("article-end.html")$>