diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..ed8f16b --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,76 @@ +body { + background: linear-gradient(to bottom, #000000, #004B4B); + color: #FFFFFF; + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; +} + +h1, h2, h3, h4, h5, h6 { + font-family: Georgia, 'Times New Roman', Times, serif; + color: #00FFFF; +} + +.player-card { + background: rgba(13, 26, 26, 0.7); + backdrop-filter: blur(10px); + border: 1px solid rgba(0, 255, 255, 0.2); + border-radius: 12px; + padding: 1.5rem; + margin-bottom: 1.5rem; + transition: transform 0.3s ease, box-shadow 0.3s ease; +} + +.player-card:hover { + transform: translateY(-5px); + box-shadow: 0 10px 20px rgba(0, 255, 255, 0.1); +} + +.player-card img { + border-radius: 50%; + border: 2px solid #00FFFF; +} + +.player-card .player-name { + font-size: 1.25rem; + font-weight: bold; + margin-top: 1rem; +} + +.player-card .player-team { + color: #AAAAAA; + font-size: 0.9rem; +} + +.player-card .player-stats { + margin-top: 1rem; + font-size: 0.9rem; +} + +.section-title { + margin-bottom: 2rem; +} + +.search-bar { + max-width: 400px; + margin: 0 auto 3rem auto; +} + +.form-control { + background-color: rgba(13, 26, 26, 0.7); + border: 1px solid rgba(0, 255, 255, 0.2); + color: #FFFFFF; +} + +.form-control:focus { + background-color: rgba(13, 26, 26, 0.9); + border-color: #00FFFF; + box-shadow: 0 0 0 0.25rem rgba(0, 255, 255, 0.25); + color: #FFFFFF; +} + +.footer { + padding: 2rem 0; + margin-top: 4rem; + border-top: 1px solid rgba(0, 255, 255, 0.2); + color: #AAAAAA; + font-size: 0.9rem; +} diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..724909c --- /dev/null +++ b/assets/js/main.js @@ -0,0 +1 @@ +// Future JavaScript for interactivity diff --git a/index.php b/index.php index 4a0bf53..1a9cfe1 100644 --- a/index.php +++ b/index.php @@ -1,103 +1,87 @@ - - + - - - New Style - - - - + + + StatTracker + + + + + + + + + + -
-
-

Welcome!

-

This is your new landing page.

-

Runtime: PHP — UTC

+ +
+
+

StatTracker

+

Your personal sports stats dashboard.

+ +
+ +
+
+

My Favorite Players

+
+ "LeBron James", "team" => "Los Angeles Lakers", "stats" => "25 PTS, 8 REB, 7 AST", "img" => "https://picsum.photos/seed/player1/150/150"], + ["name" => "Tom Brady", "team" => "Tampa Bay Buccaneers", "stats" => "300 YDS, 3 TD, 0 INT", "img" => "https://picsum.photos/seed/player4/150/150"], + ["name" => "Mike Trout", "team" => "Los Angeles Angels", "stats" => "1-3, 1 HR, 2 RBI", "img" => "https://picsum.photos/seed/player5/150/150"], + ]; + + foreach ($favorite_players as $player) { + echo '
+
+ Headshot of ' . $player[ +
' . $player["name"] . '
+
' . $player["team"] . '
+
' . $player["stats"] . '
+
+
'; + } + ?> +
+
+ + +
+ +
-
- + + + - + \ No newline at end of file