1
0
mirror of https://github.com/pyscript/pyscript.git synced 2022-05-01 19:47:48 +03:00

added in a WIP for raycaster

This commit is contained in:
Michael Verhulst
2022-04-16 17:20:09 -05:00
parent 520fe84a86
commit 7b7cbb6cf2
2 changed files with 194 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
body {
margin: 0;
text-align: center;
background-color: black;
cursor: crosshair;
}
canvas {
display: block;
width: 100%;
height: 100%;
}
.header {
/*top:45%;*/
top: 45%;
color: #DDDDDD;
}
.footer {
bottom:3%;
}
.description {
color: gray;
padding-top: 50px;
}
.btn {
border-radius: 30px;
padding: 10px 30px;
}
a, a:hover, a:visited {
color: red;
text-decoration: none;
}
.disable-selection {
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer */
-khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */
-webkit-user-select: none; /* Chrome, Safari, and Opera */
-webkit-touch-callout: none; /* Disable Android and iOS callouts*/
}
h1::after {
content: ' V 2.0';
font-size: 12px;
position:absolute;
top: 3px;
padding-left: 5px;
font-weight: 400;
}
h2::after {
content: '2';
font-size: 12px;
position:absolute;
top: 14px;
padding-left: 5px;
}