From 22870dca0e6348b7c5ff4e61a8f845a4a8f4c0df Mon Sep 17 00:00:00 2001 From: "LAPTOP-JTHOF99C\\Gin5567" <12210531@mail.sustech.edu.cn> Date: Sun, 11 May 2025 17:07:27 +0800 Subject: [PATCH] "fix: replace 'Pacifico' font with clearer sans-serif fonts (fixes #36)" --- .idea/.gitignore | 8 ++++++++ css/characters.css | 2 +- css/difficulty-levels.css | 4 ++-- css/game-scores.css | 2 +- css/home-page.css | 6 +++--- css/icy-tower-home.css | 4 ++-- css/iframe-hello-user.css | 2 +- css/instructions.css | 2 +- css/tower.css | 2 +- 9 files changed, 20 insertions(+), 12 deletions(-) create mode 100644 .idea/.gitignore diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/css/characters.css b/css/characters.css index c29dae3..c591c52 100644 --- a/css/characters.css +++ b/css/characters.css @@ -10,7 +10,7 @@ body { background-image: url('../image/background-for-game.png'); background-repeat: no-repeat; background-size: cover; - font-family: 'Pacifico', cursive; + font-family: 'Roboto', 'Arial', sans-serif; } h1 { diff --git a/css/difficulty-levels.css b/css/difficulty-levels.css index 9f57242..da5e49f 100644 --- a/css/difficulty-levels.css +++ b/css/difficulty-levels.css @@ -2,7 +2,7 @@ body { background-image: url('../image/background-for-game.png'); background-repeat: no-repeat; background-size: cover; - font-family: 'Pacifico', cursive; + font-family: 'Roboto', 'Arial', sans-serif; text-align: center; } @@ -55,7 +55,7 @@ h1 { border-radius: 30px; border: 1px solid black; color: rgb(204, 137, 13); - font-family: 'Pacifico', cursive; + font-family: 'Roboto', 'Arial', sans-serif; font-size: 20px; background-color: white; text-decoration: none; diff --git a/css/game-scores.css b/css/game-scores.css index 3ce7f16..4d04169 100644 --- a/css/game-scores.css +++ b/css/game-scores.css @@ -63,7 +63,7 @@ p { color: rgb(204, 137, 13); margin-left: 10%; margin-top: -0.3%; - font-family: 'Pacifico', cursive; + font-family: 'Roboto', 'Arial', sans-serif; } @media (max-width: 750px) { p { diff --git a/css/home-page.css b/css/home-page.css index 74c85ca..d3a461a 100644 --- a/css/home-page.css +++ b/css/home-page.css @@ -11,7 +11,7 @@ body { background-image: url('../image/background-for-game.png'); background-repeat: no-repeat; background-size: cover; - font-family: 'Pacifico', cursive; + font-family: 'Roboto', 'Arial', sans-serif; margin: 0%; text-align: center; } @@ -231,7 +231,7 @@ body.modal-open { outline: none; font-size: 20px; background: white; - font-family: 'Pacifico', cursive; + font-family: 'Roboto', 'Arial', sans-serif; } #open-form:hover { transform: scale(1.1); @@ -255,7 +255,7 @@ body.modal-open { border-radius: 30px; border: 1px solid #ccc; color: #315bff; - font-family: 'Pacifico', cursive; + font-family: 'Roboto', 'Arial', sans-serif; font-size: 1.1em; } diff --git a/css/icy-tower-home.css b/css/icy-tower-home.css index 5059b7b..d76eb60 100644 --- a/css/icy-tower-home.css +++ b/css/icy-tower-home.css @@ -2,7 +2,7 @@ body { background-image: url('../image/background-for-game.png'); background-repeat: no-repeat; background-size: cover; - font-family: 'Pacifico', cursive; + font-family: 'Roboto', 'Arial', sans-serif; } .logo { @@ -25,7 +25,7 @@ body { color: rgb(204, 137, 13); margin-left: 10%; margin-top: -0.3%; - font-family: 'Pacifico', cursive; + font-family: 'Roboto', 'Arial', sans-serif; text-decoration: none; } diff --git a/css/iframe-hello-user.css b/css/iframe-hello-user.css index 7a0f044..1575772 100644 --- a/css/iframe-hello-user.css +++ b/css/iframe-hello-user.css @@ -10,6 +10,6 @@ outline: none; font-size: 20px; background: white; - font-family: 'Pacifico', cursive; + font-family: 'Roboto', 'Arial', sans-serif; text-align: center; } diff --git a/css/instructions.css b/css/instructions.css index 3b8652b..3f2cb68 100644 --- a/css/instructions.css +++ b/css/instructions.css @@ -2,7 +2,7 @@ body { background-image: url('../image/background-for-game.png'); background-repeat: no-repeat; background-size: cover; - font-family: 'Pacifico', cursive; + font-family: 'Roboto', 'Arial', sans-serif; } .home { diff --git a/css/tower.css b/css/tower.css index 2ef70f5..ed90eac 100644 --- a/css/tower.css +++ b/css/tower.css @@ -2,7 +2,7 @@ body { padding: 0px; margin: 0px; border: 0px; - font-family: 'Pacifico', cursive; + background-image: url('../image/background-for-game.png'); }