wss14 #2

Merged
kar merged 38 commits from wss14 into master 2024-03-26 05:28:08 +00:00
2 changed files with 37 additions and 35 deletions
Showing only changes of commit 5f2138b742 - Show all commits

View File

@@ -198,11 +198,11 @@ import Layout from "../../layouts/Layout.astro";
height: 40px; height: 40px;
position: relative; position: relative;
} }
input[type="checkbox"]:checked { input[type="checkbox"]:checked {
background: blue; background: blue;
} }
input[type="checkbox"]:checked:after { input[type="checkbox"]:checked:after {
content: "X"; content: "X";
color: #fff; color: #fff;
border: none; border: none;
@@ -222,7 +222,7 @@ input[type="checkbox"]:checked:after {
* top: 0; * top: 0;
* left: 0; * left: 0;
*/ */
} }
body{ body{
font-family: Quicksand; font-family: Quicksand;
} }

View File

@@ -89,8 +89,10 @@ import Layout from "../../layouts/Layout.astro";
document.getElementById('descImage').src = assetsURL + gameData.descript_img; document.getElementById('descImage').src = assetsURL + gameData.descript_img;
for (let i = 1; i <= 3; i++) { for (let i = 1; i <= 3; i++) {
const imageId = `image${i}`; const imageId = `image${i}`;
if(gameData[imageId]){
document.getElementById(imageId).src = assetsURL + gameData[imageId]; document.getElementById(imageId).src = assetsURL + gameData[imageId];
} }
}
}); });
function checkResult2(id) { function checkResult2(id) {