hollow-knight-silksong-comp.../src/css/style.css
2021-08-04 15:17:53 +02:00

906 lines
No EOL
16 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;
cursor: default;
}
html {
font-size: 17px;
font-weight: 300;
}
body {
font-family: 'Heebo', sans-serif;
color: #fff;
background-color: #050d19;
margin: 0;
overflow: auto;
}
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-thumb {
background-color: #1e4d6c;
}
::-webkit-scrollbar-thumb:hover {
background-color: #2e5d7c;
}
::-webkit-scrollbar-track,
::-webkit-scrollbar-track-piece {
background: url("../img/scrollbar-track.png") repeat-y !important;
}
::-webkit-resizer {
background-color: #050d19;
color: #1e4d6c;
}
#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;
background-attachment: fixed;
z-index: 1;
}
#content {
max-width: 600px;
margin: 0 auto;
padding: 0 .6rem;
position: relative;
z-index: 1000;
}
b {
font-weight: 500;
color: #aac7d4;
}
p {
margin-top: 0.6rem;
margin-bottom: 0.6rem;
}
del {
text-decoration: none;
opacity: 0.5;
}
strong {
font-weight: 700;
}
h1 {
font-size: 2.3rem;
color: #fff;
margin: 2rem 0 0 0;
}
#h1-title {
font-family: 'Cinzel', 'Times New Roman', serif;
font-weight: 400;
text-align: center;
line-height: 2rem;
}
#sub-title {
font-family: 'Cinzel', 'Times New Roman', serif;
font-weight: 400;
text-align: center;
font-size: 1.2rem;
margin: 0 0 1rem 0;
line-height: 1.5rem;
}
h2 {
font-family: 'Cinzel', 'Times New Roman', serif;
text-align: center;
margin: 0.6rem 0;
color: #fff;
font-weight: 400;
}
h6 {
text-align: center;
font-size: 1.2rem;
font-weight: 500;
margin: 0.6rem 0;
color: rgba(231, 251, 255, 0.6);
}
.hall-of-fame {
color: rgba(0, 255, 220, 0.6);
}
#hk-hints {
border: 0.2rem solid rgba(231, 251, 255, 0.33);
border-radius: 1rem;
border-style: double;
padding: 1.3rem;
margin: 1.3rem;
}
#h2-hk-hints {
margin-top: 0;
color: rgba(255, 255, 255, 1.0);
font-weight: 400;
text-align: left;
}
.section-description {
text-align: center;
font-size: 0.8rem;
margin: 0 1.3rem 1.3rem 1.3rem;
color: rgba(129, 221, 224, 0.85);
}
#save-location-input {
display: block;
font-family: 'Consolas', monospace;
font-size: 0.75rem;
text-align: center;
width: 100%;
max-width: 32em;
color: #fff;
background-color: rgba(128, 128, 128, 0.5);
margin: 0.4rem auto 0.6rem auto;
padding: 0.16rem 0.5rem 0.25rem 0.5rem;
border: 1px solid rgba(231, 251, 255, 0.6);
border-radius: 3px;
}
#save-location-input:focus {
outline: 0;
border: 1px solid rgba(231, 251, 255, 0.8);
}
input {
font-family: 'Heebo', sans-serif;
font-size: 1rem;
text-align: left;
}
textarea {
font-family: 'Consolas', monospace;
font-size: 0.8rem;
text-align: left;
background-color: rgba(0, 0, 0, 0);
color: #fff;
caret-color: #fff;
border: 1px solid #e3ebf7;
padding: 2px;
margin: 0.5rem 2px 0.5rem 2px;
overflow-x: hidden;
overflow-y: scroll;
/* These are technically the same, but use both */
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
/* This is the dangerous one in WebKit, as it breaks things wherever */
word-break: break-all;
/* Instead use this non-standard one: */
word-break: break-word;
/* Adds a hyphen where the word breaks, if supported (No Blink) */
-ms-hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
hyphens: none;
}
textarea:focus {
border-color: rgba(0, 0, 0, 0);
box-shadow: 0 0 4px 2px #fff;
outline: 0;
/* outline: #fff 2px solid;
outline-offset: 1px; */
}
textarea::placeholder {
color: rgba(255, 255, 255, 0.5);
font-size: 1rem;
text-align: center;
caret-color: #fff;
}
input[type="file"] {
/* max-width: 500px; */
/* margin: 0.5rem 0.5rem 0.5rem 0.25rem; */
}
.input-file {
width: 0.1px;
height: 0.1px;
opacity: 0;
overflow: hidden;
position: absolute;
z-index: -1;
}
#file-input-label {
max-width: 325px;
}
#save-area {
display: block;
width: 100%;
max-width: 592px;
height: 5.65rem;
}
#drop-area {
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 9999;
visibility: hidden;
}
#drop-area-inside {
background-color: rgba(38, 189, 38, 0.5);
border: 0.3rem dashed rgba(38, 189, 38, 0.85);
border-radius: 1rem;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 9000;
}
#drop-area #drop-area-inside.highlight {
border-color: rgb(61, 228, 61);
}
.code-little {
font-family: 'Consolas', monospace;
font-size: 0.7rem;
text-align: left;
margin: 0 0 0 0.5rem;
color: #fff;
}
.hint {
display: block;
font-style: italic;
}
.single-entry .spoiler-span,
.single-entry .spoiler-span-green {
margin-left: 0.4rem;
}
.spoiler-span.blurred:hover {
cursor: default;
}
.hint::first-letter {
position: absolute;
float: left;
margin-right: 0.6rem;
margin-top: 0.5rem;
font-size: 2.8rem;
line-height: 0.8;
font-weight: 500;
}
.buttons {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.input-buttons {
display: flex;
flex-direction: column;
}
.tab-switch-buttons {
display: flex;
flex-wrap: wrap;
flex-direction: row;
align-items: center;
justify-content: center;
margin: 1rem 0;
}
.checkboxes {
margin-top: 0rem;
}
.button {
display: inline-flex;
align-content: center;
align-items: center;
width: max-content;
font-size: 1rem;
font-weight: 500;
font-family: 'Heebo', sans-serif;
text-align: center;
background-color: #1e4d6c;
color: #aac7d4;
border: 2px solid #183c55;
border-radius: 2px;
padding: 0.3rem 1rem;
margin: 0.25rem 0.5rem 0.25rem 0.25rem;
transition: all 0.3s ease;
}
.button:first-child {
margin-left: 0.25rem;
}
.button:hover {
color: #d9f3ff;
background-color: #2e5d7c;
border-color: #2e5d7c;
cursor: pointer;
}
.button:focus,
.input-file:focus+label {
/* outline: 2px solid #5e8dac; */
outline: 0;
border-color: #5e8dac;
/* outline-offset: -2px; */
}
.button:focus:not(:focus-visible) {
border-color: rgba(0, 0, 0, 0);
}
.tab-switch {
background-color: rgba(0, 0, 0, 0);
color: rgb(0, 180, 156);
border: 2px solid rgba(0, 0, 0, 0);
border-radius: 1rem 0 1rem 0;
}
.tab-switch:hover {
background-color: rgb(0, 180, 156);
color: rgb(0, 0, 0);
border: 2px solid rgba(0, 0, 0, 0);
}
.tab-active {
background-color: rgb(235, 235, 235);
color: rgb(0, 39, 34);
border: 2px solid rgba(0, 0, 0, 0);
box-shadow: 0 0 1rem rgb(0, 180, 156);
}
.tab-switch:focus {
outline: 0;
border-color: rgb(0, 255, 221);
}
.tab-switch:focus:not(:focus-visible) {
border-color: rgba(0, 0, 0, 0);
}
.centered {
flex-direction: row;
align-items: center;
}
@media screen and (max-width: 570px) {
.centered {
flex-direction: column;
align-items: center;
}
}
@media screen and (max-width: 400px) {
.buttons {
flex-direction: column;
align-items: center;
}
.input-buttons {
align-items: center;
justify-content: center;
}
.checkboxes {
margin-top: 0.8rem;
}
}
.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;
}
@media screen and (max-width: 460px) {
.horizontal-line {
height: 1.15rem;
}
}
@media screen and (max-width: 360px) {
.horizontal-line {
height: 0.9rem;
}
}
.smalltext {
font-size: 0.8rem;
text-align: center;
}
a,
a:active,
a:visited {
display: inline-block;
color: #aac7d4;
font-weight: 700;
text-decoration: none;
transition: all 0.3s ease;
}
a:hover {
color: #d9f3ff;
text-decoration: none;
text-shadow: 0 0 0.6em #1bff73;
}
a.button:active,
a.button:visited {
font-weight: 500;
}
a.button:hover {
text-shadow: none;
}
a.wiki {
font-weight: 500;
}
.link-social {
margin: 0.25rem;
}
.icon-cancel {
color: #f03a17;
}
.icon-ok-squared {
color: #16c60c;
}
.partial {
color: rgba(255, 255, 255, 0.18);
/* text-shadow: 0 0 0.3rem #fff; */
}
.icon-info-circled {
color: #479ae7;
}
.icon-download-cloud,
.icon-doc-text-inv {
color: #d9f3ff;
}
.flex-container {
display: flex;
flex-wrap: wrap;
flex-direction: row;
align-items: normal;
justify-content: left;
}
.flex-row {
flex-direction: row;
}
.align-center {
align-items: center;
}
.soul-orb:first-child {
margin-left: 0.3rem;
}
.health-mask,
.soul-orb,
.geo-symbol,
.notch {
width: auto;
height: 1.48rem;
margin: 0 0 0 0.3rem;
}
.notch {
padding-left: 0.3rem;
margin-left: -0.6rem;
}
.soul-orb {
height: 1.3rem;
padding-left: 0.3rem;
margin-left: -0.15rem;
}
.geo-symbol {
margin-right: 0.15rem;
}
.padding-left {
padding-left: 1.4rem;
height: 1.47rem;
}
.p-left-small {
display: inline;
padding-left: 0.3rem;
height: 1.47rem;
}
.scroll-up-button {
width: 50px;
height: 50px;
text-decoration: none;
background-color: #1e4d6c;
border: 0;
border-radius: 2px;
outline: 0;
position: fixed;
right: 1px;
bottom: 0;
z-index: 1100;
opacity: 0;
transition: all 0.3s ease;
}
.scroll-up-button:hover {
background-color: #2e5d7c;
cursor: pointer;
}
.scroll-up-button-arrow {
position: relative;
left: 12px;
top: 3px;
width: 12px;
height: 12px;
border: solid #aac7d4;
border-width: 2px 0px 0px 2px;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
.hidden {
display: none;
}
.visible-block {
display: block;
}
.opacity-none {
opacity: 0;
}
.opacity-full {
opacity: 1;
}
.wiki.blurred {
color: #0000;
background-color: #cfffed2d;
transition: all 0.3s ease;
}
.blurred {
color: #0000;
background-color: #ffffff1f;
/* filter: blur(5px);
-webkit-filter: blur(5px); */
transition: all 0.3s ease;
}
.blurred:hover {
/* filter: none;
-webkit-filter: none; */
color: inherit;
background-color: inherit;
}
.spoiler-text {
display: inline;
/* These are technically the same, but use both */
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
/* This is the dangerous one in WebKit, as it breaks things wherever */
word-break: break-all;
/* Instead use this non-standard one: */
word-break: break-word;
/* Adds a hyphen where the word breaks, if supported (No Blink) */
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
.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.25rem 1rem 0.25rem 0.5rem;
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;
}
input[type="checkbox"]:focus + label,
input[type="radio"]:focus + label {
outline: 0;
box-shadow: 0 0 0.2rem #aac7d4;
}
input[type="checkbox"]:focus:not(:focus-visible) + label,
input[type="radio"]:focus:not(:focus-visible) + label {
outline: 0;
/* box-shadow: 0 0 0.2rem #aac7d4; */
}
.tooltip {
position: relative;
display: block;
margin: 0;
width: 100%;
}
.tooltip .tooltip-text {
visibility: hidden;
width: max-content;
background-color: #1e4d6c;
color: #d9f3ff;
font-size: 0.85rem;
text-align: center;
border-radius: 3px;
padding: 0.16rem 0.7rem;
position: absolute;
z-index: 1;
bottom: 130%;
left: 50%;
margin-left: -108.5px;
opacity: 0;
transition: opacity 0.3s;
}
.tooltip .tooltip-text::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #1e4d6c transparent transparent transparent;
}
.tooltip:hover .tooltip-text {
visibility: visible;
opacity: 1;
}
@media screen and (max-width: 570px) {
.tooltip {
display: none;
}
}
.percent-box {
display: inline-block;
font-family: 'Heebo', sans-serif;
text-align: center;
font-size: 1.1rem;
font-weight: 700;
vertical-align: middle;
color: #d9f3ff;
margin: 0 0.5rem 0rem 0.5rem;
padding: 0.2rem 1.2rem 0.2rem 1.2rem;
background: #1e4d6c;
border: 2px solid #3e6d8c;
border-radius: 4px;
}
.box-red {
color: #ffe2dd;
background: #c22e14;
border: 2px solid #e24e34;
}
.box-green {
color: #ddffd9;
background: #1e6c1e;
border: 2px solid #2d8a49;
}
.pp-gold {
font-weight: 700;
color: #ffbc00;
background: rgb(148, 81, 0);
background: linear-gradient(90deg, rgba(148, 81, 0, 1) 0%, rgba(255, 188, 0, 1) 50%, rgba(148, 81, 0, 1) 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.pp-silver {
font-weight: 700;
color: #ebf9ff;
background: rgb(183, 196, 201);
background: linear-gradient(90deg, rgba(138, 151, 156, 1) 0%, rgba(235, 249, 255, 1) 50%, rgba(138, 151, 156, 1) 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.pp-bronze {
font-weight: 700;
color: #b98465;
background: rgb(134, 85, 56);
background: linear-gradient(90deg, rgba(134, 85, 56, 1) 0%, rgba(222, 168, 136, 1) 50%, rgba(134, 85, 56, 1) 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.test {
color: #59d1da;
}