Template:ChapterBar: Difference between revisions

From Elwiki
(the blue looks out of place)
(Changed to match new Elwiki's theme)
 
Line 4: Line 4:
   border: 3px solid {{{ColorBorder|transparent}}};
   border: 3px solid {{{ColorBorder|transparent}}};
   padding: 3px;
   padding: 3px;
   border-radius: 16px;
   border-radius: 4px;
   align-items: stretch;"><!--
   align-items: stretch;"><!--
   -->{{#vardefine:prevCount | 0}}{{#forargs:PrevName
   -->{{#vardefine:prevCount | 0}}{{#forargs:PrevName
Line 23: Line 23:
     {{#ifexpr: {{#var:prevCount|0}} <= 0 | visibility: hidden; |}}
     {{#ifexpr: {{#var:prevCount|0}} <= 0 | visibility: hidden; |}}
     background-color: {{{ColorFg|#b3dfef}}};
     background-color: {{{ColorFg|#b3dfef}}};
     border-top-left-radius: 10px;
     border-top-left-radius: 4px;
     border-bottom-left-radius: 10px;
     border-bottom-left-radius: 4px;
     padding: .2rem .5rem;
     padding: .2rem .5rem;
     color: {{{ColorFgText|#fff}}};"><!--
     color: {{{ColorFgText|#fff}}};"><!--
Line 68: Line 68:
     {{#ifexpr: {{#var:nextCount|0}} <= 0 | visibility: hidden; |}}
     {{#ifexpr: {{#var:nextCount|0}} <= 0 | visibility: hidden; |}}
     background-color: {{{ColorFg|#b3dfef}}};
     background-color: {{{ColorFg|#b3dfef}}};
     border-top-right-radius: 10px;
     border-top-right-radius: 4px;
     border-bottom-right-radius: 10px;
     border-bottom-right-radius: 4px;
     padding: .2rem .5rem;
     padding: .2rem .5rem;
     color: {{{ColorFgText|#fff}}};"><!--
     color: {{{ColorFgText|#fff}}};"><!--

Latest revision as of 11:59, 21 October 2022