added some responsive media queries for mobile

This commit is contained in:
blackbeard420 2025-03-02 23:02:31 -05:00
parent 5f708a4dc9
commit 8ab6512008
4 changed files with 88 additions and 0 deletions

28
_layouts/post.html Normal file
View File

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/static/style.css">
<title>Zeta Reticuli Gameworks</title>
</head>
<body>
<nav>
<a href="/" {% if page.url == "/" %}class="current"{% endif %}>Home</a>
<a href="/about.html" {% if page.url == "/about.html" %}class="current"{% endif %}>About Us</a>
<a href="/" {% if page.url == "/games.html" %}class="current"{% endif %}>Games </a>
<a href="/contact.html" {% if page.url == "/contact.html" %}class="current"{% endif %}>Contact Us</a>
</nav>
<div class="post">
{{ content }}
</div>
<footer>
<a href="/downloads.html">Free Downloads</a>
</footer>
</body>
</html>

View File

@ -0,0 +1,25 @@
---
layout: post
title: "Ballistics update in homicidium"
---
# Advanced Projectile System (APS)
The new addition of our home grown `APS` system to homicidium allows for us to have a semi-realistic yet fast enough for high speed game play ballistics system.
Currently it supports:
- Ballistics Coeffienct Calculations for drag (how fast a projectile slows down)
- Realistic trajectories
- Advanced Penetration system based on velocity and impact material density
## Penetration System
Penetration of objects depends on the density and how fast the projectile is going. If Penetration occurs the course of the bullet is thrown off based on density to simulate yaw after passing thru a hard object.
Velocity is also decreased by an amount dependant on projectile weight and the material density.
In the sample picture below we can see a point blank shot of 00 buckshot at 1350fps passing through 4 objects with a density of 5. The spread increases with each passthru and the the velocity greatly decreases.
After the last object penetration the projectiles were moving a mere ~100fps, so would be non lethal impacts.
![pentest](https://files.zrgameworks.com/s/sGrSjpHsgAC95q2/download/penetration-test.png)
{: .postimg}

View File

@ -16,3 +16,11 @@ layout: default
<img src="/static/img/title.svg" alt="homicidium" class="title">
</a>
</div>
<ul>
{% for post in site.posts %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>

View File

@ -72,6 +72,33 @@ hr {
font-size: 2rem;
}
.post {
background-color: rgba(10,10,10,0.9);
display: flex;
flex-flow: column;
margin: auto;
width: 40%;
text-align: left;
justify-content: center;
color: rgb(200,200,200);
padding: 1rem;
}
@media screen and (orientation: portrait) {
.post {
width: 100%;
}
}
.postimg {
align-self: center;
width: 50%;
}
.postimg img {
width: 100%;
}
.highlight {
text-align: left;
}