Skip to content

Commit d1e14a2

Browse files
committed
added prettification to the carousel
1 parent dfccfac commit d1e14a2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

group.qmd

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ output:
1616
min-height: 280px;
1717
max-height: 350px;
1818
}
19+
.carousel-caption {
20+
background-color: rgba(0, 0, 0, 0.6); /* Transparent black background */
21+
padding: 10px; /* Add padding for better visibility */
22+
color: white; /* Text color */
23+
}
24+
25+
.carousel-caption h5 {
26+
margin-bottom: 5px; /* Adjust spacing between heading and paragraph */
27+
}
1928
</style>
2029
</head>
2130
<body>
@@ -40,7 +49,7 @@ output:
4049
<div class="carousel-item">
4150
<img src="images/group/2023-cake.jpg" class="d-block w-100" alt="Slide 2">
4251
<div class="carousel-caption d-none d-md-block">
43-
<h5>2 May 2023/h5>
52+
<h5>2 May 2023</h5>
4453
<p>Cake by batch of 2023</p>
4554
</div>
4655
</div>

0 commit comments

Comments
 (0)