Difference between revisions of "Template:Month"

From Nookipedia, the Animal Crossing wiki
(implementing theme-border to the template to allow color theme changes + removing deprecated html)
m (fixing errors)
 
Line 1: Line 1:
 
<!-- DESKTOP TEMPLATE -->
 
<!-- DESKTOP TEMPLATE -->
 
<div class="nomobile">
 
<div class="nomobile">
{| class="theme-border" style="margin: 0 auto; font-size: 0.9em; border:2px solid; {{roundy|10px}}; background:#fff; width:99%; margin: 5px; -moz-border-radius: 10px;"
+
{| class="theme-border" style="margin: 0 auto; font-size: 0.9em; border-width: 2px; {{roundy|10px}}; background:#fff; width:99%; margin: 5px; -moz-border-radius: 10px;"
 
|-
 
|-
 
| style="width: 8%; font-family: Coustard; {{roundyleft|7px}}; text-align:center; border:{{#switch: {{LOCALMONTHNAME}}|January=2px solid|#default=0px solid}} #bbd9f6; background:#{{#switch: {{LOCALMONTHNAME}}|January=e8f2fc|#default=d7d6f5}}"| [[January|<span style="color:#262390;">Jan</span>]]
 
| style="width: 8%; font-family: Coustard; {{roundyleft|7px}}; text-align:center; border:{{#switch: {{LOCALMONTHNAME}}|January=2px solid|#default=0px solid}} #bbd9f6; background:#{{#switch: {{LOCALMONTHNAME}}|January=e8f2fc|#default=d7d6f5}}"| [[January|<span style="color:#262390;">Jan</span>]]
Line 18: Line 18:
 
<!-- MOBILE TEMPLATE -->
 
<!-- MOBILE TEMPLATE -->
 
<div class="onlymobile">
 
<div class="onlymobile">
{| class="theme-border" style="margin: 0 auto; font-size: 0.9em; border:2px solid; {{roundy|10px}}; background:#fff; width:99%; margin: 5px; -moz-border-radius: 10px;"
+
{| class="theme-border" style="margin: 0 auto; font-size: 0.9em; border-width: 2px; {{roundy|10px}}; background:#fff; width:99%; margin: 5px; -moz-border-radius: 10px;"
 
|-
 
|-
 
| style="width: 8%; font-family: Coustard; {{roundytl|7px}}; text-align:center; border:{{#switch: {{LOCALMONTHNAME}}|January=2px solid|#default=0px solid}} #bbd9f6; background:#{{#switch: {{LOCALMONTHNAME}}|January=e8f2fc|#default=d7d6f5}}"| [[January|<span style="color:#262390;">Jan</span>]]
 
| style="width: 8%; font-family: Coustard; {{roundytl|7px}}; text-align:center; border:{{#switch: {{LOCALMONTHNAME}}|January=2px solid|#default=0px solid}} #bbd9f6; background:#{{#switch: {{LOCALMONTHNAME}}|January=e8f2fc|#default=d7d6f5}}"| [[January|<span style="color:#262390;">Jan</span>]]

Latest revision as of 22:21, September 15, 2022