forked from cory/tildefriends
chore(wiki): the button
class is now optional for input elements
This commit is contained in:
@ -17,7 +17,11 @@ body {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
button, .button {
|
||||
button,
|
||||
.button,
|
||||
input[type=button],
|
||||
input[type=submit],
|
||||
select {
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
padding: 8px 12px;
|
||||
@ -25,30 +29,30 @@ button, .button {
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
margin: 4px;
|
||||
}
|
||||
|
||||
button:hover, .button:hover {
|
||||
filter: brightness(0.75);
|
||||
}
|
||||
&.red {
|
||||
background-color: #bd1e24;
|
||||
color: white;
|
||||
}
|
||||
|
||||
button.red, .button.red {
|
||||
background-color: #bd1e24;
|
||||
color: white;
|
||||
}
|
||||
&.green {
|
||||
background-color: #18922d;
|
||||
color: white;
|
||||
}
|
||||
|
||||
button.green, .button.green {
|
||||
background-color: #18922d;
|
||||
color: white;
|
||||
}
|
||||
&.blue {
|
||||
background-color: #0067a7;
|
||||
color: white;
|
||||
}
|
||||
|
||||
button.blue, .button.blue {
|
||||
background-color: #0067a7;
|
||||
color: white;
|
||||
}
|
||||
&.yellow {
|
||||
background-color: #ee9600;
|
||||
color: black;
|
||||
}
|
||||
|
||||
button.yellow, .button.yellow {
|
||||
background-color: #ee9600;
|
||||
color: black;
|
||||
&:hover {
|
||||
filter: brightness(0.75);
|
||||
}
|
||||
}
|
||||
|
||||
a:link {
|
||||
|
Reference in New Issue
Block a user