Skip to content

Commit 70e1ce0

Browse files
committed
Ajuste em backgrond para 100vh
1 parent 0961a8e commit 70e1ce0

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

_includes/banner.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ <h1 class="header yellow-text">Salvador</h1> -->
88
</div>
99
</div>
1010
</div>
11+
<div class="color-overlay"></div>
1112
<div class="parallax">
12-
<div class="color-overlay"></div>
13-
<img src="/assets/img/background1.jpg" alt="Salvador Baía de Todos-os-Santos" style="display: block; transform: translate3d(-50%, 211px, 0px);">
14-
</div>
13+
</div>
1514
</div>

_src/img/empty

Whitespace-only changes.

_src/sass/main.scss

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ body{
66
}
77

88
.parallax-container {
9-
min-height: 80vh;
9+
min-height: 100vh;
10+
background-image: url(/assets/img/background1.jpg);
1011
line-height: 0;
1112
height: auto;
1213
color: rgba(255,255,255,.9);
@@ -41,10 +42,11 @@ body{
4142
overflow: hidden;
4243
white-space: nowrap;
4344
color: $blue-gray;
44-
padding: 50px 50px 50px 50px;
45+
padding: 20px 50px 30px 50px;
4546
> span{
4647
position: relative;
4748
display: inline-block;
49+
//top:-2.8em;
4850
&:before{
4951
right: 100%;
5052
margin-right: 15px;

assets/css/main.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ body {
22
background-color: #fcfcfc; }
33

44
.parallax-container {
5-
min-height: 80vh;
5+
min-height: 100vh;
6+
background-image: url(/assets/img/background1.jpg);
67
line-height: 0;
78
height: auto;
89
color: rgba(255, 255, 255, 0.9); }
@@ -32,7 +33,7 @@ body {
3233
overflow: hidden;
3334
white-space: nowrap;
3435
color: #263238;
35-
padding: 50px 50px 50px 50px; }
36+
padding: 20px 50px 30px 50px; }
3637
.strike > span {
3738
position: relative;
3839
display: inline-block; }

index.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: default
33
---
44
<div class="home">
5-
<section>
5+
<section class="section">
66
<div class="row">
77
<div class="center">
88

@@ -17,6 +17,7 @@
1717
</div>
1818
</div>
1919
</section>
20+
2021
<!-- <div class="row">
2122
{% for post in site.posts %}
2223
<div class="col s4">

0 commit comments

Comments
 (0)