Difference between revisions of "Template:Summertimesaga button"

From Summertime Saga Wiki
Jump to: navigation, search
m
m
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
1: <kbd style="padding:0.2em 0.6em; border:1px solid #8B94AA; border-radius:1px; background-image:linear-gradient(#FCFCFC, #E0E0E0); {{#ifeq:{{{format|}}}|bold|font-weight:bold;}} font-family:sans-serif; white-space:nowrap; {{#if:{{{blue|}}}|background:#3F4562; color:white;}} {{#if:{{{red|}}}|background:#702F36; color:white;}}">{{{1|Hello, World!}}}</kbd>
+
<kbd style="padding:0.2em 0.6em; border:1px solid #8B94AA; border-radius:2px; font-family:sans-serif; font-size:1em; white-space:nowrap; {{#if:{{{color|}}}|color:white; background-image:linear-gradient(to bottom, {{#switch: {{{color}}} |blue=#5A6086, #3F4454 |red=#9C4D56, #702F36}}|background-image:linear-gradient(to bottom, #FCFCFC, #E0E0E0}});">{{{1|Button}}}</kbd><noinclude>[[Category:Templates]][[Category:Semantic markup templates]]</noinclude>
 
 
2: <strong {{#if:{{{color|}}}|style="background-color:{{{color}}};"}}>{{{1}}}</strong>
 
 
 
3: <strong {{#if:{{{color|}}}|style="background-color:red;"}}>{{{1}}}</strong>
 
 
 
4: <strong {{#if:{{{red|}}}|style="background-color:red;"}}>{{{1}}}</strong>
 
 
 
5: <strong {{#if:{{{color|}}}|style="background-color:{{#switch: {{{color}}} |blue=#3F4562 |red=#702F36}};"}}>{{{1}}}</strong>
 

Latest revision as of 15:05, 25 July 2020

Button