Skip to content

Commit

Permalink
Merge pull request #809 from OpenGeoscience/website_tutorial_layout_i…
Browse files Browse the repository at this point in the history
…mprovement

improvement tutorial page layout
  • Loading branch information
matthewma7 authored Apr 13, 2018
2 parents 4b1596a + 3e4ac5e commit 0baf387
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"version": "3.4.4"
},
"dependencies": {
"hexo": "^3.3.9",
"hexo": "^3.4.4",
"hexo-fs": "^0.2.2",
"hexo-renderer-ejs": "^0.3.0",
"hexo-renderer-marked": "^0.3.2",
Expand All @@ -18,4 +18,4 @@
"ejs-lint": "^0.3.0",
"hexo-cli": "^1.0.3"
}
}
}
2 changes: 1 addition & 1 deletion website/themes/agency/layout/tutorials.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</a>
<div class="portfolio-caption">
<div class="description text-muted"><%- tutorial.description %></div>
<h4><a class="portfolio-link" href="<%- tutorial.name %>"><%- tutorial.title %></a></h4>
<h4><a class="portfolio-link" title='<%- tutorial.title %>' href="<%- tutorial.name %>"><%- tutorial.title %></a></h4>
</div>
</div>
<% } %>
Expand Down
6 changes: 5 additions & 1 deletion website/themes/agency/source/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,10 @@ footer {
h4 {
a {
color: inherit;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
font-size: 16px;
}

text-transform: none;
Expand All @@ -254,4 +258,4 @@ footer {
overflow: hidden;
}
}
}
}

0 comments on commit 0baf387

Please sign in to comment.