Add games section.

This commit is contained in:
Kaj Forney 2022-12-06 06:14:57 -07:00
parent fd75763abd
commit 74a06023b7
Signed by: kforney
GPG key ID: 3AB4E2E04CEF656F
2 changed files with 130 additions and 7 deletions

View file

@ -86,13 +86,14 @@ textarea {
/* ==========================================================================
Author's custom styles
========================================================================== */
html {
body, html {
height: 100%;
margin: 0;
}
body {
background-color: #161A25;
background-image: url("/img/branding/backgroundSmall.png");
}
h1 {
@ -103,6 +104,56 @@ h1 {
text-align: center;
}
h2{
font-family: Oswald;
font-size: 64px;
src: url("/fonts/Oswald-Regular.ttf");
color: #78a1bb;
text-align: center;
}
h5 {
font-family: 'IBM Plex Mono', monospace;
font-size: 28px;
src: url("/fonts/IBMPlexMono-Regular.ttf");
color: #78a1bb;
text-align: center;
}
p {
font-family: 'IBM Plex Sans', sans-serif;
font-size: 28px;
src: url("/fonts/IBMPlexSans-Regular.ttf");
color: #78a1bb;
text-align: center;
}
iframe[src*=youtube]
{
text-align: center;
display: block;
margin-right: auto;
margin-left: auto;
max-width:80%;
}
iframe[src*=itch]
{
text-align: center;
display: block;
margin-right: auto;
margin-left: auto;
max-width: 80%;
}
.parallax {
position: relative;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.bg-dark {
--bs-dark-rgb: 40, 48, 68;
--bs-light-rgb: 120, 161, 187;
@ -116,10 +167,32 @@ h1 {
color: #FFBC42;
}
.card {
background-color: #161A25;
border-radius: 30px;
}
.text-shadow {
text-shadow: #ffbc42 1px 1px 2px;
}
.youtube-container {
position: relative;
overflow: hidden;
width: 100%;
padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}
.youtube-iframe {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
}
/* ==========================================================================
Helper classes
========================================================================== */

View file

@ -24,9 +24,9 @@
</head>
<body>
<body class="parallax">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark shadow-lg">
<nav class="navbar navbar-expand-lg navbar-dark sticky-top bg-dark shadow-lg">
<div class="container-fluid">
<a class="navbar-brand" href="#">
<img src="img/branding/LunarPenguin_newPalette_transparency_brightDiamond.png" alt="Logo" style="max-height: 50px;padding-right: 15px;">
@ -35,8 +35,6 @@
</div>
</nav>
<br>
<div class="container-lg">
<div class="row">
@ -113,6 +111,58 @@
</div>
</div>
<hr class="mt-5">
<div class="container-lg">
<div class="row">
<div class="col">
<h1>GAMES</h1>
</div>
</div>
<div class="container-md card">
<div class="card-body">
<div class="row">
<div class="col-sm-4">
<h2>The Climb</h2>
</div>
<div class="col-sm-8">
<p>The Climb is a small game I created in Unity, originally as part of my work in my GIMM 100 course. In the game, you I later updated the game to add improved lighting, using Unity's 2D Lighting system in the Universal Render Pipeline.</p>
</div>
</div>
<div class="row">
<div class="youtube-container">
<iframe class="youtube-iframe" src="https://www.youtube.com/embed/N5unzGlC9ME" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</div>
<div class="row mt-3">
<iframe src="https://itch.io/embed/1308115?border_width=0&amp;bg_color=283044&amp;fg_color=78a1bb&amp;link_color=ffbc42&amp;border_color=283044" frameborder="0"><a href="https://lunarpenguin.itch.io/the-climb">The Climb by Lunar_Penguin</a></iframe>
</div>
</div>
</div>
<div class="container-md card mt-5">
<div class="card-body">
<div class="row mt-5">
<div class="col-sm-4">
<h2>Megashigi</h2>
</div>
<div class="col-sm-8">
<p>Megashigi is a game that I helped create, with a few friends, as a birthday gift. My portion of the project included the implementation of the game's playable, interactive credits sequence, as well as general level design and subtitles for the game's rap sequence.</p>
</div>
</div>
<div class="row mt-3">
<iframe src="https://itch.io/embed/630032?border_width=0&amp;bg_color=283044&amp;fg_color=78a1bb&amp;link_color=ffbc42&amp;border_color=283044" frameborder="0"><a href="https://lopar.itch.io/megashigi">The Climb by Lunar_Penguin</a></iframe>
</div>
</div>
</div>
</div>
<script src="js/vendor/modernizr-3.11.2.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>