Skip to content

Commit

Permalink
css
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali Amiri committed Jan 4, 2024
1 parent 3a1f214 commit dc1d484
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions apps/flashcard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Flashcard Memory App</title>
<style>
body {
font-family: "Calibri", "Arial", "Helvetica", sans-serif;
}
/* Add your CSS styling here */
.flashcard {
border: 1px solid #ddd;
Expand All @@ -22,6 +25,10 @@
#answer-box {
min-height: 15vh; /* 15% of the viewport height for larger screens */
}
#question {
min-height: 5vh;
font-weight: bold;
}
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) {
.flashcard {
margin: 10px;
Expand All @@ -30,7 +37,7 @@
}
button {
padding: 12px 24px; /* Larger buttons for touch */
margin: 8px; /* Space between buttons */
margin: 4px; /* Space between buttons */
font-size: 20px; /* Larger text on buttons */
}
#bucket-container {
Expand All @@ -54,10 +61,10 @@
<div id="answer-box">
<div id="answer" style="display: none">Answer will appear here</div>
</div>
<button id="show-answer-btn">Show Answer</button>
<button id="show-answer-btn">Show Answer</button
><button id="next-btn">Next</button>
<br />
<button id="correct-btn">Correct</button>
<button id="next-btn">Next</button>
<button id="wrong-btn">Wrong</button>
</div>

Expand Down

0 comments on commit dc1d484

Please sign in to comment.