This repository has been archived by the owner on Apr 28, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement responsive design from #77
- Loading branch information
Showing
21 changed files
with
397 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ node_modules | |
public/mockdata.json | ||
.DS_Store | ||
*.csv | ||
public/tiles | ||
public/tiles | ||
npm-debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<div class="images"> | ||
<% for src, i in @sources: %> | ||
<% for src, i in @sources when src: %> | ||
<figure><img src="<%= src %>" /></figure> | ||
<% end %> | ||
</div> | ||
|
||
<div class="toggles"> | ||
<% for src, i in @sources: %> | ||
<% for src, i in @sources when src: %> | ||
<button name="toggle" value="<%= i %>"><%= i + 1 %></button> | ||
<% end %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
<% translate = require 't7e' %> | ||
|
||
<ul> | ||
<li><%- translate 'a', 'navigation.home', href: '#/home' %></li> | ||
<li><%- translate 'a', 'navigation.about', href: '#/about' %></li> | ||
<li><%- translate 'a', 'navigation.classify', href: '#/classify' %></li> | ||
<li><%- translate 'a', 'navigation.profile', href: '#/profile' %></li> | ||
<li><%- translate 'a', 'navigation.discuss', href: 'http://talk.snapshotserengeti.org/' %></li> | ||
<li><%- translate 'a', 'navigation.blog', href: 'http://blog.snapshotserengeti.org/' %></li> | ||
<li><%- translate 'a', 'navigation.authors', href: '#/authors' %></li> | ||
</ul> | ||
<h1> | ||
<a href="/"> | ||
<img class="mobile-wordmark" src="images/wordmark-stacked.svg" alt="Snapshot Serengeti" /> | ||
<img class="desktop-wordmark" src="images/wordmark.png" alt="Snapshot Serengeti" /> | ||
</a> | ||
<button class="nav-button"></button> | ||
</h1> | ||
|
||
<nav> | ||
<ul> | ||
<li><%- translate 'a', 'navigation.home', href: '#/home' %></li> | ||
<li><%- translate 'a', 'navigation.about', href: '#/about' %></li> | ||
<li><%- translate 'a', 'navigation.classify', href: '#/classify' %></li> | ||
<li><%- translate 'a', 'navigation.profile', href: '#/profile' %></li> | ||
<li><%- translate 'a', 'navigation.discuss', href: 'http://talk.snapshotserengeti.org/' %></li> | ||
<li><%- translate 'a', 'navigation.blog', href: 'http://blog.snapshotserengeti.org/' %></li> | ||
<li><%- translate 'a', 'navigation.authors', href: '#/authors' %></li> | ||
</ul> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
.classifier { | ||
clearfix(); | ||
margin: 0 auto; | ||
width: 1000px; | ||
max-width: 1000px; | ||
} | ||
|
||
@media screen and (max-width: 1000px) { | ||
.classifier { | ||
padding: 5px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,5 @@ | |
margin: 0 auto; | ||
padding: 33px 50px; | ||
position: relative; | ||
width: 1000px; | ||
max-width: 1000px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,4 @@ | |
@import 'profile'; | ||
@import 'explore'; | ||
@import 'map'; | ||
@import 'navigation' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.