223 lines
3.0 KiB
CSS
223 lines
3.0 KiB
CSS
:root {
|
|
--form-control-color: violet;
|
|
}
|
|
|
|
* {
|
|
padding: 0;
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
background-color: #1E1E2E;
|
|
color: white;
|
|
margin: 10px;
|
|
}
|
|
|
|
p {
|
|
font-family: verdana;
|
|
font-size: 2em;
|
|
}
|
|
|
|
h1 {
|
|
color: violet;
|
|
font-size: 4em;
|
|
}
|
|
|
|
h2 {
|
|
color: violet;
|
|
font-size: 3em;
|
|
}
|
|
|
|
input[type=text] {
|
|
border 2px solid grey;
|
|
border-radius 4px;
|
|
padding: 12px 20px;
|
|
width: 100%;
|
|
font-size: 1.25em;
|
|
}
|
|
|
|
label {
|
|
padding: 10px;
|
|
margin: 10px;
|
|
}
|
|
|
|
li {
|
|
font-size: 1.5em;
|
|
padding: 10px;
|
|
margin: 10px;
|
|
}
|
|
|
|
ul {
|
|
padding: 10px 20px;
|
|
}
|
|
|
|
footer {
|
|
position: sticky;
|
|
width: 100%;
|
|
bottom: 0px;
|
|
font-size: 1em;
|
|
}
|
|
|
|
form {
|
|
width: 98%;
|
|
/* background-color: lightgrey; */
|
|
/* border: 4px solid grey; */
|
|
/* border-radius: 10px; */
|
|
margin: 10px 10px;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.form-control {
|
|
font-family: system-ui, sans-serif;
|
|
font-size: 2em;
|
|
font-weight: bold;
|
|
line-height: 1.1;
|
|
display: inline-block;
|
|
grid-template-columns: 1em auto;
|
|
gap: 0.5em;
|
|
}
|
|
|
|
input[type="radio"] {
|
|
/* Add if not using autoprefixer */
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
/* For iOS < 15 to remove gradient background */
|
|
background-color: #fff;
|
|
/* Not removed via appearance */
|
|
margin: 2px 40px;
|
|
font: inherit;
|
|
color: currentColor;
|
|
width: 1.15em;
|
|
height: 1.15em;
|
|
border: 0.15em solid currentColor;
|
|
border-radius: 50%;
|
|
transform: translateY(-0.075em);
|
|
display: grid;
|
|
place-content: center;
|
|
}
|
|
|
|
input[type="radio"]::before {
|
|
content: "";
|
|
width: 0.65em;
|
|
height: 0.65em;
|
|
border-radius: 50%;
|
|
transform: scale(0);
|
|
transition: 120ms transform ease-in-out;
|
|
box-shadow: inset 1em 1em var(--form-control-color);
|
|
background-color: CanvasText;
|
|
}
|
|
|
|
input[type="radio"]:checked::before {
|
|
transform: scale(1);
|
|
}
|
|
|
|
input[type="radio"]:focus {
|
|
outline: max(2px, 0.15em) solid currentColor;
|
|
outline-offset: max(2px, 0.15em);
|
|
}
|
|
|
|
.form-control:focus-within {
|
|
color: var(--form-control-color);
|
|
}
|
|
|
|
.form-control + .form-control {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.bg-dark {
|
|
background-color: violet;
|
|
}
|
|
|
|
.bg-light {
|
|
background-color: #ACFFFC;
|
|
}
|
|
|
|
.light {
|
|
color: violet;
|
|
}
|
|
|
|
.dark {
|
|
color: #ACFFFC;
|
|
}
|
|
|
|
.spaced-cnt {
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.grp-radio {
|
|
display: inline-block;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
padding: 20px 10px;
|
|
gap: 10px;
|
|
}
|
|
|
|
.flex-cnt {
|
|
flex-grow 1;
|
|
width: 100%;
|
|
min-height: 200px;
|
|
padding: 15px 5px;
|
|
}
|
|
|
|
.counter-container {
|
|
position: relative;
|
|
}
|
|
|
|
.counter {
|
|
position: absolute;
|
|
top: 2px;
|
|
right: 10px;
|
|
}
|
|
|
|
.counter-label {
|
|
position: relative;
|
|
top: 2px;
|
|
left: 10px;
|
|
}
|
|
|
|
.list {
|
|
position: relative;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.dark-radius {
|
|
border: 2px solid violet;
|
|
}
|
|
|
|
.light-radius {
|
|
border: 2px solid #ACFFFC;
|
|
}
|
|
|
|
.listHeader {
|
|
padding: 10px;
|
|
}
|
|
|
|
.centered {
|
|
display: block;
|
|
align-content: center;
|
|
margin: 0;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
#loginForm {
|
|
position: relative;
|
|
padding 40px;
|
|
margin 80px;
|
|
}
|
|
|
|
.btn {
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.btn-submit {
|
|
height 100px;
|
|
width: 100%;
|
|
padding: 10px;
|
|
font-size: 1.25em;
|
|
}
|