56 lines
744 B
CSS
56 lines
744 B
CSS
|
body {
|
||
|
background-color: black;
|
||
|
color: white;
|
||
|
font-family: sans-serif;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
section {
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
canvas, .texte {
|
||
|
z-index: -1;
|
||
|
}
|
||
|
|
||
|
.texte {
|
||
|
z-index: 1;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
display: flex;
|
||
|
background-blend-mode: exclusion;
|
||
|
background-color: rgba(0, 0, 0, 0.5);
|
||
|
}
|
||
|
|
||
|
.texte, a {
|
||
|
color: white;
|
||
|
}
|
||
|
|
||
|
h1 {
|
||
|
font: 4em "Franchise", sans-serif;
|
||
|
}
|
||
|
|
||
|
main {
|
||
|
position: relative;
|
||
|
z-index: -1;
|
||
|
width: 90%;
|
||
|
height: 100%;
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
position: fixed;
|
||
|
top: 0px;
|
||
|
}
|
||
|
|
||
|
main > * {
|
||
|
position: absolute;
|
||
|
height: 100%;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
canvas {
|
||
|
height: 100%;
|
||
|
z-index: -1;
|
||
|
}
|