Skip to content

Commit 758caec

Browse files
committed
Update start & leave button
*Aligned the buttons to center of player list
1 parent c30954b commit 758caec

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

client/src/lib/components/HostControls.svelte

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
<style>
1313
.host-controls {
1414
display: flex;
15-
justify-content: center;
15+
justify-content: left;
1616
margin-top: 20px;
17+
margin-left: 100px;
1718
}
1819
1920
.start-button {
@@ -28,6 +29,6 @@
2829
}
2930
3031
.start-button:hover {
31-
background-color: #333333;
32+
background-color: rgb(190, 10, 10);
3233
}
3334
</style>

client/src/routes/+page.svelte

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,20 @@
254254
all: unset;
255255
}
256256
257+
.leave-button {
258+
background-color: #222222;
259+
color: white;
260+
font-size: 24px;
261+
font-family: "Audiowide", sans-serif;
262+
border-radius: 10px;
263+
padding: 10px 20px;
264+
cursor: pointer;
265+
transition: background-color 0.3s;
266+
position: absolute;
267+
left: 730px;
268+
top: 600px;
269+
}
270+
257271
button.no-hover:hover {
258272
background-color: initial;
259273
transform: none;

0 commit comments

Comments
 (0)