Skip to content

Commit 4f1c11e

Browse files
authored
Merge pull request #132 from purna135/fix_layout_for_large_screen
Fix large screen styling issues
2 parents 1d753a1 + 555e027 commit 4f1c11e

File tree

4 files changed

+28
-3
lines changed

4 files changed

+28
-3
lines changed

layouts/index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ <h2>Hamiltonian Monte Carlo</h2>
188188
</a>
189189
<h2>Hamiltonian Monte Carlo</h2>
190190
</div>
191-
191+
192192
<div class="sponsor_logo">
193193
<a href="https://numfocus.org/" target="_blank">
194194
<img src="/images/sponsors_logos/num_focus_logo.jpg" alt="NumFOCUS logo">
@@ -212,6 +212,13 @@ <h2>Hamiltonian Monte Carlo</h2>
212212
<h2>Hamiltonian Monte Carlo</h2>
213213
</div>
214214

215+
<div class="sponsor_logo">
216+
<a href="https://www.adialab.ae/" target="_blank">
217+
<img src="/images/sponsors_logos/adia_lab_logo.jpg" alt="Adia Lab logo">
218+
</a>
219+
<h2>Hamiltonian Monte Carlo</h2>
220+
</div>
221+
215222
<div class="sponsor_logo">
216223
<a href="https://numfocus.org/" target="_blank">
217224
<img src="/images/sponsors_logos/num_focus_logo.jpg" alt="NumFOCUS logo">

static/css/home.css

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@
524524

525525
.logos__container {
526526
display: flex;
527-
width: calc(16.2rem * 6);
527+
width: calc(16.2rem * 8);
528528
animation: scrollLogos 10s linear infinite;
529529
}
530530

@@ -533,7 +533,7 @@
533533
transform: translateX(0);
534534
}
535535
100% {
536-
transform: translateX(calc(-16.2rem * 3));
536+
transform: translateX(calc(-16.2rem * 4));
537537
}
538538
}
539539

@@ -691,6 +691,23 @@
691691
outline-offset: 3px;
692692
}
693693

694+
@media screen and (min-width: 1800px) {
695+
.header {
696+
height: 50vh;
697+
}
698+
}
699+
700+
@media screen and (min-width: 1400px) and (max-width: 1800px) {
701+
.header {
702+
height: 60vh;
703+
}
704+
}
705+
706+
@media screen and (max-width: 1400px) {
707+
.header {
708+
height: 80vh;
709+
}
710+
}
694711

695712

696713
/* =================== MEDIA QUERIES (TABLETS) ========================= */

static/css/main.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ body {
4848

4949
.container {
5050
width: var(--container-width-lg);
51+
max-width: 1200px;
5152
margin: 0 auto;
5253
}
5354

-2.71 KB
Loading

0 commit comments

Comments
 (0)