Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions _includes/resources.html

This file was deleted.

139 changes: 113 additions & 26 deletions _sass/resources.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,37 @@
#resources-title {
margin-top: 62px;
margin-bottom: 200px;
max-width: 1000px;
margin: 100px auto;
position: relative;


#page-title {
font-size: 40px;
font-weight: bold;
font-family: "Anderson_Grotesk", sans-serif;
font-style: italic;
text-align: center;
font-size: 40px;
font-weight: bold;
font-family: "Anderson_Grotesk", sans-serif;
font-style: italic;
text-align: center;
margin-bottom: 30px;
}

#spotlight-card {
background-color: white;
display: block;
margin: 0 auto;
max-width: 1000px;
text-align: center;
text-align: left;

p {

font-size: 24px;
padding: 10px;
text-align: block;
margin-left: 15%;
margin-right: 15%;

@media (max-width: $tablet-width) {
text-align: center;
}
}
}
}
Expand All @@ -46,24 +53,50 @@
height: 500px;
position: absolute;
z-index: 1;

@media (max-width: $tablet-width) {
max-height: 200px;
width: 100%;
display: block;
position: relative;
}
}

/* 1200 breakpoint for mym section */

#MYM-right {
background-color: rgb(20,27,35);/*linear-gradient(to left,rgba(20,27,35,1), rgba(20,27,35, 0)) */
height: 500px;
width: 65%;
margin-left: 40%;
padding: 100px;

@media (max-width: $tablet-width) {
width: 100%;
height: auto;
display: block;
position: relative;
margin-left: 0;
padding-top: 5px;
padding: 0;
padding-bottom: 5px;
}

a,h3 {
text-decoration: none;
color: $primary-color;
font-size: 15px;
text-decoration: none !important;
color: $primary-color !important;
font-size: 15px !important;
}

#mappers-title {
color: white;
color: $primary-color;
text-align: center;
margin-bottom: 20px;
margin-bottom: 30px;

@media screen and (max-width: $tablet-width) {
margin-top: 0;
padding-top: 21px;
}
}

#MYM-description {
Expand All @@ -72,21 +105,34 @@
text-align: center;
margin-bottom: 20px;
margin: auto;
font-size: 20px;

@media (max-width: $tablet-width) {
width: 100%;
margin: auto;
}
}

#MYM-map {
position: relative;
margin-top: 10px;
height: 100px;
width: 100%;

#MYM-button {
color: rgb(20,27,35);
text-align: center;
width: 150px;
max-width: 20%;
margin: 50px auto;
margin-top: 10px;
height: 100px;
width: 100%;

#MYM-button {
font-size: 20px;
color: rgb(20,27,35);
text-align: center;
width: 150px;
max-width: 20%;
margin: 50px auto;

@media (max-width: $tablet-width) {
font-size: 16px;
margin-left: auto !important;
margin-right: auto !important;
}
}
}
}
}
Expand All @@ -96,6 +142,17 @@
height: 1200px;
padding-top: 50px;

@media (max-width: $tablet-width) {
max-width: 40%;
margin: auto;
text-align: center;
text-decoration: none;
}

@media (max-width: $mobile-width) {
max-width: 80%;
}

#more-resources-title {
margin-left: 1.5%;
}
Expand All @@ -115,16 +172,29 @@
position: relative;
color: black;

@media (max-width: $tablet-width) {
height: auto;
display: block;
position: relative;
width: 100%;
}

#summary-container {
color: black;
position: relative;
width: 100%;
grid-column-start: 1;
grid-column-end: 4;
overflow-y: auto;

@media (max-width: $tablet-width) {
display: block;
position: relative;
width: 100%;
}

h3,h4,p {
color: black;

}

h3 {
Expand All @@ -145,17 +215,34 @@
#photo-container {
position: absolute;
top: 50%;
transform: translateY(-50%);
grid-column-start: 5;
grid-column-end: 6;
transform: translateY(-50%);
grid-column-start: 4;
grid-column-end: 7;

@media (max-width: $tablet-width) {
display: block;
position: relative;
top: auto;
transform: none;
width: 100%;
}

img {
border-radius: 5%;
height: auto;
max-height: 175px;
margin: 0 auto;
margin-bottom: 16px;
margin-top: 16px;
text-align: center;
width: 100%;
position: relative;
}

.card-tags {
border-top: 16px;
margin-bottom: 16px;
}
}
}
}
Expand Down
12 changes: 8 additions & 4 deletions pages/resources.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@
<section id="resources-title">
<h1 id="page-title">Resources</h1>
<span id="spotlight-card">
<p>This guide should give you sufficient information about the OpenStreetMap platform so that you can incorporate it into your classroom. But once you and your students are comfortable using the platform, you will want to branch out and do more. This includes more advanced mapping topics, utilities for data quality, and pointers to the wider OpenStreetMap community.</p>
<p>This includes more advanced mapping topics, utilities for data quality, and pointers to the wider OpenStreetMap community.</p>
</span>
</section>
<section id="meet-mappers">
<img src="{{site.baseurl}}/assets/images/meetmappers2.png">
<div>
<img src="{{site.baseurl}}/assets/images/meetmappers2.png">
</div>
<div id="MYM-right">
<h2 id="mappers-title">Discover Mappers Near You</h2>
<div id="MYM-description">
<a href="https://mym.rtijn.org/"><h3>https://mym.rtijn.org/</h3></a>
<!-- <a href="https://mym.rtijn.org/"><h3>https://mym.rtijn.org/</h3></a> -->
<p> "Meet Your Mapper (MYM) tells you who has mapped in your area, when, and how much. Use it for fun, curiosity, or to help you make a list of people to invite to a mapping party or some other OSM event."</p>
</div>
<div id="MYM-map">
Expand All @@ -38,9 +40,11 @@ <h4>{{resource.type}}</h4>
<div id="photo-container">
<img src="{{site.baseurl}}/assets/images/resource-thumbnails/{{resource.thumbnail}}">
{% if resource.tags.size > 0 %}
<div class="card-tags" style="display: flex; align-items: center;">
{% for tag in resource.tags %}
<h4 class="card-tag">{{tag}}</h4>
<span class="card-tag">{{tag}}</span>
{% endfor %}
</div>
{% endif %}
</div>
</div>
Expand Down