Skip to content

Commit f66b18d

Browse files
committed
✨ image component
1 parent 566d170 commit f66b18d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

_includes/image.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<img alt="{{ include.title }}" src="{{ include.url }}" alt="{{ include.description }}">
2+
<figcaption>{{ include.description }}</figcaption>

assets/css/theme.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -733,4 +733,11 @@ body.active-side {
733733

734734
.mt-10 {
735735
margin-top: 10px;
736+
}
737+
738+
figcaption{
739+
text-align: center;
740+
font-size: 14px;
741+
color: rgba(117, 117, 117, 1);
742+
font-weight: 400;
736743
}

0 commit comments

Comments
 (0)