Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Commit 16bc5d0

Browse files
committed
events.jquery.org: Add homepage banner
1 parent 0cdc476 commit 16bc5d0

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

themes/events.jquery.org/index.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php get_header(); ?>
22

3+
<div id="banner-secondary" class="large-banner">
4+
<div class="banner-text">
5+
<h1>jQuery is better with friends.</h1>
6+
<p>There are loads of events big and small.</p>
7+
</div>
8+
</div>
9+
310
<div class="content-full full-width twelve columns">
411
<div id="content">
512
<h2>Here are a few upcoming jQuery Foundation events:</h2>

themes/events.jquery.org/style.css

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,25 @@ Theme Name: events-jquery-org
33
Template: jquery
44
*/
55

6+
#banner-secondary.large-banner {
7+
background-image: url("/resources/images/banner-events-bkg.jpg");
8+
background-repeat: no-repeat;
9+
margin: -20px 0 20px;
10+
padding: 85px 0;
11+
}
12+
13+
#banner-secondary .banner-text {
14+
background-color: rgba(0, 0, 0, 0.82);
15+
text-align: center;
16+
padding-top: 3%;
17+
padding-bottom: 3%;
18+
}
19+
620
.row article.conference-grid.six {
721
width: 49%;
822
margin-right: 2%;
923
margin-bottom: 2%;
10-
padding-top: 3%;
11-
padding-bottom: 2%;
24+
padding:3% 0;
1225
text-align: center;
1326
background-position: center center;
1427
background-repeat: no-repeat;

0 commit comments

Comments
 (0)