mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 15:44:35 +01:00
public and private buttons
This commit is contained in:
@@ -15,7 +15,10 @@ function App() {
|
||||
return (
|
||||
<div className="App">
|
||||
<Topbar />
|
||||
<BigButton text="PLAY DA GAME :D" onClick={playGame} id="officialPlay" />
|
||||
<div id="playButtons">
|
||||
<BigButton text="PLAY DA GAME :D" onClick={playGame} id="officialPlay" />
|
||||
<BigButton text="PLAY PRIV GAME :D" onClick={playGame} id="privatePlay" />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -11,9 +11,6 @@
|
||||
color: #704a1d;
|
||||
font-weight: bold;
|
||||
|
||||
height: 60px;
|
||||
max-width: 20%;
|
||||
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
#officialPlay {
|
||||
#playButtons {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
position: absolute;
|
||||
top: 75%;
|
||||
left: 60%;
|
||||
top: 80%;
|
||||
left: 40%;
|
||||
|
||||
width: 50%;
|
||||
height: 10%;
|
||||
}
|
||||
|
||||
#playButtons .BigButton {
|
||||
height: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user