You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
444 lines
8.2 KiB
CSS
444 lines
8.2 KiB
CSS
*{
|
|
/* Prevent any object from being highlighted upon touch event*/
|
|
tap-highlight-color: transparent;
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
-moz-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
outline: none;
|
|
}
|
|
|
|
.display-none {
|
|
display:none;
|
|
}
|
|
.display-flex {
|
|
display:flex;
|
|
}
|
|
.display-block{
|
|
display:block;
|
|
}
|
|
|
|
|
|
|
|
body{
|
|
height: 100%;
|
|
background-image: url("img/bg.jpg");
|
|
/* Full height */
|
|
height: 100vh;
|
|
width: auto;
|
|
|
|
/* Center and scale the image nicely */
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
max-width: 50ch;
|
|
font-family: 'Play', sans-serif;
|
|
text-shadow: 0px -1px 0px rgba(255,255,255,.5);
|
|
cursor: crosshair;
|
|
overflow: hidden;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.nav{
|
|
display: flex;
|
|
position: absolute;
|
|
bottom: 0.5em;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
width: 100%;
|
|
font-size: 3em;
|
|
color: yellow;
|
|
border-style: ridge;
|
|
border-color: red;
|
|
background-color: black;
|
|
}
|
|
|
|
#scene1{
|
|
visibility: hidden;
|
|
background-color: black;
|
|
color: red;
|
|
padding: 1em;
|
|
border-style: ridge;
|
|
position: fixed;
|
|
font-size: 3em;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
z-index: 5000000;
|
|
}
|
|
|
|
#coordinates{
|
|
visibility: hidden;
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.key-locked{
|
|
background-color: transparent;
|
|
border: transparent;
|
|
position: absolute;
|
|
top: 10em;
|
|
left: 10em;
|
|
z-index:100;
|
|
|
|
}
|
|
|
|
.key-unlocked{
|
|
background-color: transparent;
|
|
border: transparent;
|
|
position: absolute;
|
|
top: 12em;
|
|
z-index:100;
|
|
|
|
}
|
|
|
|
#key1{
|
|
left: 5em;
|
|
border: none;
|
|
|
|
}
|
|
|
|
#key2{
|
|
right: 10em;
|
|
max-width: 5em;
|
|
top: 10em;
|
|
left: 13em;
|
|
animation: rotation 2s linear infinite;
|
|
border: none;
|
|
z-index: 1000;
|
|
position: fixed;
|
|
|
|
|
|
}
|
|
|
|
#key2:hover{
|
|
cursor:pointer;
|
|
}
|
|
|
|
|
|
#ending{visibility: hidden;
|
|
color: red; }
|
|
|
|
|
|
#right {
|
|
position: fixed;
|
|
border: transparent;
|
|
z-index: 4000;
|
|
background-color: transparent;
|
|
margin-right: 4vw;
|
|
cursor: pointer;
|
|
color: red;
|
|
right: 10px;
|
|
font-size: 5em;
|
|
}
|
|
|
|
#right:hover {
|
|
color: yellow;
|
|
}
|
|
|
|
#left {
|
|
visibility: hidden;
|
|
position: fixed;
|
|
border: transparent;
|
|
z-index: 4000;
|
|
background-color: transparent;
|
|
margin-left: 4vw;
|
|
cursor: pointer;
|
|
color: red;
|
|
left: 10px;
|
|
font-size: 5em;
|
|
}
|
|
|
|
#left:hover {
|
|
color: yellow;
|
|
}
|
|
#location {
|
|
visibility: visible;
|
|
align-items: flex-start;
|
|
z-index: 400;
|
|
height: 10vh;
|
|
|
|
}
|
|
|
|
#input{visibility: hidden;
|
|
font-size: 2em;
|
|
z-index: 1001;
|
|
position: fixed;
|
|
color: yellow;
|
|
top: 70%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);}
|
|
|
|
input {
|
|
-webkit-writing-mode: horizontal-tb !important;
|
|
text-rendering: auto;
|
|
color: -internal-light-dark(black, green);
|
|
letter-spacing: normal;
|
|
word-spacing: normal;
|
|
text-transform: none;
|
|
text-indent: 0px;
|
|
text-shadow: none;
|
|
display: inline-block;
|
|
text-align: start;
|
|
appearance: auto;
|
|
background-color: -internal-light-dark(rgb(255, 255, 255), rgb(59, 59, 59));
|
|
-webkit-rtl-ordering: logical;
|
|
cursor: text;
|
|
margin: 1em;
|
|
font: 50px Arial;
|
|
padding: 1px 2px;
|
|
border-width: 2px;
|
|
border-style: inset;
|
|
border-color: -internal-light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
|
|
border-image: initial;
|
|
|
|
}
|
|
|
|
#scene{
|
|
text-align: center;
|
|
position: fixed;
|
|
top: 2em;
|
|
left: 50%;
|
|
transform: translate(-50%);
|
|
background-color: black;
|
|
color: yellow;
|
|
padding: 1em;
|
|
border-style: ridge;
|
|
font-size: 1.5em;
|
|
min-width: 80vw;
|
|
}
|
|
|
|
|
|
|
|
|
|
#ending{
|
|
visibility: hidden;
|
|
width: 100%;
|
|
height:100%;
|
|
z-index: 100000000;
|
|
position: fixed;
|
|
top: 0px;
|
|
left: 0px;
|
|
color: red;
|
|
text-align: center;
|
|
opacity: 0.9;
|
|
font-size:3em;
|
|
-webkit-animation: glow 2s ease-in-out infinite alternate;
|
|
-moz-animation: glow 2s ease-in-out infinite alternate;
|
|
animation: glow 2s ease-in-out infinite alternate;
|
|
padding-top: 30vh;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background-image: url("img/wasted.jpg");
|
|
/* Full height */
|
|
|
|
/* Center and scale the image nicely */
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
}
|
|
|
|
#endingtxt{
|
|
text-align: left;
|
|
max-width: 37ch;
|
|
left: 50%;
|
|
margin-top: 35vh;
|
|
position: absolute;
|
|
transform: translate(-50%, -50%);
|
|
font-size:3em;
|
|
padding-bottom: 0vh;
|
|
padding-top: 20vh;
|
|
color: red;
|
|
}
|
|
|
|
#winningtxt{
|
|
text-align: left;
|
|
max-width: 80ch;
|
|
left: 50%;
|
|
top: 20%;
|
|
margin-top: 10vh;
|
|
position: absolute;
|
|
transform: translate(-50%, -50%);
|
|
font-size: 1em;
|
|
padding-bottom: 0vh;
|
|
padding-top: 20vh;
|
|
background-color: black;
|
|
color: yellow;
|
|
padding: 1em;
|
|
border-style: ridge;
|
|
min-width: 70vw;
|
|
}
|
|
|
|
#archive{
|
|
background-color: yellow;
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
margin-top: 10vh;
|
|
font-size: 1.5em;
|
|
color: black;
|
|
}
|
|
|
|
#archive:hover{
|
|
cursor: pointer;
|
|
}
|
|
|
|
.splash.display-none {
|
|
position: fixed;
|
|
top: 0px;
|
|
left: 0px;
|
|
width: 100%;
|
|
height: 100vh;
|
|
z-index: -10;
|
|
text-align: center;
|
|
color: blue;
|
|
opacity: 0;
|
|
transition: all 0.5s;
|
|
background-image: url("img/bg.jpg");
|
|
|
|
|
|
/* Center and scale the image nicely */
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
|
|
.splash {
|
|
position: fixed;
|
|
top: 0px;
|
|
left: 0px;
|
|
width: 100%;
|
|
height: 100vh;
|
|
z-index: 2000;
|
|
text-align: center;
|
|
color: purple;
|
|
background-image: url("img/bg.jpg");
|
|
/* Full height */
|
|
|
|
/* Center and scale the image nicely */
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
|
|
.splash2 {
|
|
display: none;
|
|
visibility: hidden;
|
|
position: fixed;
|
|
top: 0px;
|
|
left: 0px;
|
|
background-color: black;
|
|
width: 100%;
|
|
height: 100vh;
|
|
z-index: 200;
|
|
text-align: center;
|
|
color: purple;
|
|
}
|
|
|
|
.fullscreen {
|
|
position: absolute;
|
|
top: 20%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
padding-top: 20vh;
|
|
width: 90vw;
|
|
min-width: 350px;
|
|
z-index: 190;
|
|
text-align: center;
|
|
transition: all 0.5s;
|
|
}
|
|
|
|
#introtxt{
|
|
position: absolute;
|
|
max-width: 70ch;
|
|
min-width: 300px;
|
|
left: 50%;
|
|
transform: translate(-50%);
|
|
padding-bottom: 1.5em;
|
|
padding-top: 50vh;
|
|
text-align: left;
|
|
color: yellow;
|
|
z-index: 5000;
|
|
font-size: 3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#win{
|
|
visibility: hidden;
|
|
width: 100%;
|
|
height:100%;
|
|
z-index: 100000000;
|
|
position: fixed;
|
|
top: 0px;
|
|
left: 0px;
|
|
color: white;
|
|
text-align: center;
|
|
opacity: 0.9;
|
|
font-size:3em;
|
|
-webkit-animation: glow 2s ease-in-out infinite alternate;
|
|
-moz-animation: glow 2s ease-in-out infinite alternate;
|
|
animation: glow 2s ease-in-out infinite alternate;
|
|
padding-top: 30vh;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background-image: url("img/win.jpg");
|
|
/* Full height */
|
|
|
|
/* Center and scale the image nicely */
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
|
|
.title{font-size: 4em;
|
|
z-index: 1005;
|
|
position: fixed;
|
|
background-color: black;
|
|
color: red;
|
|
padding: 0.5em;
|
|
margin: 2em;
|
|
margin-top: 2em;
|
|
border-style: ridge;
|
|
top: 10%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.hint-pix{
|
|
position: fixed;
|
|
top: 35%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
padding-top: 20vh;
|
|
width: 98vw;
|
|
min-width: 350px;
|
|
z-index: 1;
|
|
text-align: center;
|
|
transition: all 0.5s;
|
|
}
|
|
|
|
#1{visibility: hidden;}
|
|
#2{visibility: hidden;}
|
|
#3{visibility: hidden;}
|
|
#4{visibility: hidden;}
|
|
#5{visibility: hidden;}
|
|
|
|
.hint-txt{
|
|
background-color: black;
|
|
color: yellow;
|
|
padding: 1em;
|
|
border-style: ridge;
|
|
position: fixed;
|
|
font-size: 3em;
|
|
bottom: 1%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
z-index: 5000000;
|
|
}
|
|
|
|
|
|
|