Skip to content

Commit

Permalink
Updating CSS with Claude's suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
ToonTalk committed Oct 19, 2024
1 parent 29715ab commit 2112a0e
Showing 1 changed file with 49 additions and 36 deletions.
85 changes: 49 additions & 36 deletions apps/etymology map game.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,42 +17,55 @@
h1 {
margin: 10px 0;
}
#game-container {
max-width: 800px;
margin: 0 auto;
padding: 10px;
}
#globeViz {
width: 100%;
height: 600px;
margin: 0 auto;
/* Remove position: relative; */
}
#globeViz canvas {
display: block;
width: 100% !important;
height: 100% !important;
/* Remove position: absolute; top: 0; left: 0; */
/* Remove z-index if any */
}
#word-display {
font-size: 1.5em;
margin: 15px 0;
}
#result {
font-size: 1.2em;
margin: 15px 0;
}
#etymology-card {
background-color: #222;
border: 1px solid #555;
border-radius: 5px;
padding: 15px;
margin: 15px 0;
display: none;
text-align: left;
color: #fff;
}
#game-container {
font-family: Arial, sans-serif;
max-width: 800px;
margin: 0 auto;
padding: 20px;
text-align: center;
}

#scoreboard {
font-size: 18px;
margin-bottom: 20px;
}

#word-display {
font-size: 24px;
font-weight: bold;
margin-bottom: 20px;
}

#hint {
font-style: italic;
margin-bottom: 20px;
}

#globeViz {
width: 100%;
height: 400px;
margin-bottom: 20px;
}

#result {
font-size: 18px;
margin-bottom: 20px;
}

#etymology-card {
background-color: #f0f0f0;
border: 1px solid #ccc;
border-radius: 5px;
padding: 10px;
margin-bottom: 20px;
}

button {
font-size: 16px;
padding: 10px 20px;
margin: 10px;
cursor: pointer;
}
#next-btn {
background-color: #28a745;
color: #fff;
Expand Down

0 comments on commit 2112a0e

Please sign in to comment.