first commit
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
body,
|
||||
html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #f4f4f9;
|
||||
}
|
||||
|
||||
#controls {
|
||||
margin-top: 30px;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
#controls input,
|
||||
#controls button {
|
||||
padding: 8px 16px;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#container {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.letter {
|
||||
position: absolute;
|
||||
font-size: 2.5rem;
|
||||
font-weight: bold;
|
||||
cursor: grab;
|
||||
user-select: none;
|
||||
pointer-events: auto;
|
||||
padding: 5px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.letter:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
.letter.selected {
|
||||
color: #ff4757;
|
||||
}
|
||||
|
||||
#selectionBox {
|
||||
position: absolute;
|
||||
border: 2px dashed #007bff;
|
||||
background-color: rgba(0, 123, 255, 0.1);
|
||||
pointer-events: none;
|
||||
z-index: 5;
|
||||
}
|
||||
Reference in New Issue
Block a user