Skip to content

Commit

Permalink
feat: new layout
Browse files Browse the repository at this point in the history
  • Loading branch information
GatienB committed Jul 26, 2024
1 parent 735219e commit a00918c
Show file tree
Hide file tree
Showing 12 changed files with 17,279 additions and 179 deletions.
17,131 changes: 17,089 additions & 42 deletions package-lock.json

Large diffs are not rendered by default.

Binary file modified public/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>Roulette</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
36 changes: 25 additions & 11 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
body {
width: 100vw;
height: 100vh;
margin: 0;
text-align: center;
}

#input_splits {
margin: 50px 0px;
}

#spin-output {
/* #spin-output {
font-weight: bold;
font-size: xx-large;
height: 40px;
}
} */

#bet-stats {
width: 100%;
Expand Down Expand Up @@ -41,15 +34,24 @@ body {
display: flex;
}

.bets-list {
width: 50%;
display: flex;
flex-direction: column;
}

#main {
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
gap: 8px;
}

:root {
--background-tapis: green;
--height-square: 60px;
--width-square: 60px;
--height-square: 50px;
--width-square: 50px;
/* --hover-color: gold; */
--hover-color: rgb(219, 186, 10);
--color-square-red: rgb(186, 10, 3);
Expand All @@ -60,4 +62,16 @@ body {

.App {
padding: 20px;
}

.tapis-container {
display: flex;
justify-content: center;
}

.pagination-container {
flex: 1 1 auto;
display: flex;
justify-content: center;
align-items: end;
}
Loading

0 comments on commit a00918c

Please sign in to comment.