Шаблон:ColorButton: различия между версиями
Перейти к навигации
Перейти к поиску
Rodion (обсуждение | вклад) м (Rodion переименовал страницу Шаблон:Button в Шаблон:ColorButton без оставления перенаправления) |
Rodion (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
<div style="display: inline-block; padding: 8px 16px; background-color: #4CAF50; color: white; text-align: center; text-decoration: none; border-radius: 4px; font-weight: bold;"> | <div style=" | ||
display: inline-block; | |||
padding: 8px 16px; | |||
background-color: {{{color|#4CAF50}}}; <!-- Зелёный по умолчанию --> | |||
color: white; | |||
text-align: center; | |||
text-decoration: none; | |||
border-radius: 4px; | |||
font-weight: bold; | |||
transition: background-color 0.3s; | |||
"> | |||
[[{{{1|Страница назначения}}}|{{{2|Текст кнопки}}}]] | [[{{{1|Страница назначения}}}|{{{2|Текст кнопки}}}]] | ||
</div> | </div> | ||