My theme for forester (+plugins)

error/info blobs

+24 -6
+9 -1
core.xsl
··· 95 95 </center> 96 96 </xsl:template> 97 97 98 - <xsl:template match="f:error"> 98 + <xsl:template match="f:error | f:info"> 99 99 <span class="error"> 100 100 <xsl:apply-templates /> 101 101 </span> 102 102 </xsl:template> 103 + 104 + <xsl:template match="f:info"> 105 + <span class="info"> 106 + <xsl:apply-templates /> 107 + </span> 108 + </xsl:template> 109 + 110 + 103 111 104 112 <xsl:template match="f:tex[@f:display='block']"> 105 113 <xsl:text>\[</xsl:text>
+15 -5
style.css
··· 355 355 font-weight: 200; 356 356 } 357 357 358 - .error { 359 - color: rgb(255, 50, 50, .8); 360 - } 361 - 362 358 .block { 363 359 padding-left: 5px; 364 360 padding-right: 10px; ··· 596 592 list-style-type: lower-roman; 597 593 } 598 594 595 + .error, .info { 596 + border-radius: 4pt; 597 + padding-left: 3pt; 598 + padding-right: 3pt; 599 + padding-top: 1pt; 600 + padding-bottom: 2pt; 601 + font-weight: bold; 602 + } 603 + 599 604 .error { 600 605 background-color: red; 601 - font-weight: bold; 606 + color: white; 607 + } 608 + 609 + 610 + .info { 611 + background-color: #bbb; 602 612 color: white; 603 613 }