generated from ElnuDev/nim-project
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.
34 lines
583 B
34 lines
583 B
body {
|
|
font-family: sans-serif;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
margin: 0;
|
|
background: darkgrey;
|
|
}
|
|
|
|
#canvas {
|
|
background: gray;
|
|
width: 800px;
|
|
height: 600px;
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.card {
|
|
background: white;
|
|
position: absolute;
|
|
font-size: 1.25em;
|
|
width: 8em;
|
|
padding: 0.5em;
|
|
box-shadow: 0.25em 0.25em black;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
|
|
&:active {
|
|
background: lightgrey;
|
|
z-index: 1;
|
|
}
|
|
} |