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