Updated Teams section

This commit is contained in:
Michał Gdula 2022-06-08 22:25:54 +01:00
parent 71947e6621
commit 30c049d5bb
9 changed files with 59 additions and 51 deletions

View file

@ -1,5 +1,5 @@
# GameExpo # GameExpo
DV8 2022 Game Expo Website developed by Michal. DV8 2022 Game Event (no longer called Expo) Website developed by Michal.
## Legal ## Legal
I do not own any of the logos displayed on this website. I do not own any of the logos displayed on this website.

View file

@ -1,16 +1,15 @@
/* #team .teamOther {
When page thin content stacks
*/
#team div:last-child {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
/*
Normal View
*/
#team div img { #team div img {
/*width: 100%;*/
max-width: 20em; max-width: 20em;
max-height: 20em; width: 100%;
min-width: 15em;
display: block; display: block;
object-fit: contain; object-fit: contain;
@ -21,69 +20,75 @@
margin: 0 0 0.5em 0; margin: 0 0 0.5em 0;
display: flex; display: flex;
flex-direction: column; flex-direction: row;
text-align: justify; text-align: justify;
align-items: center; align-items: center;
} }
#team div div { #team div div {
margin: 0;
padding: 0;
display: block; display: block;
} }
#team div p {
margin: 0 !important;
}
#team div span { #team div span {
margin: 0 0.5em; margin: 0 1em;
} }
/*
Gallery
*/
#team .gallery { #team .gallery {
margin-bottom: 1.5em;
padding: 0.5em;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
#team .gallery div { #team .gallery div {
margin: auto -1em -1em; margin: auto 0 0;
display: flex; display: flex;
flex-wrap: wrap;
justify-content: center;
background: none;
} }
#team .gallery div img { #team .gallery div img {
margin: 0.5em; margin: 0.5em;
min-width: 250px;
min-width: none; flex: 1 1 250px;
max-width: 100%;
height: 16em;
object-fit: cover; object-fit: cover;
} }
#team .gallery h3 { #team .gallery h3 {
font-size: 24px;
margin: 0; margin: 0;
} }
/* /*
Normal page view Gallery
*/ */
#team div .teamInfo {
display: block;
}
@media (min-width:621px) { /*
When page thin content stacks
*/
@media (max-width:621px) {
#team div { #team div {
display: flex; justify-content: center;
flex-direction: row; align-items: center;
flex-direction: column;
} }
#team div img { #team div img {
min-width: 15em; min-width: 0;
} }
#team .gallery div img { #team div div {
margin: 0.5em; margin: 1em;
max-width: calc(50% - 1em);
width: 100%;
min-width: 20em;
}
#team .gallery div {
margin: auto -0.5em -0.5em;
flex-wrap: wrap;
justify-content: space-around;
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 KiB

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

