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

Get back to develop branch so we can add new features #29

Merged
merged 13 commits into from
Jul 1, 2020
Merged
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
![out of bounds website](https://i.imgur.com/mcqGs4M.png)

## Mission
*Out of Bounds* is an organization who's mission is to provide support to children of incarcerated parents through support groups and creative coping skill workshops and special bonding projects.
*Out of Bounds* is an organization whose mission is to provide support to children of incarcerated parents through support groups and creative coping skill workshops and special bonding projects.

This website was created to bring attention to cause, raise awareness of the organization and get donation pledges.

Expand All @@ -17,4 +17,4 @@ This website was created to bring attention to cause, raise awareness of the org
* [Mabel] (https://github.com/MabelM1)
* [Tanya] (https://github.com/tantany)
* [Julie] (https://github.com/julieg18/)
* [Mariana] (https://github.com/Av1sa)
* [Marina] (https://github.com/Av1sa)
1 change: 0 additions & 1 deletion blocks/about/__italic-text/about__italic-text.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.about__italic-text {
font-weight: 500;
font-style: italic;
}
19 changes: 19 additions & 0 deletions blocks/about/__text/_type/about__text_type_subtitle.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.about__text_type_subtitle {
margin: 8px 0 34px;
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
.about__text_type_subtitle {
margin: 15px 0 40px;
font-size: 23px;
line-height: 31px;
}
}

@media only screen and (min-width: 1025px) {
.about__text_type_subtitle {
margin: 12px 0 45px;
font-size: 28px;
line-height: 39px;
}
}
19 changes: 8 additions & 11 deletions blocks/about/__text/about__text.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
.about__text {
font-size: 20px;
line-height: 28px;
margin: 14px 0 34px;
}

.about__text:nth-of-type(2) {
margin: 9px 0 18px;
font-weight: 500;
margin: 34px 0 18px;
}

.about__text:last-child {
Expand All @@ -14,16 +11,16 @@

@media only screen and (min-width: 769px) and (max-width: 1024px) {
.about__text {
margin: 15px 0 40px;
}

.about__text:nth-of-type(2) {
margin: 0 0 18px;
margin: 40px 0 18px;
font-size: 23px;
line-height: 31px;
}
}

@media only screen and (min-width: 1025px) {
.about__text {
margin: 4px 0 20px;
margin: 45px 0 20px;
font-size: 28px;
line-height: 39px;
}
}
8 changes: 5 additions & 3 deletions blocks/about/about.css
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
@import url(./__text/about__text.css);
@import url(./__italic-text/about__italic-text.css);
/* Modifiers */
@import url(./__text/_type/about__text_type_subtitle.css);

.about {
margin: 68px 30px 0;
padding: 68px 30px 0;
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
.about {
margin: 84px 40px 0;
padding: 84px 40px 0;
}
}

@media only screen and (min-width: 1025px) {
.about {
margin: 100px 40px 0;
padding: 100px 40px 0;
}
}
4 changes: 2 additions & 2 deletions blocks/arrow-icon/arrow-icon.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
font-size: 19px;
width: 34px;
height: 34px;
background: url("../../images/blue-arrow.png") center center no-repeat;
background: url("./blue-arrow.png") center center no-repeat;
}

.arrow-icon:hover {
background: url("../../images/yellow-arrow.png") center center no-repeat;
background: url("./yellow-arrow.png") center center no-repeat;
}
File renamed without changes
File renamed without changes
3 changes: 0 additions & 3 deletions blocks/carousel/__nav/carousel__nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,16 @@
align-items: center;
justify-content: space-between;
margin-top: 20px;
padding-bottom: 60px;
}

@media screen and (max-width: 1024px) {
.carousel__nav {
margin-top: 21px;
padding-bottom: 50px;
}
}

@media screen and (max-width: 768px) {
.carousel__nav {
margin-top: 17px;
padding-bottom: 40px;
}
}
6 changes: 0 additions & 6 deletions blocks/carousel/__track/_type/carousel__track_type_about.css

This file was deleted.

12 changes: 0 additions & 12 deletions blocks/carousel/__track/_type/carousel__track_type_statistics.css

This file was deleted.

2 changes: 0 additions & 2 deletions blocks/carousel/carousel.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,3 @@
@import url(./__slide-button/_type/carousel__slide-button_type_prev.css);
@import url(./__slide/_type/carousel__slide_type_statistics.css);
@import url(./__slide/_type/carousel__slide_type_about.css);
@import url(./__track/_type/carousel__track_type_statistics.css);
@import url(./__track/_type/carousel__track_type_about.css);
7 changes: 7 additions & 0 deletions blocks/content-subtitle/content-subtitle.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,10 @@
padding-bottom: 34px;
}
}

@media screen and (max-width: 425px) {
.content-subtitle {
font-size: 12px;
padding-bottom: 26px;
}
}
7 changes: 7 additions & 0 deletions blocks/content-title/content-title.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,10 @@
padding-bottom: 12px;
}
}

@media screen and (max-width: 425px) {
.content-title {
font-size: 20px;
padding-bottom: 12px;
}
}

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions blocks/header/__background-img/header__background-img.css

This file was deleted.

9 changes: 5 additions & 4 deletions blocks/header/header.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
@import url(./__background-img/header__background-img.css);
@import url(./__background-img/_name/header__background-img_name_trees.css);
@import url(./__background-img/_name/header__background-img_name_window.css);
@import url(./__background-img/_name/header__background-img_name_yellow-tree.css);
@import url(./__links/header__links.css);
@import url(./__link/header__link.css);
@import url(./__link/_border/header__link_border.css);
Expand All @@ -14,12 +10,17 @@
display: flex;
height: 750px;
border-bottom: 50px solid #429a6b;
background-image: url(../../images/tablet-header-bg.png);
background-repeat: no-repeat;
background-size: contain;
background-position: bottom;
}

