some style improvements

This commit is contained in:
Ell 2023-08-12 12:37:06 +02:00
parent 017e97deff
commit ba486e0e9c
3 changed files with 42 additions and 45 deletions

View file

@ -1,15 +1,4 @@
[
{
"name": "Itty for Tiny Life",
"slug": "itty",
"desc": "Itty adds a social media site (called Itty) that allows your Tinies to interact digitally!",
"author": "ssblur",
"section": "mods",
"links": {
"Steam": "https://steamcommunity.com/sharedfiles/filedetails/?id=2965803577",
"YouTube": "https://www.youtube.com/channel/UC87-8FM-U9OSUYCzIqlhztA"
}
},
{
"name": "Itty for Tiny Life",
"slug": "itty",

View file

@ -5,13 +5,14 @@ title: Tiny Life
summary: A fun simulation game where you mess with people's lives
---
<div class="section community-top">
<div class="section">
<div class="community-top">
<h1>💬 Community Showcase</h1>
Tiny Life's community is awesome, blah blah blah
</div>
</div>
{% for section in site.data.community-sections %}
<div class="section">
{% for section in site.data.community-sections %}
<div class="community-section">
<h2 id="{{ section.slug }}">{{ section.name }}</h2>
<p>{{ section.desc }}</p>
@ -38,4 +39,5 @@ summary: A fun simulation game where you mess with people's lives
{% endif %}
{% endfor %}
</div>
{% endfor %}
{% endfor %}
</div>

View file

@ -110,7 +110,13 @@ pre.highlight {
}
.community-content {
margin: 25px auto;
margin-top: 15px;
margin-bottom: 15px;
}
.community-section {
margin-top: 25px;
margin-bottom: 25px;
}
.community-title {