public void InjectCss(IGlobalContext context) { var cssRegistrator = context.Resolve <ICssRegistrator>(); var data = new CssData(); var sb = new StringBuilder(); cssRegistrator.InsertCss(data); data.RenderInto(sb); context.AddCss(BaseCss); context.AddCss(sb.ToString()); }
public void PostProcessing(IGlobalContext context) { var numConfig = context.Resolve <NumberingConfig>(); context.AddCss( CSS(numConfig.NumberingContainerCls, numConfig.NumberingNumberCls)); }
public void PostProcessing(IGlobalContext context) { context.AddCss(CSS(_config.ParagraphTocCssClass, _config.SpacerCssClass)); }
public void PostProcessing(IGlobalContext context) { context.AddCss(CSS); }
public void PostProcessing(IGlobalContext context) { context.AddCss(CSS(_config.WarningCssClass)); }