Skip to content

Commit

Permalink
sorting improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
blakadder committed May 24, 2019
1 parent e9b1fb0 commit 386a463
Show file tree
Hide file tree
Showing 38 changed files with 1,261 additions and 1,580 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
source "https://rubygems.org"
gemspec
gem 'jekyll-seo-tag'
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ GEM
safe_yaml (~> 1.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-seo-tag (2.5.0)
jekyll (~> 3.3)
jekyll-watch (2.1.2)
listen (~> 3.0)
kramdown (1.17.0)
Expand Down Expand Up @@ -65,6 +67,7 @@ PLATFORMS

DEPENDENCIES
bundler (~> 1.12)
jekyll-seo-tag
millidocs!
rake (~> 10.0)

Expand Down
5 changes: 2 additions & 3 deletions _includes/tablerow.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<tr>
<td><img src="{{ template.image }}" alt="{{ template.title }}" height="80"></td>
<td><b><a href="{{site.baseurl}}{{ template.url }}">{{ template.title }}</a></b></td>
<td align="right">{{ template.type }}</td>
<td>{{ template.standard | upcase }}</td>
<td><b><a class="menu" href="{{site.baseurl}}{{ template.url }}">{{ template.title }}</a></b></td>
<td>{{ template.type }}</td>
</tr>
7 changes: 7 additions & 0 deletions _includes/tablerow_standard.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<tr>
<td><img src="{{ template.image }}" alt="{{ template.title }}" height="80"></td>
<td><b><a class="menu" href="{{site.baseurl}}{{ template.url }}">{{ template.title }}</a></b></td>
<td>{{ template.type }}</td>
<td>{{ template.standard | upcase }}</td>
</tr>

6 changes: 3 additions & 3 deletions _layouts/templates.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ <h1>{{ page.title }} {{ page.type }} </h1>
Available from:
</b>
<br>
<a href="{{page.link}}">{{ page.link | remove_first: "https://" | remove_first: "www." | split:'/' | first | capitalize}}</a>
<a class="menu" href="{{page.link}}">{{ page.link | remove_first: "https://" | remove_first: "www." | split:'/' | first | capitalize}}</a>
<br>
<a href="{{page.link_alt}}">{{ page.link_alt | remove_first: "https://" | remove_first: "www." | split:'/' | first | capitalize}}</a>
<a class="menu" href="{{page.link_alt}}">{{ page.link_alt | remove_first: "https://" | remove_first: "www." | split:'/' | first | capitalize}}</a>
</div>
<br>
<div class="float-right">
<a class="button button-clear button-small" href="{{ site.github.repository_url }}/tree/master/{{ page.relative_path }}">
<a class="button button-clear button-small menu" href="{{ site.github.repository_url }}/tree/master/{{ page.relative_path }}">
Edit on GitHub
</a>
</div><h4>Template</h4>
Expand Down
7 changes: 5 additions & 2 deletions _sass/milligram.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ input[type='reset']:focus,
input[type='reset']:hover,
input[type='submit']:focus,
input[type='submit']:hover {
text-decoration: none;
background-color: #606c76;
border-color: #606c76;
color: #fff;
Expand Down Expand Up @@ -550,17 +551,19 @@ td:first-child,
th:first-child {
padding-left: 1;
text-align: center;
min-width: 100px;
}

td:nth-child(2),
th:nth-child(2) {
padding-left: 0.6rem;
min-width: 200px;
min-width: 250px;

}

td:last-child,
th:last-child {
padding-right: 0;
padding-right: 0.6rem;
text-align: right;
}

Expand Down
Loading

0 comments on commit 386a463

Please sign in to comment.