Skip to content

Commit 6da2808

Browse files
committed
Add background images to sections
1 parent 7eaa4af commit 6da2808

File tree

4 files changed

+62
-5
lines changed

4 files changed

+62
-5
lines changed

Diff for: assets/css/main.css

+59-2
Original file line numberDiff line numberDiff line change
@@ -3902,8 +3902,7 @@ body.is-preload #banner:after {
39023902

39033903
/* Main */
39043904

3905-
#main > header {
3906-
padding: 12em 0 10em 0;
3905+
.bg0 {
39073906
background-image: -moz-linear-gradient(
39083907
top,
39093908
rgba(0, 0, 0, 0.5),
@@ -3928,6 +3927,64 @@ body.is-preload #banner:after {
39283927
background-position: center center;
39293928
background-repeat: no-repeat;
39303929
background-size: cover;
3930+
}
3931+
3932+
.bg1 {
3933+
background-image: -moz-linear-gradient(
3934+
top,
3935+
rgba(0, 0, 0, 0.5),
3936+
rgba(0, 0, 0, 0.5)
3937+
),
3938+
url('../../images/rio.jpg');
3939+
background-image: -webkit-linear-gradient(
3940+
top,
3941+
rgba(0, 0, 0, 0.5),
3942+
rgba(0, 0, 0, 0.5)
3943+
),
3944+
url('../../images/rio.jpg');
3945+
background-image: -ms-linear-gradient(
3946+
top,
3947+
rgba(0, 0, 0, 0.5),
3948+
rgba(0, 0, 0, 0.5)
3949+
),
3950+
url('../../images/rio.jpg');
3951+
background-image: linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
3952+
url('../../images/rio.jpg');
3953+
background-attachment: fixed;
3954+
background-position: center center;
3955+
background-repeat: no-repeat;
3956+
background-size: cover;
3957+
}
3958+
3959+
.bg2 {
3960+
background-image: -moz-linear-gradient(
3961+
top,
3962+
rgba(0, 0, 0, 0.5),
3963+
rgba(0, 0, 0, 0.5)
3964+
),
3965+
url('../../images/bg/6.jpg');
3966+
background-image: -webkit-linear-gradient(
3967+
top,
3968+
rgba(0, 0, 0, 0.5),
3969+
rgba(0, 0, 0, 0.5)
3970+
),
3971+
url('../../images/bg/6.jpg');
3972+
background-image: -ms-linear-gradient(
3973+
top,
3974+
rgba(0, 0, 0, 0.5),
3975+
rgba(0, 0, 0, 0.5)
3976+
),
3977+
url('../../images/bg/6.jpg');
3978+
background-image: linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
3979+
url('../../images/bg/6.jpg');
3980+
background-attachment: fixed;
3981+
background-position: center center;
3982+
background-repeat: no-repeat;
3983+
background-size: cover;
3984+
}
3985+
3986+
#main > header {
3987+
padding: 12em 0 10em 0;
39313988
text-align: center;
39323989
}
39333990

Diff for: chamada-de-palestrantes.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ <h1><a href="index.html">PHP'n Rio</a></h1>
5858
</header>
5959

6060
<!-- Main -->
61-
<article id="main">
61+
<article id="main" class="bg2">
6262
<header>
6363
<h2>Chamada de Palestrantes</h2>
6464
<p>Seja você um dos palestrantes do PHP'n Rio 2024.</p>

Diff for: index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h1><a href="index.html">PHP'n Rio</a></h1>
5454
</header>
5555

5656
<!-- Banner -->
57-
<section id="banner">
57+
<section id="banner" class="bg0">
5858
<div class="inner">
5959
<p>
6060
Vem aí o maior encontro de PHP<br />

Diff for: palestrantes.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ <h1><a href="index.html">PHP'n Rio</a></h1>
5858
</header>
5959

6060
<!-- Main -->
61-
<article id="main">
61+
<article id="main" class="bg1">
6262
<header>
6363
<h2>Palestrantes Oficiais</h2>
6464
<p>

0 commit comments

Comments
 (0)