Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Br youth managed farms - Maggie #30

Open
wants to merge 4 commits into
base: beta
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 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
53 changes: 53 additions & 0 deletions _sass/youth-managed-farms.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
* {
kaysquash marked this conversation as resolved.
Show resolved Hide resolved
box-sizing: border-box;
}

html, body {
kaysquash marked this conversation as resolved.
Show resolved Hide resolved
margin: 0;
padding: 0;
background-color: #272b34;
color: #fff;
}
.box-content {
kaysquash marked this conversation as resolved.
Show resolved Hide resolved
margin-top: 250px;
display: block;
margin-bottom: 250px;
background-color: inherit;
}
.left {
kaysquash marked this conversation as resolved.
Show resolved Hide resolved
margin-left: 100px;
}
.left img {
margin-top: 27.5px;
}
.right {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This rule may not be needed. We can add to the parent wrapper.

margin-right: 100px;
padding-left: 15px;
}
.right > h1 {
text-align: center;
}

button {
background-color: #9e1f63;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have one file for color variables?

border-radius: .5rem;
border-width: 0;
color: #fff;
cursor: pointer;
font-size: 1.1rem;
padding: .5rem 1.5rem;
text-decoration: none;
}

.youth-managed-farm__button:not(:last-of-type) {
margin-right: 12px;
}

@media only screen and (min-width: 720px) {
.box-content {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should define a wrapper solely for this area

display: flex;
}
.flex-placeholder {
flex: 1;
}
}
29 changes: 29 additions & 0 deletions pages/programs/baton_roots.html
Original file line number Diff line number Diff line change
@@ -1 +1,30 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>repl.it</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<script src="script.js">

</script>
<div class="box-content">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we update this to be youth-managed-farm since we follow that pattern for the children.

<div class="left">
<img src = "http://thewallsproject.org/img/futures_fund/coding_level_2.jpg">
</div>
<div class = "flex-placeholder"></div>
<div class = "right">
<h1>Youth-Managed Farms</h1>
<p>Falling under the programming of The Futures Fund, an education and workforce development training program, this youth-focused initiative sarts with 10 week spring/fall training ( + a 5-week summer training) inn sustainable urban agriculture. Youth will grow vegetables, fruits, herbs, and flowers on the urban Arts Farm. By being and integral part of the distribution process from start to finish, youth participants will learn the importance of stewardship and the impact that food access and security has on the health of their community.
</p>
<button class="youth-managed-farm__button">Apply as a Student >></button>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the extra >>

<!-- <span style = "margin-left: 5px;"></span> -->
<button class="youth-managed-farm__button">Apply as a Volunteer >></button>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the extra >>

</div>
</div>
</body>
</html>