Skip to content

Commit

Permalink
Visual Tweak
Browse files Browse the repository at this point in the history
- separated title from date
- added some styling
  • Loading branch information
rdohms committed May 5, 2015
1 parent 0add19f commit 8aad201
Show file tree
Hide file tree
Showing 5 changed files with 20,632 additions and 78 deletions.
9 changes: 9 additions & 0 deletions app/Resources/less/amsterdamphp.less
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,15 @@ footer {
position: absolute;
left: 0;
}

ul {
.title { font-weight: bolder; font-size: 125% }
.date {
font-size: 90%;

a { color: #393939; }
}
}
}

.blog-post {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,18 @@
class="thumbnail"
src="{{ video.snippet.thumbnails.default.url }}" /></a>
</span>
<span>
<a href="https://www.youtube.com/watch?v={{ video.snippet.resourceId.videoId }}"
target="_blank">{{ video.snippet.title }}</a>
</span>

{% set title = video.snippet.title|split(':') %}
<ul class="list-unstyled">
<li class="date">
<a href="https://www.youtube.com/watch?v={{ video.snippet.resourceId.videoId }}"
target="_blank">{{ title[0] }}</a>
</li>
<li class="title">
<a href="https://www.youtube.com/watch?v={{ video.snippet.resourceId.videoId }}"
target="_blank">{{ title[1] }}</a>
</li>
</ul>
</div>
{% endfor %}
<a class="more"
Expand Down
8,222 changes: 8,197 additions & 25 deletions web/css/amsterdamphp.css

Large diffs are not rendered by default.

11,802 changes: 11,776 additions & 26 deletions web/js/amsterdamphp.js

Large diffs are not rendered by default.

Loading

0 comments on commit 8aad201

Please sign in to comment.