From 7c39998db2be4097c4b2d3fa655acf88164e1a65 Mon Sep 17 00:00:00 2001 From: devki412 Date: Mon, 28 Oct 2024 22:17:55 +0530 Subject: [PATCH] change the font family (roboto) apply on overallwebsite --- Alien.css | 8 +++++--- index.html | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Alien.css b/Alien.css index 1c03a6e..e48880a 100644 --- a/Alien.css +++ b/Alien.css @@ -17,7 +17,7 @@ --border-dark: #2d2d3a; /* Common Variables */ - --game-font: 'Press Start 2P', system-ui, -apple-system, sans-serif; + --game-font: 'Roboto', sans-serif; /* Updated to 'Roboto' */ --transition-speed: 0.3s; } @@ -25,7 +25,7 @@ body { margin: 0; padding: 0; - font-family: var(--game-font); + font-family: var(--game-font); /* This line uses the updated font */ min-height: 100vh; transition: background-color var(--transition-speed), color var(--transition-speed); } @@ -45,10 +45,12 @@ body.dark-theme { linear-gradient(to bottom, #0a0b1a 0%, #1a1b3a 100%); } +/* Other styles remain unchanged */ + + /* Game Container */ #gameContainer { position: relative; - width: 100%; max-width: 1200px; margin: 0 auto; padding: 20px; diff --git a/index.html b/index.html index 94566ad..4bbe35c 100644 --- a/index.html +++ b/index.html @@ -1,13 +1,13 @@ - Alien Invasion Defense - + +