Skip to content

Commit a4508c8

Browse files
committed
Fix broken home page; widen carousel in teaching section
1 parent e783319 commit a4508c8

File tree

3 files changed

+21
-13
lines changed

3 files changed

+21
-13
lines changed

.DS_Store

0 Bytes
Binary file not shown.

_tabs/teaching.md

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,12 @@ worldview of geophysics; interplay of media, government and lobbyists with hazar
3939
<style>
4040
.swiper {
4141
width: 100%;
42-
max-width: 600px;
43-
margin: 2em auto;
44-
padding: 1em;
45-
box-sizing: border-box;
42+
max-width: 900px; /* wider than before */
43+
margin: 2.5em auto;
44+
padding: 2em 1.5em;
45+
background-color: #f9f9f9;
46+
border-radius: 12px;
47+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
4648
}
4749

4850
.swiper-wrapper {
@@ -51,41 +53,46 @@ worldview of geophysics; interplay of media, government and lobbyists with hazar
5153

5254
.swiper-slide {
5355
box-sizing: border-box;
54-
padding: 1em;
56+
padding: 1.5em;
5557
}
5658

5759
.swiper-slide blockquote {
5860
font-style: italic;
61+
font-size: 1.25rem; /* bigger text */
62+
line-height: 1.8;
5963
margin: 0;
64+
color: #333;
6065
}
6166

6267
.swiper-slide footer {
6368
text-align: right;
64-
font-size: 0.9em;
65-
margin-top: 0.5em;
69+
font-size: 1rem;
70+
margin-top: 1em;
6671
color: #666;
6772
}
6873

6974
.swiper-button-prev,
7075
.swiper-button-next {
71-
color: #888;
72-
width: 30px;
73-
height: 30px;
76+
color: #666;
77+
width: 40px;
78+
height: 40px;
7479
top: 50%;
7580
transform: translateY(-50%);
7681
}
7782

7883
.swiper-button-prev::after,
7984
.swiper-button-next::after {
80-
font-size: 20px;
85+
font-size: 22px;
8186
}
8287

8388
.swiper-pagination-bullet {
8489
background: #bbb;
90+
width: 12px;
91+
height: 12px;
8592
}
8693

8794
.swiper-pagination-bullet-active {
88-
background: #333;
95+
background: #444;
8996
}
9097
</style>
9198

index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2-
layout: home
2+
layout: page
33
title: Home
4+
permalink: /
45
---
56

67
<div style="text-align: center; margin-bottom: 2rem;">

0 commit comments

Comments
 (0)