Web/huszar/main.css
2021-11-02 07:56:51 +01:00

164 lines
2.4 KiB
CSS

td {
width: 45px;
height: 45px;
background-color: rgb(42,42,42);
border: 1px solid white;
padding: 0;
margin: 0;
font-size: 24px;
font-family: Arial, Helvetica, sans-serif;
}
#table{
margin: auto;
border: 2px solid black;
text-align: center;
user-select: none;
cursor: crosshair;
}
header{
margin: auto;
}
.input {
margin-bottom: 5px;
width: 110px;
}
.inline {
display: inline-block;
margin-right: 50px;
margin: auto;
padding: 10px;
border: 2px solid black;
border-radius: 4px;
}
.time{
display: inline;
text-align: center;
font-weight: bold;
font-size: 5em;
margin-right: 50px;
float: right;
}
.button {
background-color: #017310;
border: none;
color: white;
padding: 16px 32px;
text-align: center;
font-size: 16px;
margin: 4px;
opacity: 0.8;
transition: 0.3s;
display: inline-block;
text-decoration: none;
cursor: pointer;
}
article {
height: 100%;
}
.button:hover {opacity: 1}
footer {
text-align: center;
margin: auto;
bottom: 0;
}
.hard{
position: absolute;
width: 100px;
margin-right: auto;
margin-left: auto;
left: 50%;
}
/*radio buttons*/
.container {
display: block;
position: relative;
padding-left: 35px;
margin-bottom: 12px;
cursor: pointer;
font-size: 17px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
font-family: arial,sans-serif;
font-weight: bold;
}
.container input {
position: absolute;
opacity: 0;
cursor: pointer;
}
.checkmark {
position: absolute;
top: 0;
left: 0;
height: 25px;
width: 25px;
background-color: #eee;
border-radius: 50%;
}
.container:hover input ~ .checkmark {
background-color: #ccc;
}
.container input:checked ~ .checkmark {
background-color: #13e3eb;
}
.checkmark:after {
content: "";
position: absolute;
display: none;
}
.container input:checked ~ .checkmark:after {
display: block;
}
.container .checkmark:after {
top: 9px;
left: 9px;
width: 8px;
height: 8px;
border-radius: 50%;
background: white;
}
/*Cells*/
.cell:hover {
background-color: yellow !important;
}
.hardCell {
background-color: purple;
}
.stepCell {
background-color: lime;
}
.stepCell:hover {
background-color: yellow;
}
.hardCell.stepCell {
background-color: green;
}
.hardCell.stepCell:hover {
background-color: yellow;
}
.currentCell {
background-color: darkorange;
}
.passedCell {
background-color: red;
}