generated from Skynet/deploy_user
This commit is contained in:
parent
a3a80683f3
commit
545efecca9
6 changed files with 462 additions and 0 deletions
28
src/game.html
Normal file
28
src/game.html
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="stylesheet" href="styles/style.css">
|
||||||
|
<link rel="icon" type="image/png" href="images/Longing_shade_pics_7.png">
|
||||||
|
<title>Game Dev Blog</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="container">
|
||||||
|
<div id="header">
|
||||||
|
<ul>
|
||||||
|
<li><a href="index.html">Cover Page</a></li>
|
||||||
|
<li><a href="personal.html">Personal Intro</a></li>
|
||||||
|
<li><a href="other.html">Source/Credits</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<footer id="footer">
|
||||||
|
<ul>
|
||||||
|
<li><a href="index.html">Main Page</a></li>
|
||||||
|
</ul>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
BIN
src/images/icon.png
Normal file
BIN
src/images/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 430 KiB |
29
src/other.html
Normal file
29
src/other.html
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="stylesheet" href="styles/style.css">
|
||||||
|
<link rel="icon" type="image/png" href="images/favicon.png">
|
||||||
|
<title>Game Dev Blog</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="container">
|
||||||
|
<div id="header">
|
||||||
|
<ul>
|
||||||
|
<li><a href="index.html">Cover Page</a></li>
|
||||||
|
<li><a href="personal.html">Personal Intro</a></li>
|
||||||
|
<li><a href="game.html">Dev Diaries</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
|
||||||
|
<footer id="footer">
|
||||||
|
<ul>
|
||||||
|
<li><a href="index.html">Main Page</a></li>
|
||||||
|
</ul>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
56
src/personal.html
Normal file
56
src/personal.html
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="stylesheet" href="styles/style.css">
|
||||||
|
<link rel="icon" type="image/png" href="images/favicon.png">
|
||||||
|
<title>Game Dev Blog</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="container">
|
||||||
|
<div id="header">
|
||||||
|
<ul>
|
||||||
|
<li><a href="index.html">Cover Page</a></li>
|
||||||
|
<li><a href="game.html">Dev Diaries</a></li>
|
||||||
|
<li><a href="other.html">Source/Credits</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<h1>Olá Mundo (Hello World)</h1>
|
||||||
|
|
||||||
|
<p>Hi, I'm Pedro Goraieb Fernandes. I'll try to make these blog posts short, simple and concise,
|
||||||
|
but I'm one of those annoying developers that loves talking, so most of the time it'll be
|
||||||
|
wordy and long... Anyways, some stuff about me:</p>
|
||||||
|
<ul>
|
||||||
|
<li><strong>Programming - </strong> <p>Started actually programming in 2020; before that,
|
||||||
|
my only experience was a simple game development course where we used Scratch and RPG
|
||||||
|
Maker. From then on, I started tinkering with computers, built my own pc in 2021, and
|
||||||
|
started using Linux.</p>
|
||||||
|
<p>After that, my main programming experience has come from fixing my OS daily and
|
||||||
|
LCFE (2023), where I completed a QQI course in software development with all
|
||||||
|
distinctions and mainly learnt C#. </p></li>
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<strong>Game dev - </strong> <p> I have always (maybe not always, but since I was ten) i've
|
||||||
|
been determined to work in the games industry. For that reason, most of my interests are
|
||||||
|
game development-related.</p>
|
||||||
|
<p>Living in Brazil, I didn't have a lot of ways to study game development; I did a simple course
|
||||||
|
for a few years that did not teach me much, but during the pandemic, when I started using a
|
||||||
|
PC, I bought an online course (Danki Code) that went deep on how game engines worked and how
|
||||||
|
to program for games.
|
||||||
|
</p>
|
||||||
|
<p>In more recent times, I've joined the game dev society and learned more about Godot
|
||||||
|
when participating in the game jam for Halloween.</p>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<footer id="footer">
|
||||||
|
<ul>
|
||||||
|
<li><a href="index.html">Main Page</a></li>
|
||||||
|
</ul>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
13
src/scripts/collapsibles.js
Normal file
13
src/scripts/collapsibles.js
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
//toggles collapsible elements
|
||||||
|
|
||||||
|
var coll = document.getElementsByClassName("collapsible");
|
||||||
|
|
||||||
|
Array.from(coll).forEach(button => {
|
||||||
|
button.addEventListener("click", function() {
|
||||||
|
this.classList.toggle("active");
|
||||||
|
var content = this.nextElementSibling;
|
||||||
|
var isExpanded = this.classList.contains("active");
|
||||||
|
content.style.maxHeight = isExpanded ? content.scrollHeight + "px" : null;
|
||||||
|
this.setAttribute("aria-expanded", isExpanded);
|
||||||
|
});
|
||||||
|
});
|
336
src/styles/style.css
Normal file
336
src/styles/style.css
Normal file
|
@ -0,0 +1,336 @@
|
||||||
|
/* just be sure the credit is given everywhere:
|
||||||
|
All the work in this file was done by Kuba Rodak (student id: 24436755)
|
||||||
|
Thanks for the css Kuba >_<
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Variables */
|
||||||
|
:root {
|
||||||
|
/* Colors */
|
||||||
|
--main-blue: #1e155c; /* Muted blue */
|
||||||
|
--main-grey: #2e2e2e; /* Dark grey */
|
||||||
|
--main-black: #101010; /* Jet black */
|
||||||
|
--main-white: #ffffff; /* Pure white */
|
||||||
|
|
||||||
|
--link-color: #58f9ff; /* Soft blue for links */
|
||||||
|
--link-hover: #18bf60; /* Green accent on hover */
|
||||||
|
--link-click: #ffdb4d; /* Yellow accent on click */
|
||||||
|
|
||||||
|
/* Typography */
|
||||||
|
--font-family-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
||||||
|
--font-size-base: 16px;
|
||||||
|
--font-size-small: 14px;
|
||||||
|
--line-height: 1.6;
|
||||||
|
|
||||||
|
/* Spacing */
|
||||||
|
--spacing-base: 1rem;
|
||||||
|
--spacing-large: 2rem;
|
||||||
|
--border-radius: 0.4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Global Styles */
|
||||||
|
html, body {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
font-family: var(--font-family-sans);
|
||||||
|
font-size: var(--font-size-base);
|
||||||
|
line-height: var(--line-height);
|
||||||
|
color: var(--main-white);
|
||||||
|
background-color: var(--main-black);
|
||||||
|
scroll-behavior: smooth;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
max-width: 100vw;
|
||||||
|
overflow-x: hidden;
|
||||||
|
animation: fadeIn ease-in-out 2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fadeIn {
|
||||||
|
from {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Utility Classes */
|
||||||
|
.hidden {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#container {
|
||||||
|
padding: var(--spacing-large);
|
||||||
|
max-width: 1200px;
|
||||||
|
width: 90%;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Headers and Navigation */
|
||||||
|
#header, #footer {
|
||||||
|
background-color: var(--main-grey);
|
||||||
|
padding: var(--spacing-base) var(--spacing-large);
|
||||||
|
border-bottom: 0.1rem solid var(--main-black);
|
||||||
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header ul, #footer ul {
|
||||||
|
list-style: none;
|
||||||
|
display: flex;
|
||||||
|
gap: 1.5rem;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header ul li, #footer ul li {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Links */
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--link-color);
|
||||||
|
font-weight: 500;
|
||||||
|
position: relative;
|
||||||
|
transition: color 0.3s ease, transform 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: var(--link-hover);
|
||||||
|
transform: scale(1.05);
|
||||||
|
}
|
||||||
|
|
||||||
|
a::before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
bottom: -0.2rem;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 0.2rem;
|
||||||
|
background-color: var(--link-hover);
|
||||||
|
transform: scaleX(0);
|
||||||
|
transform-origin: left;
|
||||||
|
transition: transform 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover::before {
|
||||||
|
transform: scaleX(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
a:active {
|
||||||
|
color: var(--link-click);
|
||||||
|
}
|
||||||
|
|
||||||
|
a:focus {
|
||||||
|
outline: 2px dashed var(--link-hover);
|
||||||
|
outline-offset: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Typography */
|
||||||
|
h2 {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
margin: 1.5rem 0 1rem;
|
||||||
|
color: var(--main-white);
|
||||||
|
border-left: 0.3rem solid var(--main-blue);
|
||||||
|
padding-left: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Buttons */
|
||||||
|
button {
|
||||||
|
color: var(--main-white);
|
||||||
|
background-color: var(--main-blue);
|
||||||
|
border: none;
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
padding: 0.8rem 1.6rem;
|
||||||
|
font-size: var(--font-size-base);
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 0.3s ease, transform 0.2s ease;
|
||||||
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background-color: #1d3c5a;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:active {
|
||||||
|
background-color: #132a3e;
|
||||||
|
transform: translateY(2px);
|
||||||
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
button:focus {
|
||||||
|
outline: 2px solid var(--link-hover);
|
||||||
|
outline-offset: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tables */
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
width: 100%;
|
||||||
|
margin-top: var(--spacing-base);
|
||||||
|
background-color: var(--main-grey);
|
||||||
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
thead {
|
||||||
|
background-color: var(--main-blue);
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
td, th {
|
||||||
|
padding: 1rem;
|
||||||
|
text-align: center;
|
||||||
|
border: 1px solid var(--main-black);
|
||||||
|
color: var(--main-white);
|
||||||
|
}
|
||||||
|
|
||||||
|
tr:nth-child(even) {
|
||||||
|
background-color: #2a2a2a;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr:hover {
|
||||||
|
background-color: #444444;
|
||||||
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Responsive Design */
|
||||||
|
@media screen and (max-width: 768px) {
|
||||||
|
.flex {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
width: 100%;
|
||||||
|
padding: var(--spacing-base);
|
||||||
|
}
|
||||||
|
|
||||||
|
#header ul {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header ul li {
|
||||||
|
margin: 0.5rem 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Image Containers */
|
||||||
|
.image-container {
|
||||||
|
border: 0.1rem solid var(--main-blue);
|
||||||
|
background-color: var(--main-grey);
|
||||||
|
padding: var(--spacing-base);
|
||||||
|
max-width: 600px;
|
||||||
|
margin: var(--spacing-large) auto;
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.image-container img {
|
||||||
|
max-width: 100%;
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
}
|
||||||
|
|
||||||
|
.image-container p {
|
||||||
|
margin: 0.5rem 0 0;
|
||||||
|
font-size: var(--font-size-small);
|
||||||
|
color: var(--main-white);
|
||||||
|
}
|
||||||
|
|
||||||
|
video {
|
||||||
|
margin: 20px auto;
|
||||||
|
border: 0.1rem solid var(--main-blue);
|
||||||
|
background-color: var(--main-grey);
|
||||||
|
padding: 1rem;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 800px;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Flex Containers */
|
||||||
|
.flex {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: var(--spacing-large);
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex .text-container {
|
||||||
|
flex: 2;
|
||||||
|
max-width: 70%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex .image-container {
|
||||||
|
flex: 1;
|
||||||
|
max-width: 30%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Miscellaneous */
|
||||||
|
pre {
|
||||||
|
background-color: gray;
|
||||||
|
border: 0.1rem solid var(--main-blue);
|
||||||
|
padding: var(--spacing-base);
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
}
|
||||||
|
|
||||||
|
.collapsible {
|
||||||
|
background-color: var(--main-blue);
|
||||||
|
color: white;
|
||||||
|
cursor: pointer;
|
||||||
|
margin-top: var(--spacing-base);
|
||||||
|
padding: 1rem;
|
||||||
|
width: 100%;
|
||||||
|
border: none;
|
||||||
|
text-align: left;
|
||||||
|
font-size: 15px;
|
||||||
|
transition: background-color 0.3s ease;
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
}
|
||||||
|
|
||||||
|
.collapsible:hover {
|
||||||
|
background-color: var(--link-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
.hidden-content {
|
||||||
|
padding: 0 var(--spacing-base);
|
||||||
|
max-height: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
transition: max-height 0.3s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.formula {
|
||||||
|
color: var(--main-white);
|
||||||
|
background-color: var(--main-white);
|
||||||
|
padding: 20px;
|
||||||
|
border: 0.1rem solid var(--main-blue);
|
||||||
|
}
|
||||||
|
|
||||||
|
form {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
input, select, textarea {
|
||||||
|
margin-bottom: 15px;
|
||||||
|
padding: 10px;
|
||||||
|
font-size: 1rem;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue