Difference between revisions of "Template:Troupe Infobox"
From A3! Wiki
(Pretty sure the css here isn't needed plus it is a bit weird on phone. Gonna revert and fix if this doesn't work) |
(Lol, failed but reverted) |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#css: |
+ | .infobox { | ||
+ | width: 25em; | ||
+ | text-align: center; | ||
+ | font-size: 90%; | ||
+ | border: 1px solid; | ||
+ | border-radius: 15px; | ||
+ | padding: 1em; | ||
+ | margin-top: 1em; | ||
+ | margin-left: 1em; | ||
+ | margin-bottom: 1em; | ||
+ | color: #000; | ||
+ | } | ||
+ | |||
+ | .spring th { | ||
+ | background: var(--spring); | ||
+ | color: #000; | ||
+ | } | ||
+ | |||
+ | .summer th { | ||
+ | background: var(--summer); | ||
+ | color: #000; | ||
+ | } | ||
+ | |||
+ | .autumn th { | ||
+ | background: var(--autumn); | ||
+ | color: #000; | ||
+ | } | ||
+ | |||
+ | .winter th { | ||
+ | background: var(--winter); | ||
+ | color: #000; | ||
+ | } | ||
+ | |||
+ | .spring { | ||
+ | background: var(--spring-light); | ||
+ | border: 1px solid var(--spring); | ||
+ | } | ||
+ | |||
+ | .summer { | ||
+ | background: var(--summer-light); | ||
+ | border: 1px solid var(--summer); | ||
+ | } | ||
+ | |||
+ | .autumn { | ||
+ | background: var(--autumn-light); | ||
+ | border: 1px solid var(--autumn); | ||
+ | } | ||
+ | |||
+ | .winter { | ||
+ | background: var(--winter-light); | ||
+ | border: 1px solid var(--winter); | ||
+ | } | ||
+ | |||
+ | @media screen and (max-width: 800px){ | ||
+ | margin: 1em; | ||
+ | } | ||
+ | }} | ||
{|class="infobox {{lc:{{{troupe|}}}}}" cellpadding="3" align="right" | {|class="infobox {{lc:{{{troupe|}}}}}" cellpadding="3" align="right" | ||
! align="center" | {{PAGENAME}} | ! align="center" | {{PAGENAME}} |
Revision as of 23:01, 30 September 2022
{{Troupe Infobox |troupe= |tagline= |image= |members= }}