Skip to content

Commit 500d4bf

Browse files
Régis Melgaço de AndradeRégis Melgaço de Andrade
Régis Melgaço de Andrade
authored and
Régis Melgaço de Andrade
committed
responsive home banner
1 parent cca6b94 commit 500d4bf

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

css/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#index-banner {
1414
background-image: url("../images/banner.png"); /* The image used */
1515
background-color: #ffffff; /* Used if the image is unavailable */
16-
background-position: center; /* Center the image */
16+
background-position: bottom; /* Center the image */
1717
background-repeat: no-repeat; /* Do not repeat the image */
1818
background-size: contain; /* Resize the background image to cover the entire container */
1919
}

index.html

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,21 @@
4242
</div>
4343

4444
<!-- Main Section -->
45-
<div class="aspect-ratio-container">
46-
<div class="aspect-ratio-content section no-pad-bot grey lighten-5" id="index-banner">
47-
<div class="container">
45+
<div class="section no-pad-bot grey lighten-5" id="index-banner">
46+
<div id="banner-content" class="container">
47+
<br><br>
48+
<div class="row">
49+
<h1 class="header grey-text text-darken-3">Python<br>Nordeste 2020</h1>
50+
<h5 class="header col s12 light">Fortaleza, Ceará | 17, 18 e 19 de Julho</h5>
51+
</div>
52+
<div class="row center">
53+
<a href="#evento" class="btn-floating btn-large waves-effect waves-light grey darken-3"><i class="fa fa-angle-double-down"></i></a>
54+
</div>
55+
<br><br>
56+
<div class="hide-on-small-only">
4857
<br><br>
49-
<h1 class="header grey-text text-darken-3">Python <br> Nordeste 2020</h1>
50-
<div class="row">
51-
<h5 class="header col s12 light">Fortaleza, Ceará | 17, 18 e 19 de Julho</h5>
52-
</div>
5358
<br><br>
5459
<br><br>
55-
<div class="row center">
56-
<a href="#evento" class="btn-floating btn-large waves-effect waves-light grey darken-3"><i class="fa fa-angle-double-down"></i></a>
57-
</div>
5860
<br><br>
5961
</div>
6062
</div>
@@ -128,7 +130,7 @@ <h4>
128130

129131
<!-- About Section -->
130132
<div class="parallax-container" style="height: auto">
131-
<div class="parallax"><img src="images/pyne2019.jpg" style="background-size: cover; botton"></div>
133+
<div class="parallax"><img src="images/pyne2019.jpg" style="background-size: cover"></div>
132134
<div class="container">
133135
<div id="evento" class="section white-text">
134136
<br><br>

0 commit comments

Comments
 (0)