@media (min-width: 1024px) {
.header {
height: 530px;
border-bottom: 40px solid #429a6b;
background-image: url(../../images/desktop-header-bg.png);
}
}

Expand Down
4 changes: 3 additions & 1 deletion blocks/statistics/statistics.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
.statistics {
padding: 100px 40px 0;
padding-bottom: 60px;
}

@media screen and (max-width: 1024px) {
.statistics {
padding-top: 84px;
padding-bottom: 50px;
}
}

@media screen and (max-width: 768px) {
.statistics {
padding: 68px 30px 0;
padding: 68px 30px 40px;
}
}
Binary file added images/desktop-header-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/phone-header-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/tablet-header-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/trees.png
Binary file not shown.
Binary file removed images/window.png
Binary file not shown.
Binary file removed images/yellow-tree.png
Binary file not shown.
43 changes: 23 additions & 20 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,6 @@

<body class="page">
<header class="header">
<img
src="./images/trees.png"
alt="two trees"
class="header__background-img header__background-img_name_trees"
/>
<img
src="./images/window.png"
alt="a girl and a dog looking out a window"
class="header__background-img header__background-img_name_window"
/>
<img
src="./images/yellow-tree.png"
alt="a yellow tree"
class="header__background-img header__background-img_name_yellow-tree"
/>

<div class="logo logo_place_header"></div>
<ul class="header__links">
<li>
Expand Down Expand Up @@ -52,7 +36,7 @@
<main class="content">
<section class="about">
<h2 class="content-title">We provide help</h2>
<p class="about__text">
<p class="about__text about__text_type_subtitle">
<span class="about__italic-text">Out of Bounds</span> focuses on
prevention by showing the children of incarcerated parents that Love
and Life have No Bounds.
Expand All @@ -76,6 +60,27 @@ <h2 class="content-title">We provide help</h2>
alt="2 children"
/>
</li>
<li class="carousel__slide carousel__slide_type_about">
<img
class="carousel__bg-image"
src="./images/image_children.jpg"
alt="2 children"
/>
</li>
<li class="carousel__slide carousel__slide_type_about">
<img
class="carousel__bg-image"
src="./images/image_children.jpg"
alt="2 children"
/>
</li>
<li class="carousel__slide carousel__slide_type_about">
<img
class="carousel__bg-image"
src="./images/image_children.jpg"
alt="2 children"
/>
</li>
</ul>
</div>
<div class="carousel__nav">
Expand Down Expand Up @@ -106,7 +111,7 @@ <h2 class="content-title">We provide help</h2>
coping skill workshops.
</p>
<p class="about__text">
Out of Bounds will assist in fostering and maintaining relationships
<span class="about__italic-text">Out of Bounds</span> will assist in fostering and maintaining relationships
between parents and their children through programming and special
projects.
</p>
Expand All @@ -118,8 +123,6 @@ <h1 class="content-title">statistics are real</h1>
<div class="carousel">
<div class="carousel__track-container">
<ul class="carousel__track carousel__track_type_statistics">
<!-- if you add new slides to the carousel, don't forget to update
the width in the carousel__track_type_statistics.css file -->
<li class="carousel__slide carousel__slide_type_statistics">
<img
src="./images/dots-background.png"
Expand Down
Loading