basic cursor moving
This commit is contained in:
parent
e4d51f09a1
commit
966fdbbd50
29 changed files with 7052 additions and 52 deletions
11
crates/cursor-move-webapp/assets/styling/home.module.css
Normal file
11
crates/cursor-move-webapp/assets/styling/home.module.css
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
.container {
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: stretch;
|
||||
align-items: stretch;
|
||||
|
||||
& > * {
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
||||
14
crates/cursor-move-webapp/assets/styling/main.css
Normal file
14
crates/cursor-move-webapp/assets/styling/main.css
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
html,
|
||||
body,
|
||||
#main {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
min-height: 100vh;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
#main {
|
||||
background-color: #214;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
.mouse-area {
|
||||
background-color: white;
|
||||
|
||||
touch-action: none;
|
||||
}
|
||||
16
crates/cursor-move-webapp/assets/styling/navbar.module.css
Normal file
16
crates/cursor-move-webapp/assets/styling/navbar.module.css
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
.navbar {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.navbar a {
|
||||
color: #ffffff;
|
||||
margin-right: 20px;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.navbar a:hover {
|
||||
cursor: pointer;
|
||||
color: #91a4d2;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue