- Align "three-column"-sections (vertical)

- Convert all remaining tabs to four spaces
This commit is contained in:
lukeIam committed 2017-05-27 12:17:34 +02:00
1 parent 86d2b16dae
commit 06826b12df
5 files changed
+27 -16

No files matched your search

+1 -1
View File
@@ -200,7 +200,7 @@ DEPENDENCIES
minima (~> 2.0)
RUBY VERSION
ruby 2.3.3p222
ruby 2.2.3p173
BUNDLED WITH
1.13.6
+7 -5
View File
@@ -4,15 +4,17 @@
<div class="row">
<h1 class="title">{{ page.title }}</h1>
{{ page.content | markdownify }}
<div class="flex-box-row">
{% for contribute in site.data.contribute %}
<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>
<p><a class="btn" href="{{ contribute.url }}">{{ contribute.url_text }}</a></p>
<div class="col-md-4 flex-box-col">
<h2 class="flex00a">{{ contribute.title }}</h2>
<span class="contribute-icon fa fa-{{ contribute.icon }} flex00a" aria-hidden="true"></span>
<p class="flex11100">{{ contribute.description }}</p>
<p><a class="btn flex00a" href="{{ contribute.url }}">{{ contribute.url_text }}</a></p>
</div>
{% endfor %}
</div>
</div>
</div>
</section>
<!-- Contribute Section End -->
+7 -5
View File
@@ -4,15 +4,17 @@
<div class="row">
<h1 class="title">{{ page.title }}</h1>
<p style="text-align:center">{{ page.content | markdownify }}</p>
<div class="flex-box-row">
{% for help in site.data.help %}
<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>
<p><a class="btn" href="{{ help.url }}">{{ help.url_text }}</a></p>
<div class="col-md-4 flex-box-col">
<h2 class="flex00a">{{ help.title }}</h2>
<span class="contribute-icon fa fa-{{ help.icon }} flex00a" aria-hidden="true"></span>
<p class="flex11100">{{ help.description }}</p>
<p><a class="btn flex00a" href="{{ help.url }}">{{ help.url_text }}</a></p>
</div>
{% endfor %}
</div>
</div>
</div>
</section>
<!-- Help Section End -->
+7 -5
View File
@@ -4,15 +4,17 @@
<div class="row">
<h1 class="title">{{ page.title }}</h1>
{{ page.content | markdownify }}
<div class="flex-box-row">
{% for song in site.data.songs %}
<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>
<p><a class="btn" href="{{ song.url }}">{{ song.url_text }}</a></p>
<div class="col-md-6 flex-box-col" >
<h2 class="flex00a">{{ song.title }}</h2>
<span class="contribute-icon fa fa-{{ song.icon }} flex00a" aria-hidden="true"></span>
<p class="flex11100">{{ song.description }}</p>
<p><a class="btn flex00a" href="{{ song.url }}">{{ song.url_text }}</a></p>
</div>
{% endfor %}
</div>
</div>
</div>
</section>
<!-- Songs Section End -->
+5
View File
@@ -377,6 +377,11 @@ a:hover {
flex-direction: column;
}
.flex-box-row {
display:flex;
flex-direction: row;
}
.flex00a {
flex: 0 0 auto;
}