Some alignment fixes

This commit is contained in:
Florian Küpper committed 2017-01-04 16:00:03 +01:00
1 parent 300d101b65
commit 81afc764d9
5 files changed
+27 -13

No files matched your search

+3 -3
View File
@@ -1,11 +1,11 @@
<!-- Contribute Section -->
<section id="{{ page.section-type }}">
<section id="{{ page.section-type }}" class="content-section">
<div class="container">
<div class="row">
<h1 class="title">{{ page.title }}</h1>
<p style="text-align:center">{{ page.content | markdownify }}</p>
{{ page.content | markdownify }}
{% for contribute in site.data.contribute %}
<div class="col-md-4" style="text-align:center">
<div class="col-md-4">
<h2>{{ contribute.title }}</h2>
<span class="contribute-icon fa fa-{{ contribute.icon }}" aria-hidden="true"></span>
<p>{{ contribute.description }}</p>
+11 -5
View File
@@ -11,7 +11,7 @@
{% elsif release_stable == nil or release.created_at > release_stable.created_at %}
{% endif %}
{% endfor %}
<section id="{{ page.section-type }}">
<section id="{{ page.section-type }}" class="content-section">
<div class="container">
<div class="row">
<h1 class="title">{{ page.title }}</h1>
@@ -20,13 +20,15 @@
<h2>Nightly</h2>
<p>A version with all the newest development changes. Likely to contain bugs, so use with caution.</p>
{% if release_nightly != nil %}
<p>Latest update: {{ release_nightly.created_at | date: "%Y-%m-%d" }}</p>
<p>Read our release notes on <a href="{{ release_nightly.html_url }}">GitHub</a>.</p>
<span class="release-details">
<p>Latest update: {{ release_nightly.created_at | date: "%Y-%m-%d" }}</p>
<p>Read our release notes on <a href="{{ release_nightly.html_url }}">GitHub</a>.</p>
{% for asset in release_nightly.assets %}
<a class="btn" href="{{ asset.browser_download_url }}">{{ asset.name }}</a>
<a class="btn" href="{{ asset.browser_download_url }}">{{ asset.name }}</a>
{% endfor %}
<a class="btn" href="{{ release_nightly.zipball_url }}">Source code (zip)</a>
<a class="btn" href="{{ release_nightly.tarball_url }}">Source code (tar.gz)</a>
</span>
{% else %}
<p>There isn't any nightly release yet.</p>
{% endif %}
@@ -35,13 +37,15 @@
<h2>Pre Release</h2>
<p>Should be almost stable, but you might experience some bugs here.</p>
{% if release_pre != nil %}
<span class="release-details">
<p>Latest version: {{release_pre.name}} ({{ release_pre.created_at | date: "%Y-%m-%d" }})</p>
<p>Read our release notes on <a href="{{ release_pre.html_url }}">GitHub</a>.</p>
{% for asset in release_pre.assets %}
<a class="btn" href="{{ asset.browser_download_url }}">{{ asset.name }}</a>
<a class="btn" href="{{ asset.browser_download_url }}">{{ asset.name }}</a>
{% endfor %}
<a class="btn" href="{{ release_pre.zipball_url }}">Source code (zip)</a>
<a class="btn" href="{{ release_pre.tarball_url }}">Source code (tar.gz)</a>
</span>
{% else %}
<p>There isn't any pre release yet.</p>
{% endif %}
@@ -50,6 +54,7 @@
<h2>Stable Release</h2>
<p>The latest release.</p>
{% if release_stable != nil %}
<span class="release-details">
<p>Latest version: {{release_stable.name}} ({{ release_stable.created_at | date: "%Y-%m-%d" }})</p>
<p>Read our release notes on <a href="{{ release_stable.html_url }}">GitHub</a>.</p>
{% for asset in release_stable.assets %}
@@ -57,6 +62,7 @@
{% endfor %}
<a class="btn" href="{{ release_stable.zipball_url }}">Source code (zip)</a>
<a class="btn" href="{{ release_stable.tarball_url }}">Source code (tar.gz)</a>
</span>
{% else %}
<p>There isn't any stable release yet.</p>
{% endif %}
+2 -2
View File
@@ -1,11 +1,11 @@
<!-- Help Section -->
<section id="{{ page.section-type }}">
<section id="{{ page.section-type }}" class="content-section">
<div class="container">
<div class="row">
<h1 class="title">{{ page.title }}</h1>
<p style="text-align:center">{{ page.content | markdownify }}</p>
{% for help in site.data.help %}
<div class="col-md-4" style="text-align:center">
<div class="col-md-4">
<h2>{{ help.title }}</h2>
<span class="contribute-icon fa fa-{{ help.icon }}" aria-hidden="true"></span>
<p>{{ help.description }}</p>
+3 -3
View File
@@ -1,11 +1,11 @@
<!-- Songs Section -->
<section id="{{ page.section-type }}">
<section id="{{ page.section-type }}" class="content-section">
<div class="container">
<div class="row">
<h1 class="title">{{ page.title }}</h1>
<p style="text-align:center">{{ page.content | markdownify }}</p>
{{ page.content | markdownify }}
{% for song in site.data.songs %}
<div class="col-md-6" style="text-align:center">
<div class="col-md-6">
<h2>{{ song.title }}</h2>
<span class="contribute-icon fa fa-{{ song.icon }}" aria-hidden="true"></span>
<p>{{ song.description }}</p>
+8
View File
@@ -333,3 +333,11 @@ a:hover {
margin-top: 15px;
margin-bottom: 15px;
}
.content-section {
text-align:center;
}
.release-details {
text-align:left;
}