Skip to content

Commit

Permalink
Improve styling and add images, logo and links
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacialCircumstances committed May 24, 2024
1 parent 44aaab1 commit 2308440
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 2 deletions.
7 changes: 7 additions & 0 deletions sass/style.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
@import "simple.css";

.me-2 {
margin: 2px;
}

:root {
--accent: rgba(60, 210, 165, 0.75);
}
Binary file added static/favicon.ico
Binary file not shown.
Binary file added static/solaris_logo_text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,27 @@
<body>
<section class="section">
<div class="container">
<header>
<img src="/solaris_logo_text.png" class="solaris-logo">
{% block title %} {% endblock %}
</header>

{% block content %} {% endblock %}
</div>
</section>

<footer>
<a href="https://github.com/solaris-games/solaris" target="_blank" title="Code" class="me-2">
GitHub
</a>
<a href="https://store.steampowered.com/app/1623930/Solaris/" target="_blank" title="Steam" class="me-2">
Steam
</a>
<a href="https://discord.com/invite/v7PD33d" target="_blank" title="Discord" class="me-2">
Discord
</a>
<a href="https://www.buymeacoffee.com/limitingfactor" target="_blank" class="me-2"></i>Donate</a>
</footer>
</body>

</html>
5 changes: 4 additions & 1 deletion templates/blog-page.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{% extends "base.html" %}

{% block content %}
{% block title %}
<h1 class="title">
{{ page.title }}
</h1>
{% endblock title %}

{% block content %}
<p class="subtitle"><strong>{{ page.date }}</strong></p>
{{ page.content | safe }}

Expand Down
5 changes: 4 additions & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{% extends "base.html" %}

{% block content %}
{% block title %}
<h1 class="title">
Solaris DevBlog
</h1>
{% endblock title %}

{% block content %}
<ul>
{% for page in section.pages %}
<li><a href="{{ page.permalink | safe }}">{{ page.date }}: {{ page.title }}</a></li>
Expand Down

0 comments on commit 2308440

Please sign in to comment.