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.

70 lines
1.2 KiB

2 years ago
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: "Tajawal";
src: url("data/styles/fonts/Tajawal/Tajawal-Regular.ttf");
}
:root{
--if-width: 300px;
--if-b-width: 10px;
--c-width: calc(100vw - var(--if-width) - var(--if-b-width));
--c-height: 100vh;
}
/**
* Standard styles
*/
#canvas-holder{
position: absolute;
left: calc(var(--if-width) + var(--if-b-width));
width: var(--c-width);
height: var(--c-height);
}
#canvas-holder canvas{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: inherit;
}
#p5_loading{
display: none;
}
#interface{
position: absolute;
left: 0;
top: 0;
width: 300px;
height: 100%;
border: 1px solid #000;
border-width: 0 var(--if-b-width) 0 0;
background-color: rgb(70, 70, 70);
font-family: "Tajawal";
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
h1{
font-size: 30px;
text-decoration: underline;
}
#mode_holder{
border: 5px solid #000;
font-size: 25px;
}