Skip to content

Commit

Permalink
Merge pull request #2 from datacats/master
Browse files Browse the repository at this point in the history
Put preview under version control
  • Loading branch information
MapsRus committed Feb 24, 2016
2 parents d363aec + 86b8066 commit fc87010
Show file tree
Hide file tree
Showing 3 changed files with 605 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ckanext/surrey/fanstatic_library/css/surrey.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ margin-right: 15px;
display: block;
}

@media (max-width:600px){
.intro-text header {
float: none;
width: 80%;
}
}

.intro-text header a {
text-decoration: underline;
color: #fff;
Expand Down
2 changes: 1 addition & 1 deletion ckanext/surrey/templates/home/snippets/promoted.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h1 class="page-heading">{{ _("Welcome to CKAN") }}</h1>
<section class="featured media-overlay intro-image">
<h2 class="media-heading">{{ _("This is a featured section") }}</h2>
<a class="media-image" href="#">
<img src="{% url_for_static('/images/homepage-graphic.jpg') %}" alt="Surrey open data banner" width="368" height="109"/>
<img src="{% url_for_static('/images/homepage-graphic.jpg') %}" alt="Surrey open data banner" style="max-width:80%" width="368" height="109"/>
</a>
</section>
</div>
Loading

0 comments on commit fc87010

Please sign in to comment.