hollow-knight-completion-check/style.css
2020-09-24 18:52:26 +02:00

349 lines
No EOL
5.9 KiB
CSS

/* Font license info
## Font Awesome
Copyright (C) 2016 by Dave Gandy
Author: Dave Gandy
License: SIL ()
Homepage: http://fortawesome.github.com/Font-Awesome/
## Entypo
Copyright (C) 2012 by Daniel Bruce
Author: Daniel Bruce
License: SIL (http://scripts.sil.org/OFL)
Homepage: http://www.entypo.com
*/
:root {
--rt-main: #1e4d6c;
}
html {
font-size: 17px;
font-weight: 300;
}
body {
font-family: 'Heebo', sans-serif;
color: #fff;
background-color: #050d18;
margin: 0;
}
body::-webkit-scrollbar,
textarea::-webkit-scrollbar {
width: 8px;
height: 8px;
}
body::-webkit-scrollbar-track,
textarea::-webkit-scrollbar-track,
body::-webkit-scrollbar-track-piece,
textarea::-webkit-scrollbar-track-piece,
textarea::-webkit-resizer {
background-color: #050d18;
}
body::-webkit-scrollbar-thumb,
textarea::-webkit-scrollbar-thumb {
background-color: #1e4d6c;
}
body::-webkit-scrollbar-thumb:hover,
textarea::-webkit-scrollbar-thumb:hover {
background-color: #2e5d7c;
}
#background {
position: fixed;
padding: 0;
margin: 0;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url("img/hk-background.jpg");
background-size: auto 100%;
background-position: center top;
background-repeat: no-repeat;
z-index: 1;
}
#content {
max-width: 550px;
margin: 0 auto;
position: relative;
z-index: 1000;
}
b {
font-weight: 500;
color: #aac7d4;
}
strong {
font-weight: 700;
}
h1 {
font-size: 1.7rem;
color: #aac7d4;
margin: 0.6rem 0;
}
#h1-title {
text-align: center;
}
h2 {
text-align: center;
margin: 0.6rem 0;
color: rgba(231, 251, 255, 0.6);
}
textarea {
font-family: 'Consolas', monospace;
font-size: 0.8rem;
text-align: left;
background-color: rgba(0, 0, 0, 0);
color: #fff;
border: 1px solid #e3ebf7;
}
textarea::placeholder {
color: rgba(255, 255, 255, 0.5);
font-size: 1rem;
text-align: center;
}
#save-area {
width: 100%;
margin: .5rem 0 .3rem 0;
}
.buttons {
display: flex;
align-items: center;
justify-content: space-between;
}
.button {
display: flex;
font-size: 1rem;
font-weight: 500;
font-family: 'Heebo', sans-serif;
text-align: center;
background-color: #1e4d6c;
color: #aac7d4;
border: 2px solid #183c55;
padding: 0.3rem 1rem;
margin: 0;
}
.button:hover {
background-color: #2e5d7c;
border-color: #2e5d7c;
cursor: pointer;
}
.button:focus {
outline: 2px solid #5e8dac;
outline-offset: -2px;
}
p {
margin-top: 0.6rem;
margin-bottom: 0.6rem;
}
.hidden {
display: none;
}
.horizontal-line {
margin: 1rem 0;
height: 1.5rem;
width: 100%;
background-image: url("img/fleur-divide.png");
background-size: auto 100%;
background-position: center top;
background-repeat: no-repeat;
}
.smalltext {
font-size: 0.8rem;
text-align: center;
}
a,
a:active,
a:visited {
color: #aac7d4;
font-weight: 700;
text-decoration: none;
}
a:hover {
color: #d9f3ff;
text-decoration: none;
}
.icon-cancel {
color: #f03a17;
}
.icon-ok-squared {
color: #16c60c;
}
.icon-info-circled {
color: #479ae7;
}
.flex-container {
display: flex;
align-items: center;
justify-content: left;
}
.health-mask,
.soul-orb,
.geo-symbol {
display: flex;
width: auto;
height: 1.48rem;
margin: 0 0 0 0.3rem;
}
.soul-orb {
height: 1.3rem;
}
.geo-symbol {
margin-right: 0.15rem;
}
.padding-left {
display: flex;
padding-left: 1.4rem;
}
.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: inline-block;
position: relative;
padding: 0 0 0 1.8rem;
margin: 0 1rem 0 0;
cursor: pointer;
font-size: 1rem;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
width: max-content;
}
.checkbox-label:last-child {
margin-right: 0;
}
.radiomark,
.checkmark {
position: absolute;
top: 0;
left: 0;
height: 22px;
width: 22px;
background-color: #aac7d4;
border: 1px solid #1e4d6c;
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: #d9f3ff;
}
/* When the checkbox is checked change background color */
.radio-label input:checked~.radiomark,
.checkbox-label input:checked~.checkmark {
background-color: #1e4d6c;
background-color: var(--rt-main);
}
/* When the checkbox is checked change background color on hover */
.radio-label:hover input:checked~.radiomark,
.checkbox-label:hover input:checked~.checkmark {
background-color: #2e5d7c;
border-color: #2e5d7c;
}
/* 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 #aac7d4;
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;
}