You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

75 lines
1.3 KiB

a:link, a:hover, a:active, a:visited{color: #000;}
html, body{margin: 0; padding: 0; height: 100%; width: 100%;}
canvas{margin: 0; padding: 0; border: none; display: block;}
button:hover{cursor: pointer;}
@font-face{
font-family: "Rametto";
src: url("data/styles/font.ttf");
}
*{
font-family: "Rametto";
color: #000;
font-size: 17px;
}
:root{
--interface-width: 200px;
--width: calc(100vw - var(--interface-width) - 20px);
--height: 100vh;
--interface-color: rgb(36, 56, 145);
}
/**
* Standard styles
*/
#canvas-holder{
position: relative;
width: var(--width);
height: var(--height);
}
#canvas-holder canvas{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: inherit;
}
#p5_loading{
display: none;
}
#interface{
position: absolute;
right: 0;
top: 0;
width: var(--interface-width);
height: calc(100% - 20px);
background-color: var(--interface-color);
border-left: 2px solid rgb(122, 105, 216);
padding: 10px;
text-align-last: center;
}
h1{
text-decoration: underline;
}
input{
background-color: var(--interface-color);
}
button{
background-color: rgb(71, 177, 22);
border-radius: 3px;
box-shadow: 2px 2px 5px #000;
border: 2px solid rgb(36, 94, 10);
}