Skip to content

Commit

Permalink
Merge pull request #31 from MabelM1/feature/update-hello-there-sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
julieg18 authored Jul 1, 2020
2 parents 2c855fa + f6de8e9 commit a84cb4d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 11 deletions.
11 changes: 9 additions & 2 deletions blocks/hello-there/__img/hello-there__img.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
.hello-there__img {
width: 188px;
margin-top: 18px;
width: 100%;
margin-top: 8px;
}

@media (min-width: 768px) {
.hello-there__img {
width: 188px;
margin-top: 18px;
}
}

@media (min-width: 1024px) {
Expand Down
21 changes: 13 additions & 8 deletions blocks/hello-there/hello-there.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,22 @@
@import url(./__links/hello-there__links.css);

.hello-there {
padding-top: 68px;
margin: 0 40px;
display: grid;
grid-template-columns: auto auto;
grid-template-rows: auto 235px auto;
column-gap: 30px;
padding: 50px 16px 0;
border-top: 1.7px solid #223d46;
}

.hello-there .content-title {
grid-column: span 2;
@media (min-width: 768px) {
.hello-there {
grid-template-columns: auto auto;
grid-template-rows: auto 235px auto;
column-gap: 30px;
display: grid;
padding: 68px 40px 0;
}

.hello-there .content-title {
grid-column: span 2;
}
}

@media (min-width: 1024px) {
Expand Down
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ <h2 class="content-title">hello there</h2>
<p class="hello-there__links">
<a href="mailto:[email protected]" class="link"
>Email</a
>/<a
>
/
<a
href="https://www.instagram.com/outofboundssupport/"
target="_blank"
class="link"
Expand Down

0 comments on commit a84cb4d

Please sign in to comment.