sdf-2d-demo/src/index.scss
schmelczerandras 7e8ad0a125 Refactor scene
2020-09-17 17:51:53 +02:00

31 lines
559 B
SCSS

html,
body,
canvas#main {
height: 100%;
width: 100%;
}
body {
position: relative;
margin: 0;
#overlay {
font-family: Helvetica, Arial, sans-serif;
font-size: 0.6em;
margin: 0.75em 1em;
position: absolute;
right: 0;
$outline-width: 0.5px;
text-shadow: -$outline-width -$outline-width 0 #000,
$outline-width -$outline-width 0 #000, -$outline-width $outline-width 0 #000,
$outline-width $outline-width 0 #000;
color: white;
white-space: pre;
}
canvas#main {
background-color: hotpink;
}
}