98 lines
1.9 KiB
CSS
98 lines
1.9 KiB
CSS
/* Button box */
|
|
div.buttonbox {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
textarea.squared-input {
|
|
border-radius: 5px;
|
|
padding: 4px;
|
|
font-size: 1rem;
|
|
|
|
margin-bottom: 12px;
|
|
width: 400px;
|
|
min-height: 65px;
|
|
}
|
|
/* Common to all the answer buttons*/
|
|
button.squared-button {
|
|
border: 0;
|
|
border-radius: 5px;
|
|
color: #1F1A25;
|
|
font-family: Arial, sans-serif;
|
|
font-weight: 800;
|
|
text-transform: uppercase;
|
|
padding: 4px;
|
|
font-size: 1rem;
|
|
|
|
margin-bottom: 12px;
|
|
width: 400px;
|
|
min-height: 65px;
|
|
}
|
|
|
|
button.squared-button:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
button.squared-button:focus {
|
|
outline: none;
|
|
}
|
|
|
|
button.squared-button:active {
|
|
transform: translateY(4px);
|
|
}
|
|
|
|
/*@import url("https://fonts.googleapis.com/css?family=Muli:400,700,800&display=swap");
|
|
|
|
body {
|
|
background: #1F1A25;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 100vh;
|
|
}
|
|
*/
|
|
|
|
/* Color 1 */
|
|
button.squared-button.bcol1 {
|
|
background-color: #78E0DC;
|
|
box-shadow: 0 8px #2dc5bf;
|
|
}
|
|
button.squared-button.bcol1:hover, button.squared-button.bcol1:focus {
|
|
background-color: #4fd6d1;
|
|
}
|
|
|
|
button.squared-button.bcol1:active {
|
|
box-shadow: 0 3px #2dc5bf;
|
|
}
|
|
/* Color 2 */
|
|
button.squared-button.bcol2 {
|
|
background-color: #FDE74C;
|
|
box-shadow: 0 8px #d7bd02;
|
|
}
|
|
button.squared-button.bcol2:hover, button.squared-button.bcol2:focus {
|
|
background-color: #fcde0d;
|
|
}
|
|
button.squared-button.bcol2:active {
|
|
box-shadow: 0 3px #d7bd02;
|
|
}
|
|
/* Color 3 */
|
|
button.squared-button.bcol3 {
|
|
background-color: #B8B3E9;
|
|
box-shadow: 0 8px #867ec8;
|
|
}
|
|
button.squared-button.bcol3:hover, button.squared-button.bcol3:focus {
|
|
background-color: #b0acd9;
|
|
}
|
|
button.squared-button.bcol3:active {
|
|
box-shadow: 0 3px #867ec8;
|
|
}
|
|
/* Color 4 */
|
|
button.squared-button.bcol4 {
|
|
background-color: #4fd337;
|
|
box-shadow: 0 8px #339721;
|
|
}
|
|
button.squared-button.bcol4:hover, button.squared-button.bcol4:focus {
|
|
background-color: #40be29;
|
|
}
|
|
button.squared-button.bcol4:active {
|
|
box-shadow: 0 3px #339721;
|
|
} |