Skip to content

Commit

Permalink
Merge pull request #25 from OSMBrasil/image
Browse files Browse the repository at this point in the history
Imagem de mapa, para colorir um pouco
  • Loading branch information
jgpacker committed Jul 25, 2015
2 parents 13308af + 48e24fe commit 5645141
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<header class="site-header">
<header class="site-header {% if page.title %}background-map{% endif %}">

<div class="wrap">

Expand Down
4 changes: 2 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

{% include header.html %}

<div class="page-content">
<div class="page-content {% unless page.title %}background-map{% endunless %}">
<div class="wrap">
{{ content }}
</div>
Expand All @@ -16,4 +16,4 @@
{% include footer.html %}

</body>
</html>
</html>
8 changes: 8 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,14 @@ a:visited { color: #205caa; }
background-color: #fff;
}

.page-content img {
width: 100%;
}

div.page-content.background-map, header.background-map {
background-image: url("/images/map-snapshot1.jpg");
background-position: right top;
}

/* Home styles */
/* ----------------------------------------------------------*/
Expand Down
Binary file added images/map-snapshot1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion noticias.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Comunicações específicas da comunidade brasileira.
<ul>
{% for post in site.categories.brasil limit:16 %}
<li>
{{ post.date | date_to_string }} ‒ <a href="{{ post.url | prepend: site.baseurl | prepend: site.url }}">{{ post.title | xml_escape }}</a>
{{ post.date | date_to_string }} ‒ <a href="{{ post.url | prepend: site.baseurl }}">{{ post.title | xml_escape }}</a>
<small>
{% for tag in post.tags %}
<span>{{ tag | xml_escape }}</span>
Expand Down

0 comments on commit 5645141

Please sign in to comment.