game template maquette

This commit is contained in:
nemo 2024-09-04 09:01:58 +02:00
parent a20601a934
commit 0c3e8ec13d
5 changed files with 85 additions and 15 deletions

View File

@ -1,3 +0,0 @@
h1 {
color: red;
}

View File

@ -1,11 +0,0 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Caca Game</title>
<link rel="stylesheet" href="/game-template.css">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
</head>
<body>
<h1>Caca Game</h1>
</body>
</html>

View File

@ -0,0 +1,62 @@
html {
background-color: grey;
}
.container {
background-color: red;
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-auto-rows: minmax(100px, auto);
gap: 10px;
text-align: center;
}
.block {
border: solid 5px orange;
border-radius: 25px;
}
.one {
grid-column: 2 / 4;
grid-row: 1;
}
.two {
grid-column: 2 / 4;
grid-row: 2 / 5;
}
.three {
grid-column: 1;
grid-row: 2 / 5;
}
.four {
grid-column: 4;
grid-row: 2;
}
.five {
grid-column: 4;
grid-row: 3;
}
.six {
grid-column: 4;
grid-row: 4;
}
.seven {
grid-column: 2 / 4;
grid-row: 5 / 7;
}
.eight {
grid-column: 2;
grid-row: 7 / 8;
}
.nine {
grid-column: 3;
grid-row: 7 / 8;
}

22
game-template/index.html Normal file
View File

@ -0,0 +1,22 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>Game Template</title>
<link rel="stylesheet" href="game-template.css">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
</head>
<body>
<div class="container">
<div class="block one"><p>logo</p></div>
<div class="block two"><p>trailer</p></div>
<div class="block three"><p>sommaire</p></div>
<div class="block four"><p>steam page</p></div>
<div class="block five"><p>social media link</p></div>
<div class="block six"><p>mailing list</p></div>
<div class="block seven"><p>desc / suite de la page</p><p>faire different block pour chaque partie</p></div>
<div class="block eight"><p>wishlist now!</p></div>
<div class="block nine"><p>lien steam</p></div>
</div>
</body>
</html>

View File

@ -62,7 +62,7 @@
<source src="/assets/trailer/trailer.mp4" type="video/mp4">
</video>
</a>
<a href="/game-template.html" class="game">
<a href="/game-template" class="game">
<img src="/assets/miniature/miniature.png" alt="GAME 1" />
<video class="game-video" autoplay loop muted poster="/assets/miniature/miniature.png">
<source src="/assets/trailer/trailer.mp4" type="video/mp4">