@ -54,7 +54,7 @@ body {
main { main {
margin: 0 auto; margin: 0 auto;
padding: 4em 1em 1em 1em; padding: 4em 0 0;
max-width: 1000px; max-width: 1000px;
min-height: 100vh; min-height: 100vh;
@ -72,8 +72,6 @@ section div {
border-radius: var(--rad); border-radius: var(--rad);
} }
section p { section p {
margin: 0.5em;
font-weight: 500; font-weight: 500;
color: var(--fg-dark) color: var(--fg-dark)
@ -152,7 +150,4 @@ h3 {
main { main {
padding: 3em 0 0 0; padding: 3em 0 0 0;
} }
section {
padding: 5.5em 0 0;
}
} }

View file

@ -2,7 +2,7 @@
<div> <div>
<img src="images/filler2.png" alt="" loading="lazy"> <img src="images/filler2.png" alt="" loading="lazy">
<span></span> <span></span>
<div> <div class="teamInfo">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div> </div>
</div> </div>
@ -12,7 +12,7 @@
<div> <div>
<img src="images/teams/RSLogo.svg" alt="Red Scorpion logo" loading="lazy"> <img src="images/teams/RSLogo.svg" alt="Red Scorpion logo" loading="lazy">
<span></span> <span></span>
<div> <div class="teamInfo">
<h3>Again</h3> <h3>Again</h3>
<p>Team: Leon, Bartek, Michal and Nathan</p> <p>Team: Leon, Bartek, Michal and Nathan</p>
<p>About: An innovative game made towards gamers from all ends. Speedrunners and achievers, to casual gamers admiring works and the environment. With: high quality, custom made, assets; fast, fun gameplay and many ways to finish. You are surely going to have a fun time playing!</p> <p>About: An innovative game made towards gamers from all ends. Speedrunners and achievers, to casual gamers admiring works and the environment. With: high quality, custom made, assets; fast, fun gameplay and many ways to finish. You are surely going to have a fun time playing!</p>
@ -30,20 +30,28 @@
<!-- Spooked Mouse --> <!-- Spooked Mouse -->
<div> <div>
<img src="images/teams/Spooked_Mouse.svg" alt="Spooked Mouse logo" loading="lazy"> <img src="images/teams/spookedMouse.jpg" alt="Spooked Mouse logo" loading="lazy">
<span></span> <span></span>
<div> <div class="teamInfo">
<h3>Mugunghwa</h3> <h3>Mugunghwa</h3>
<p>Team: Wren</p> <p>Team: Wren</p>
<p>About: A game loosely set in South Korea about a lover who has been watching you from the shadows. They leave you gifts in hope that you'll one day seek them out so you can be together forever...</p> <p>About: A game loosely set in South Korea about a lover who has been watching you from the shadows. They leave you gifts in hope that you'll one day seek them out so you can be together forever...</p>
</div> </div>
</div> </div>
<div class="gallery">
<h3>Game screenshots</h3>
<div>
<img src="./images/gallery/mugunghwa/1.png" loading="lazy">
<img src="./images/gallery/mugunghwa/2.png" loading="lazy">
<img src="./images/gallery/mugunghwa/3.png" loading="lazy">
</div>
</div>
<!-- Rainforest Runner --> <!-- Rainforest Runner -->
<div> <div>
<img src="images/teams/rainforestRunner.png" alt="Rainforrest Runner logo" loading="lazy"> <img src="images/teams/rainforestRunner.png" alt="Rainforrest Runner logo" loading="lazy">
<span></span> <span></span>
<div> <div class="teamInfo">
<h3>Rainforest Runner</h3> <h3>Rainforest Runner</h3>
<p>Team: Bradley, William, Munir and Sophie</p> <p>Team: Bradley, William, Munir and Sophie</p>
<p>About: Rainforest Runner is an endless runner game where you will have to dodge the dangers of the Brazilian rainforest. If you survive, you're awarded with a chest full of treasure and rewards for completing the level. Good luck! You'll need it.</p> <p>About: Rainforest Runner is an endless runner game where you will have to dodge the dangers of the Brazilian rainforest. If you survive, you're awarded with a chest full of treasure and rewards for completing the level. Good luck! You'll need it.</p>
@ -63,7 +71,7 @@
<div> <div>
<img src="images/teams/desperateConflicts.png" alt="Rainforrest Runner logo" loading="lazy"> <img src="images/teams/desperateConflicts.png" alt="Rainforrest Runner logo" loading="lazy">
<span></span> <span></span>
<div> <div class="teamInfo">
<h3>Desperate Conflicts</h3> <h3>Desperate Conflicts</h3>
<p>Team: Eliza Milburn and Yannick Fullager</p> <p>Team: Eliza Milburn and Yannick Fullager</p>
<p>About: Desperate Conflicts is a fast paced real time strategy game, where you command fleets of ships in an attempt to destroy enemy bases via breaking through the increasingly difficult defences.</p> <p>About: Desperate Conflicts is a fast paced real time strategy game, where you command fleets of ships in an attempt to destroy enemy bases via breaking through the increasingly difficult defences.</p>
@ -79,6 +87,6 @@
</div> </div>
<!-- More! --> <!-- More! -->
<div> <div class="teamOther">
<h3>And many other teams!</h3> <h3>And many other teams!</h3>
</div> </div>