From d792837e744b9209c187c97deb3e276b7f85d052 Mon Sep 17 00:00:00 2001 From: nemo Date: Tue, 3 Sep 2024 14:37:50 +0200 Subject: [PATCH] cleanup css + game template --- game.css | 43 ------------------------------------------- index.html | 3 +-- style.css | 44 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 45 deletions(-) delete mode 100644 game.css diff --git a/game.css b/game.css deleted file mode 100644 index 341eea2..0000000 --- a/game.css +++ /dev/null @@ -1,43 +0,0 @@ -.games { - margin: 0 auto; - display: grid; - gap: 1rem; - grid-template-columns: repeat(1, 1fr); -} - -@media (min-width: 600px) { - .games { grid-template-columns: repeat(2, 1fr); } -} - -@media (min-width: 900px) { - .games { grid-template-columns: repeat(3, 1fr); } -} - -.game { - color: white; - position: relative; -} - -.game p { - margin: 0; -} - -.game img { - width: 100%; - height: 100%; - object-fit: contain; -} - -.game-video{ - opacity: 0; - transition: 0.5s ease; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; -} - -.game:hover .game-video { - opacity: 1; -} diff --git a/index.html b/index.html index 2ac2475..20c18e2 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,6 @@ Bloub Bloub Studio - @@ -62,7 +61,7 @@ - + GAME 1