better color, button animation

pull/32/head
remrem 2 years ago
parent 79c7831840
commit 86680bec9a

@ -34,9 +34,9 @@
</div> </div>
<div id="right" class="column"> <div id="right" class="column">
<button class="home-room">Join Public Game</button> <button class="action-button">Join Public Game</button>
<button class="home-room">New Public Game</button> <button class="action-button">New Public Game</button>
<button class="home-room">New Private Game</button> <button class="action-button">New Private Game</button>
</div> </div>
</div> </div>

@ -4,7 +4,6 @@
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
height: 7vh;
list-style-type: none; list-style-type: none;
background-color: black; background-color: black;
} }
@ -15,10 +14,14 @@
font-family: var(--font); font-family: var(--font);
text-decoration: none; text-decoration: none;
color: white; color: white;
border: none; padding: 2rem;
padding: 0.7rem;
padding-left: 1.5rem; padding-left: 1.5rem;
padding-right: 1.5rem; padding-right: 1.5rem;
transition: 0.2s;
}
#nav-bar li a:hover {
background-color: red;
} }
/* Main */ /* Main */
@ -39,7 +42,7 @@
flex-direction: column; flex-direction: column;
width: 60%; width: 60%;
padding: 3em; padding: 3em;
background-color: red; background-color: white;
} }
#right { #right {
@ -49,15 +52,29 @@
align-items: center; align-items: center;
width: 40%; width: 40%;
padding: 3em; padding: 3em;
background-color: blue; background-color: white;
} }
.home-room { .action-button {
display: flex;
justify-content: center;
align-items: center;
width: 50%; width: 50%;
padding: 1.5em; padding: 1.2em;
background-color: yellow; padding-top: 2.1rem;
background-color: white;
border: 0.2rem solid black;
border-radius: 0.5em;
font-family: var(--font); font-family: var(--font);
font-size: 1.4em; font-size: 1.5em;
transition: 0.3s;
}
.action-button:hover {
background-color: black;
color: white;
transform: scale(1.2);
cursor: pointer;
} }
h1 { h1 {
@ -75,11 +92,12 @@ h1 {
#random-set { #random-set {
height: 40vh; height: 40vh;
background-color: green; background-color: white;
border: 0.5rem solid black;
} }
#info { #info {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-top: 4em; margin-top: auto;
} }
Loading…
Cancel
Save