flashcards/assets/main.css

73 lines
1.1 KiB
CSS

/* App-wide styling */
html {
}
body {
background-color: #0f1116;
color: #ffffff;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
margin: 20px;
}
form {
width: 100%;
text-align: center;
display: flex;
flex-direction: column;
font-size: 24px;
user-select: none;
> div {
width: 100%;
height: 80px;
display: flex;
margin-top: 10px;
align-items: center;
align-self: center;
box-sizing: border-box;
border: solid 2px unset;
&.selected {
border: solid 2px goldenrod;
}
&:hover:not(.selected) {
border: solid 1px gray;
}
> input[type="checkbox"] {
display: none;
scale: 1.5;
margin-right: 10px;
}
> label {
flex-grow: 1;
}
&:hover,
> *:hover {
cursor: pointer;
}
}
> input[type="submit"] {
margin-top: 40px;
height: 70px;
background-color: transparent;
border: none;
color: white;
font-size: 42px;
&:hover {
font-size: 48px;
color: goldenrod;
cursor: pointer;
}
&:focus {
outline: none;
}
}
}