Difference between revisions of "Template:Blue button"
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)); | ||
| − | + | 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 | + | border-radius: 6px; |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
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; | ||
| − | |||
| − | |||
| − | |||
| − | |||
overflow-y: visible; | overflow-y: visible; | ||
| − | padding | + | padding: 9px 14px; |
| − | |||
| − | |||
| − | |||
| − | |||
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> |
| − | |||
<noinclude> | <noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 17:02, 15 October 2017
Go on
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
| The above documentation is transcluded from Template:Blue button/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |