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.
200 lines
3.1 KiB
CSS
200 lines
3.1 KiB
CSS
4 years ago
|
|
||
|
*{
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
box-sizing: border-box;
|
||
|
transition: 1s;
|
||
|
}
|
||
|
|
||
|
::-webkit-scrollbar {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
body { margin: 10px; background: red; font-family: Anka; color: #214c12; padding: 10px; max-width: 75ch; font-size: 1.5em;
|
||
|
|
||
|
|
||
|
}
|
||
|
canvas {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
z-index: 1;
|
||
|
position:fixed;
|
||
|
top:0;
|
||
|
bottom:0;
|
||
|
left:0;
|
||
|
right:0;
|
||
|
|
||
|
}
|
||
|
|
||
|
@font-face {font-family: Anka;
|
||
|
src: url("fonts/AnkaCoder-b.ttf");}
|
||
|
.cover {
|
||
|
width: 100%;
|
||
|
max-width: 100%;
|
||
|
height:100%;
|
||
|
background-color:#000000;
|
||
|
padding: 10px;
|
||
|
border-radius: 5px;
|
||
|
box-shadow: 0 0 10px 2px;
|
||
|
z-index: 10;
|
||
|
color: black;
|
||
|
position: fixed;
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
z-index:9;
|
||
|
transform: translate(-50%, -50%);
|
||
|
opacity: 1;
|
||
|
visibility: hidden;
|
||
|
}
|
||
|
|
||
|
|
||
|
#game-text{
|
||
|
position: sticky;
|
||
|
margin-top: 20px;
|
||
|
z-index: 10;
|
||
|
max-width: 30%;
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
transform: translate(-50%, -50%);}
|
||
|
|
||
|
/*button {
|
||
|
width: 1%;
|
||
|
height: 30px;
|
||
|
text-align:left;
|
||
|
font-size: 1em;
|
||
|
margin-top:15px;
|
||
|
padding: 12px 20px;
|
||
|
margin: 8px 0;
|
||
|
box-sizing: border-box;
|
||
|
border: red;
|
||
|
font-family: Anka;
|
||
|
color: yellowgreen;
|
||
|
background-color:rgba(255, 0, 0, 0);;
|
||
|
position: fixed;
|
||
|
text-decoration: none;
|
||
|
z-index: 10;
|
||
|
|
||
|
top: 50%;
|
||
|
border-radius: 20px;
|
||
|
|
||
|
}
|
||
|
|
||
|
button:hover {
|
||
|
width: 1%;
|
||
|
height: 30px;
|
||
|
text-align:left;
|
||
|
font-size: 1em;
|
||
|
margin-top:15px;
|
||
|
padding: 12px 20px;
|
||
|
margin: 8px 0;
|
||
|
box-sizing: border-box;
|
||
|
border: red;
|
||
|
font-family: Anka;
|
||
|
color: yellowgreen;
|
||
|
background-color:rgba(255, 0, 0, 0);
|
||
|
position: fixed;
|
||
|
text-decoration: none;
|
||
|
z-index: 10;
|
||
|
top: 50%;
|
||
|
|
||
|
scale: 160%;
|
||
|
|
||
|
}*/
|
||
|
|
||
|
#yes{
|
||
|
left: 35%;
|
||
|
}
|
||
|
|
||
|
|
||
|
#no{
|
||
|
right:35%;
|
||
|
}
|
||
|
|
||
|
#forward{
|
||
|
top:35%;
|
||
|
left: 50%;
|
||
|
transform: translate(-50%, -50%);
|
||
|
}
|
||
|
|
||
|
|
||
|
#back{
|
||
|
top: 70%;
|
||
|
left: 50%;
|
||
|
transform: translate(-50%, -50%);
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
width: 90%;
|
||
|
background-color: #c9d2c1e3;
|
||
|
background-color: gray;
|
||
|
padding: 10px;
|
||
|
border-radius: 5px;
|
||
|
z-index: 10;
|
||
|
color: #214c12;
|
||
|
position: relative;
|
||
|
opacity: 1;
|
||
|
padding: 1em;
|
||
|
box-shadow: 0 0 40px #214c12;
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
/*.container:hover{box-shadow: 0 0 10px black, 0 0 20px black, 0 0 30px yellowgreen;}*/
|
||
|
|
||
|
.container2 {
|
||
|
width: 50%;
|
||
|
max-width: 80%;
|
||
|
background-color: white;
|
||
|
padding: 10px;
|
||
|
border-radius: 5px;
|
||
|
box-shadow: 0 0 10px 2px;
|
||
|
z-index: 10;
|
||
|
color: #214c12;
|
||
|
position: fixed;
|
||
|
top: 30%;
|
||
|
left: 50%;
|
||
|
transform: translate(-50%, -50%);
|
||
|
opacity: 0;
|
||
|
visibility: hidden;
|
||
|
}
|
||
|
|
||
|
.btn-grid {
|
||
|
display: grid;
|
||
|
grid-template-columns: repeat(2, auto);
|
||
|
gap: 10px;
|
||
|
margin-top: 20px;
|
||
|
z-index: 10;
|
||
|
}
|
||
|
|
||
|
.btn {
|
||
|
background-color: gray;
|
||
|
border: rgba(255, 0, 0, 0);
|
||
|
border-radius: 5px;
|
||
|
padding: 5px 10px;
|
||
|
color:#214c12;
|
||
|
outline: orange;
|
||
|
z-index: 10;
|
||
|
font-family: Anka;
|
||
|
}
|
||
|
|
||
|
.btn:hover {
|
||
|
border-color: black;
|
||
|
background-color: darkgray;
|
||
|
z-index: 10;
|
||
|
box-shadow: 0 0 10px #214c12;
|
||
|
}
|
||
|
|
||
|
#text{z-index: 10;
|
||
|
color: #214c12;padding: 10px;}
|
||
|
|
||
|
button{z-index:10; background-color: white;}
|
||
|
|
||
|
p{z-index: 10;
|
||
|
|
||
|
color: #214c12;
|
||
|
padding: 10px;
|
||
|
}
|
||
|
|