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.

370 lines
6.5 KiB
CSS

img { opacity: 1;
z-index: 0;
display: block;
position: fixed;
}
a span.unclickable { text-decoration: none;
}
a span.unclickable:hover { cursor: default;
}
/*----------------- CANVAS FROM P5.JS--------------------*/
canvas{
z-index: 20;
}
#GIF {
visibility: visible;
position: absolute;
height: 50%;
top: 48%;
text-align: center;
left: 50%;
transform: translate(-50%,-50%);
}
/*----------------- CONTAINING ALL CONTENTS--------------------*/
/*----------------- WHAT IS THIS? THE MODAL BOX MAYBE--------------------*/
@keyframes disparition {
0% {opacity:1; z-index: 15000;}
10%, 90% { opacity: 0; z-index: -100;}
100% {opacity : 0; z-index: -100;}
}
/*----------------- HELP POP UP WINDOW--------------------*/
#openModal {
display:none;
font-family: 'ApfelGrotezk-Regular';
color: #000;
z-index: 99999;
}
.modalDialog {
position: absolute;
font-family: 'ApfelGrotezk-Regular';
color: #FFFF;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0, 0, 0, 1);
z-index: 99999;
cursor: url(symboles/CURSEUR.png), pointer;
}
.modalDialog:target {
opacity: 1;
pointer-events: auto;
cursor: url(symboles/CURSEUR.png), pointer;
}
.modalDialog > div {
font-family: 'ApfelGrotezk-Regular';
url('ApfelGrotezk-Regular.woff') format('woff');
width: 100%;
color: white;
position: fixed;
margin: 1% auto;
padding: 1% 1% 1% 1%;
background: #000;
cursor: url(symboles/CURSEUR.png), pointer;
}
/*----------------- CLOSE POP UP --------------------*/
*{
/* 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;
}
@font-face {
font-family: "ApfelGrotezk-Regular";
src: url("../ApfelGrotezk-Regular.ttf");
}
.display-none {
display:none;
}
.display-flex {
display:flex;
}
.display-block{
display:block;
}
body{
font-size: 1.5em;
background-color: black;
color: white;
font-family: "ApfelGrotezk-Regular";
}
.overlay{
z-index: 2;
position: fixed;
}
#code-input{
left: 1em;
bottom: 1em;
border: none;
position: fixed;
background: transparent;
color: white;
font-family: "ApfelGrotezk-Regular";
font-size: 0.8em;
}
#code-input:hover{
color: white;
cursor: pointer;
}
#input{
visibility: hidden;
border: 0;
outline: 0;
background: transparent;
left: 1em;
bottom: 1em;
border: none;
position: fixed;
background: transparent;
color: white;
font-family: "ApfelGrotezk-Regular";
font-size: 5vw;
}
#fname{
border: 0;
outline: 0;
background: transparent;
left: 1em;
bottom: 1em;
border: none;
position: fixed;
background: transparent;
color: white;
font-family: "ApfelGrotezk-Regular";
font-size: 5vw;
}
.close {
font-family: 'ApfelGrotezk-Regular';
color: #FFF;
font-size: 200%;
position: fixed;
right: -0.7%;
bottom: 1.5%;
width:40px;
text-decoration: none;
cursor: url(symboles/CURSEUR.png), pointer;
}
.close:hover {
color: #FFF;
cursor: url(symboles/CURSEUR.png), pointer;
}
/*----------------- FONTS --------------------*/
@font-face {
font-family: 'ApfelGrotezk-Regular';
font-weight: normal;
font-style: normal;
}
/*----------------- CURSOR --------------------*/
html {
cursor: url(symboles/NOcursor.png), pointer; min-height: 100%;
background: black;
}
/*----------------- AUDIO --------------------*/
#audio {
display: none;
}
#BOX4 img{
width:60px;
height: 60px;
position:absolute;
bottom:0;
left: 0;
cursor: url(symboles/CURSEUR.png), pointer;
}
#BOX4{
opacity:0;
transition: opacity .1s ease-out;
-moz-transition: opacity .1s ease-out;
-webkit-transition: opacity .1s ease-out;
-o-transition: opacity .1s ease-out;
animation: all 2s;
cursor: url(symboles/CURSEUR.png), pointer;
}
#BOX4:hover {
opacity:1;
transition: opacity .1s ease-out;
-moz-transition: opacity .1s ease-out;
-webkit-transition: opacity .1s ease-out;
-o-transition: opacity .1s ease-out;
animation: all 2s;
cursor: url(symboles/CURSEUR.png), pointer;
}
/*-----------------HELP/ABOUT BUTTON---------------------------------*/
#BOX3 img{
display: block;
width:40px;
height: 50px;
position: absolute;
bottom:0;
right: 0;
cursor: url(symboles/CURSEUR.png), pointer;
z-index: 9999;
}
#BOX3{
opacity:0.5;
transition: opacity .1s ease-out;
-moz-transition: opacity .1s ease-out;
-webkit-transition: opacity .1s ease-out;
-o-transition: opacity .1s ease-out;
animation: all 2s;
cursor: url(symboles/CURSEUR.png), pointer;
}
#BOX3:hover {
opacity:1;
transition: opacity .1s ease-out;
-moz-transition: opacity .1s ease-out;
-webkit-transition: opacity .1s ease-out;
-o-transition: opacity .1s ease-out;
animation: all 2s;
cursor: url(symboles/CURSEUR.png), pointer;
}
@media screen and (max-width: 768px) {
#textcontainer{
display: none;
position: absolute;
top: 0;
left: 0;
right:0;
width: auto;
height: auto;
font-size: 4.5vw;
text-align: center;
color: black;
margin-top: 70px;
padding: 5%;
}
#container2{
font-family: 'ApfelGrotezk-Regular';
width:100%;
z-index: 15000;
position: relative;
color: white;
display: block;
flex-direction: column;
justify-content: center;
align-items:center;
animation: disparition 1s ease-in forwards;
animation-delay: 10s;
}
p2 {
text-align: center;
font-size: 3vw;
line-height: 110%;
padding-left:10%;
padding-right:10%;
} }
@media screen and (min-width: 768px) {
#textcontainer{
width: calc(100% - 4em);
display: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: auto;
font-size: 3vw;
text-align: center;
color: black;
margin-top: 70px;
}
#container2{
font-family: 'ApfelGrotezk-Regular';
width:100%;
z-index: 15000;
position: relative;
color: white;
display: block;
flex-direction: column;
justify-content: center;
align-items:center;
animation: disparition 1s ease-in forwards;
animation-delay: 10s;
}
p2 {
text-align: center;
font-size: 3vw;
line-height: 110%;
padding-left:10%;
padding-right:10%;
} }