chore(wiki): the button class is now optional for input elements

This commit is contained in:
2024-02-22 22:34:11 +01:00
parent 1d5cdf9607
commit e361c3f975
4 changed files with 28 additions and 23 deletions

View File

@ -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 {