Compare commits

..

No commits in common. "da9c3be1cd472491fafd548b1ea390a8c7ea9e16" and "de751e15954fd3463c5d322cf0ce4b30ae6adc0d" have entirely different histories.

3 changed files with 16 additions and 77 deletions

View File

@ -11,10 +11,6 @@ body {
height: 100%;
}
footer {
font-size: x-small;
}
#root {
max-width: 1280px;
margin: 0 auto;
@ -29,7 +25,6 @@ footer {
.hint {
position: absolute;
font-size: 80%;
padding: 4px;
top: auto;
left: 4px;
bottom: auto;
@ -38,18 +33,16 @@ footer {
}
h1,
h2,
h3 {
h2 {
margin-top: 0px;
margin-bottom: 0px;
padding: 4px 16px;
}
.container {
display: flex;
flex-wrap: nowrap;
justify-content: space-evenly;
min-width: 737px;
min-width: min(80vw, 800px);
}
.dragbox {
@ -110,9 +103,10 @@ h3 {
button {
font-weight: bold;
font-size: large;
color: ghostwhite;
background-color: black;
border: 4px solid black;
position: relative;
z-index: 1;
&:focus {
outline: black;
@ -122,25 +116,6 @@ button {
}
}
@media only screen and (max-width: 768px) {
.container {
min-width: 96vw;
}
.submit_text {
display: none;
}
.submit {
position: fixed;
right: 16px;
bottom: 16px;
padding: 0px;
background-color: unset;
font-size: xx-large;
margin-bottom: 20px;
margin-right: 20px;
}
}
::backdrop {
background-image: linear-gradient(
45deg,
@ -179,30 +154,6 @@ button {
font-size: 150%;
}
.logo {
position: relative;
text-align: center;
height: 196px;
margin: auto;
img {
display: block;
margin: auto;
}
h3 {
position: absolute;
width: 200px;
top: 33%;
left: 50%;
transform: translate(-50%, -50%);
color: aliceblue;
background-color: black;
border-radius: unset;
letter-spacing: 8px;
padding: 0px 40px;
font-family: monospace;
}
}
.loader {
display: block;
position: relative;

View File

@ -5,24 +5,15 @@ import Rankings from "./Rankings";
function App() {
return (
<>
<div className="logo">
<a href={baseUrl}>
<img alt="logo" height="66%" src="logo.svg" />
</a>
<h3 className="centered">cutt</h3>
<span className="grey">cool ultimate team tool</span>
</div>
<a href={baseUrl}>
<img alt="logo" height="128px" src="logo.svg" />
</a>
<h1>cutt</h1>
<span className="grey">cool ultimate team tool</span>
<Rankings />
<footer>
<p className="grey">
something not working?
<br />
message <a href="https://t.me/x0124816">me</a>.
<br />
or fix it here:{" "}
<a href="https://git.0124816.xyz/julius/cutt" key="gitea">
<img src="gitea.svg" alt="gitea" height="16" />
</a>
something not working? message <a href="https://t.me/x0124816">me</a>.
</p>
</footer>
</>

View File

@ -40,9 +40,9 @@ export function SelectUser({
return (
<>
<div className="box user">
<span>your name?</span>
{user.length < 1 ? (
<>
<span>your name?</span>
<br /> <span className="grey hint">drag your name here</span>
</>
) : (
@ -55,6 +55,7 @@ export function SelectUser({
>
{" ✕"}
</span>
<br />
</>
)}
<PlayerList
@ -174,9 +175,7 @@ export function Chemistry({ user, players }: PlayerInfoProps) {
</div>
</div>
<button className="submit" onClick={() => handleSubmit()}>
💾 <span className="submit_text">submit</span>
</button>
<button onClick={() => handleSubmit()}>submit</button>
<dialog
id="ChemistryDialog"
onClick={(event) => {
@ -234,8 +233,8 @@ export function MVP({ user, players }: PlayerInfoProps) {
<h1>🏆</h1>
{rankedPlayers.length < 1 && (
<span className="grey hint">
carefully place as many of the <i>Most Valuable Players</i>{" "}
(according to your humble opinion) in this box
carefully place the <i>Most Valuable Player</i> (according to your
humble opinion) in this box
</span>
)}
<PlayerList
@ -253,9 +252,7 @@ export function MVP({ user, players }: PlayerInfoProps) {
</div>
</div>
<button className="submit" onClick={() => handleSubmit()}>
💾 <span className="submit_text">submit</span>
</button>
<button onClick={() => handleSubmit()}>submit</button>
<dialog
id="MVPDialog"
onClick={(event) => {