hollow-knight-completion-check/style.css
2020-09-05 23:27:11 +02:00

206 lines
No EOL
3.6 KiB
CSS

:root {
--rt-main: #1e406c;
}
html {
font-size: 17px;
font-weight: 300;
}
body {
font-family: 'Heebo', sans-serif;
margin: 0;
}
b {
font-weight: 500;
}
strong {
font-weight: 700;
}
#content {
max-width: 550px;
margin: 0 auto;
}
h1 {
font-size: 1.9rem;
margin: 0.6rem 0;
}
#h1-title {
text-align: center;
}
#save-area {
width: 100%;
height: calc(0.1 * 100vh);
margin: .5rem 0 .3rem 0;
font-family: monospace;
}
#save-area-read {
;
}
.buttons {
display: flex;
align-items: center;
justify-content: center;
}
.button {
display: flex;
font-size: 1rem;
font-weight: 500;
font-family: 'Heebo', sans-serif;
text-align: center;
background-color: #1e406c;
color: #e3ebf7;
border: 2px solid #122c4e;
padding: 0.3rem 1rem;
margin: 0 .5rem;
}
.button:hover {
background-color: #285188;
cursor: pointer;
}
.button:focus {
outline: 2px solid #529dff;
outline-offset: -2px;
}
#hk-hints {
display: none;
}
h2 {
margin: 0.6rem 0;
color: #737373;
}
p {
margin-top: 0.6rem;
margin-bottom: 0.6rem;
}
.horizontal-line {
padding-bottom: 1px;
background: linear-gradient(90deg, #e9e9e9 0%, #FFFFFF 75%);
}
.smalltext {
font-size: 0.8rem;
text-align: center;
}
.entryNo {
color: #d1d1d1;
}
.date {
font-size: 0.8rem;
color: #737373;
margin-left: 1rem;
}
a,
a:active,
a:visited {
color: black;
font-weight: 700;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.icon-cancel {
color: #f03a17;
}
.icon-ok-squared {
color: #16c60c;
}
.radio, .checkbox
{
position: relative;
display: block;
left: -40px;
padding: 4px;
margin-left: 10px;
}
input[type="checkbox"],
input[type="radio"]
{
margin-right: 10px;
}
.radio-label,
.checkbox-label
{
display: block;
position: relative;
padding: 0px 0px 0px 35px;
cursor: pointer;
font-size: 1rem;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
width: max-content;
}
.radiomark,
.checkmark
{
position: absolute;
top: 0;
left: 0;
height: 22px;
width: 22px;
background-color: #c1c8d1;
border: 1px solid #1e406c;
border: 1px solid var(--rt-main);
}
.radiomark { border-radius: 50%; }
/* Hide the browser's default checkbox */
.radio-label input,
.checkbox-label input
{
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}
/* On mouse-over change background color */
.radio-label:hover input ~ .radiomark,
.checkbox-label:hover input ~ .checkmark
{
background-color: #e1e6ee;
}
/* When the checkbox is checked change background color */
.radio-label input:checked ~ .radiomark,
.checkbox-label input:checked ~ .checkmark
{
background-color: #1e406c;
background-color: var(--rt-main);
}
/* Create the checkmark/indicator (hidden when not checked) */
.radiomark:after,
.checkmark:after
{
content: "";
position: absolute;
display: none;
}
/* Show the checkmark when checked */
.radio-label input:checked ~ .radiomark:after,
.checkbox-label input:checked ~ .checkmark:after
{
display: block;
}
/* Style the checkmark/indicator */
.checkbox-label .checkmark:after
{
left: 7px;
top: 2px;
width: 6px;
height: 12px;
border: solid #e3ebf7;
border-width: 0 2px 2px 0;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
/* Style the checkmark/indicator */
.radio-label .radiomark:after
{
top: 7px;
left: 7px;
width: 10px;
height: 10px;
border-radius: 50%;
background: #000;
}