Skip to content

Commit c8181e1

Browse files
committed
MATH-SPRINT-GAME: Refine Share Card and Header aesthetics
1 parent 4b722c8 commit c8181e1

2 files changed

Lines changed: 23 additions & 29 deletions

File tree

Source Code/index.html

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -227,13 +227,9 @@ <h1 class="final-time"></h1>
227227
style="font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 20px; font-weight: 700;">
228228
A Collaborative Masterpiece By</div>
229229

230-
<div style="display: flex; justify-content: center; gap: 20px; margin-bottom: 25px;">
231-
<div
232-
style="padding: 12px 25px; background: dodgerblue; color: white; border-radius: 15px; font-weight: 800; font-size: 16px; box-shadow: 0 10px 20px rgba(30, 144, 255, 0.2);">
233-
Amey Thakur</div>
234-
<div
235-
style="padding: 12px 25px; background: dodgerblue; color: white; border-radius: 15px; font-weight: 800; font-size: 16px; box-shadow: 0 10px 20px rgba(30, 144, 255, 0.2);">
236-
Mega Satish</div>
230+
<div style="font-size: 24px; font-weight: 900; color: #222; margin-bottom: 15px; letter-spacing: 1px;">
231+
<span style="color: dodgerblue;">Amey Thakur</span> & <span style="color: dodgerblue;">Mega
232+
Satish</span>
237233
</div>
238234

239235
<div style="margin-top: 10px;">

Source Code/style.css

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,17 @@ body {
7878

7979
.header {
8080
background: var(--primary-color);
81+
background: linear-gradient(135deg, #0a84ff 0%, #0056b3 100%);
8182
color: white;
8283
font-family: 'Play', sans-serif;
83-
font-size: 24px;
84-
text-shadow: 1px 2px 2px black;
85-
letter-spacing: 2px;
86-
height: 80px;
84+
font-size: 26px;
85+
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
86+
letter-spacing: 4px;
87+
height: 90px;
8788
display: flex;
8889
justify-content: center;
8990
align-items: center;
91+
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
9092
}
9193

9294
.card {
@@ -876,42 +878,38 @@ button:active {
876878
.footer a {
877879
color: var(--primary-color);
878880
text-decoration: none;
879-
font-weight: bold;
880-
padding: 4px 12px;
881-
background: rgba(10, 132, 255, 0.08);
882-
border: 1px solid rgba(10, 132, 255, 0.15);
883-
border-radius: 8px;
881+
font-weight: 800;
882+
padding: 2px 4px;
884883
transition: all 0.3s ease;
885884
font-family: 'Play', sans-serif;
886-
font-size: 14px;
885+
font-size: 15px;
886+
border-bottom: 2px solid transparent;
887887
}
888888

889889
.footer a:hover {
890-
background: var(--primary-color);
891-
color: white;
892-
transform: translateY(-1px);
893-
box-shadow: 0 4px 12px rgba(10, 132, 255, 0.15);
890+
color: #333;
891+
border-bottom: 2px solid var(--primary-color);
894892
}
895893

896894
.footer-intro {
897895
text-transform: uppercase;
898-
font-size: 13px;
899-
letter-spacing: 2px;
900-
color: #777;
896+
font-size: 12px;
897+
letter-spacing: 3px;
898+
color: #888;
901899
font-weight: bold;
902-
margin-right: 8px;
900+
margin-right: 5px;
903901
font-family: 'Play', sans-serif;
904902
}
905903

906904
.footer-year {
907905
font-family: 'Play', sans-serif;
908906
font-weight: bold;
909-
opacity: 0.8;
907+
opacity: 0.6;
910908
font-size: 14px;
911-
border-left: 1px solid #ccc;
909+
border-left: 1px solid #ddd;
912910
padding-left: 12px;
913-
margin-left: 10px;
914-
color: #555;
911+
margin-left: 5px;
912+
color: #777;
915913
}
916914

917915
/* =========================================

0 commit comments

Comments
 (0)