Skip to content

Commit 35b69a9

Browse files
committed
Prose picture style.
1 parent df52cc7 commit 35b69a9

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

src/content/pages/explore.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ title: More Tips on Exploring Prague
33
subtitle: At EuroPython, many attendees will come with their families. While not attending the conference, why not go and explore Prague and the surrounding area?
44
---
55

6-
import { Image } from "astro:assets";
6+
import { Picture } from "astro:assets";
77
import venueImage from "./images/prague.jpg";
88

99
# Prague Exploration Tips
1010

11-
<Image src={venueImage} width="1200" alt="" />
11+
<Picture src={venueImage} width="1200" alt="" />
1212

1313
<div class="mb-15"> </div>
1414

src/content/pages/where.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Where
33
subtitle: EuroPython 2025 will be back in Prague!
44
---
55

6-
import { Image } from "astro:assets";
6+
import { Picture } from "astro:assets";
77

88
import venueImage from "./images/prague.jpg";
99
import pccEntrance from "images/entrance5-pcc5.jpg";
@@ -16,7 +16,7 @@ import pccEntrance from "images/entrance5-pcc5.jpg";
1616

1717
## Prague
1818

19-
<Image src={venueImage} width="1200" class="w-full h-auto border-4 border-white rounded-lg shadow-lg" alt="Photo of Charles Bridge in Prague" />
19+
<Picture src={venueImage} alt="Photo of Charles Bridge in Prague" />
2020

2121
<br></br>
2222

@@ -73,10 +73,8 @@ Kongresové centrum Praha, a.s.<br/>
7373

7474
**IMPORTANT: use Entrance 5 of the building to get into the conference.**
7575

76-
<Image
76+
<Picture
7777
src={pccEntrance}
78-
width="1200"
79-
class="w-full h-auto border-4 border-white rounded-lg shadow-lg"
8078
alt="Entrance 5 of the Prague Congress Centre"
8179
/>
8280

src/styles/global.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,18 @@ body {
6363
outline-offset: 5px;
6464
}
6565

66+
.prose picture img {
67+
width: 100%;
68+
height: auto;
69+
border-width: 4px;
70+
border-color: white;
71+
border-style: solid;
72+
border-radius: 0.5rem;
73+
box-shadow:
74+
0 10px 15px -3px rgba(0, 0, 0, 0.1),
75+
0 4px 6px -2px rgba(0, 0, 0, 0.05);
76+
}
77+
6678
ul.milestone-done li {
6779
position: relative;
6880
list-style: none;

0 commit comments

Comments
 (0)