Skip to content

Commit 6cd6f41

Browse files
committed
updated banner's height
1 parent 5b65fd9 commit 6cd6f41

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

_pages/exchange.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ nav: false
77
nav_order: 6
88
---
99

10-
<div id="banner-exchange" style="background-image: url('{{ "/assets/img/banner/NYAIExchange_updatedbanner.jpg" | relative_url }}');"></div>
10+
<div id="banner-exchange"
11+
style="background-image: url('{{ "/assets/img/banner/NYAIExchange_updatedbanner.jpg" | relative_url }}');">
12+
</div>
1113

1214
<!-- <h4 class="category" id="collaboration">#RAIforUkraine: Responsible AI Research for Ukrainian Scholars</h4> -->
1315

assets/css/main.scss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,13 @@ $max-content-width: {{ site.max_width }};
7575
}
7676

7777
#banner-exchange {
78-
background-size: cover;
79-
background-position: center;
80-
padding-top: 18.7%; /* 487/2600 — preserves natural aspect ratio */
81-
width: 100%; /* stays within content column, no full-bleed */
78+
background-size: 100% auto;
79+
background-position: top center;
80+
background-repeat: no-repeat;
81+
82+
padding-top: 40%; /* increase height */
83+
width: 100%;
84+
8285
margin-bottom: 20px;
8386
margin-top: -10px;
8487
}

0 commit comments

Comments
 (0)