Skip to content

Commit e14b19f

Browse files
committed
THE-MATH-GAME
1 parent 9fecc2a commit e14b19f

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

Source Code/css/style.css

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,23 @@ h1 {
521521
/* Tighter padding on desktop/tablet */
522522
height: auto;
523523
min-height: auto;
524-
margin: 1rem 0;
524+
max-height: none;
525+
/* Remove height limit for mobile */
526+
margin: 1rem auto;
527+
/* Centered on mobile */
528+
}
529+
530+
/* Ensure footer wraps on smaller screens */
531+
.footer h3 {
532+
flex-wrap: wrap;
533+
white-space: normal;
534+
gap: 10px;
535+
line-height: 1.6;
536+
}
537+
538+
.footer-separator {
539+
display: none;
540+
/* Hide separator when wrapping might occur */
525541
}
526542

527543
#hud-screen {
@@ -583,6 +599,8 @@ h1 {
583599
white-space: normal;
584600
font-size: 0.9rem;
585601
gap: 10px;
602+
justify-content: center;
603+
width: 100%;
586604
line-height: 1.6;
587605
}
588606

Source Code/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<link rel="canonical" href="https://amey-thakur.github.io/THE-MATH-GAME/">
2727

2828
<link href="https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap" rel="stylesheet">
29-
<link rel="stylesheet" href="css/style.css?v=37">
29+
<link rel="stylesheet" href="css/style.css?v=38">
3030

3131
<!-- Loading Screen Styles -->
3232
<style>

0 commit comments

Comments
 (0)