Difference between revisions of "Template:Blue button"

From blackwiki
Jump to navigation Jump to search
imported>Technical 13
(HTML5 standardization - replace 'font color="' with 'span style="color:' -- This looks like it could use a lot of other css cleanup as well... Maybe User:Edokter can look at it sometime?)
imported>Matt Fitzpatrick
(simplified and removed unnecessary css)
 
Line 7: Line 7:
 
background-color: #0064CD;
 
background-color: #0064CD;
 
background-image: -webkit-linear-gradient(top, rgb(4, 156, 219), rgb(0, 100, 205));
 
background-image: -webkit-linear-gradient(top, rgb(4, 156, 219), rgb(0, 100, 205));
background-repeat: repeat-x;
+
border: 1px solid rgba(0, 0, 0, 0.0976562);
 
border-bottom-color: rgba(0, 0, 0, 0.246094);
 
border-bottom-color: rgba(0, 0, 0, 0.246094);
border-bottom-left-radius: 6px;
+
border-radius: 6px;
border-bottom-right-radius: 6px;
 
border-bottom-style: solid;
 
border-bottom-width: 1px;
 
border-left-color: rgba(0, 0, 0, 0.0976562);
 
border-left-style: solid;
 
border-left-width: 1px;
 
border-right-color: rgba(0, 0, 0, 0.0976562);
 
border-right-style: solid;
 
border-right-width: 1px;
 
border-top-color: rgba(0, 0, 0, 0.0976562);
 
border-top-left-radius: 6px;
 
border-top-right-radius: 6px;
 
border-top-style: solid;
 
border-top-width: 1px;
 
 
box-shadow: rgba(255, 255, 255, 0.199219) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.046875) 0px 1px 2px 0px;
 
box-shadow: rgba(255, 255, 255, 0.199219) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.046875) 0px 1px 2px 0px;
 
color: white;
 
color: white;
Line 34: Line 20:
 
height: 18px;
 
height: 18px;
 
line-height: normal;
 
line-height: normal;
margin-bottom: 0px;
 
margin-left: 0px;
 
margin-right: 0px;
 
margin-top: 0px;
 
 
overflow-y: visible;
 
overflow-y: visible;
padding-bottom: 9px;
+
padding: 9px 14px;
padding-left: 14px;
 
padding-right: 14px;
 
padding-top: 9px;
 
text-decoration: none;
 
 
text-rendering: optimizelegibility;
 
text-rendering: optimizelegibility;
text-shadow: rgba(0, 0, 0, 0.246094) 0px -1px 0px;
+
text-shadow: rgba(0, 0, 0, 0.246094) 0px -1px 0px;">{{#if:{{{elink|}}}|[{{{elink}}} <span style="color: #FFF;">{{{text}}}</span>]|{{#if:{{{link|}}}|[[{{{link}}}|<span style="color: #FFF;">{{{text}}}</span>]]|{{{text|{{{1|Go on}}} }}} }} }}</span>
width: auto;">{{#if:{{{elink|}}}|[{{{elink}}} <span style="color: #FFF;">{{{text}}}</span>]|{{#if:{{{link|}}}|[[{{{link}}}|<span style="color: #FFF;">{{{text}}}</span>]]|{{{text|{{{1|Go on}}} }}} }} }}</span>
 
 
<noinclude>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 17:02, 15 October 2017

Go on

Template documentation[view] [edit] [history] [purge]

This makes a blue button. It's not the same as {{Big Blue Button}}.

Usage

{{blue button|link=Target of link|text=Text of link}}

For instance, {{blue button|link=google|text=google}} shows up as google