edited ImageSubtitle formatting
This commit is contained in:
@@ -6,16 +6,26 @@
|
|||||||
} = $props();
|
} = $props();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<span class="image-subtitle">{content}</span>
|
<div class="image-subtitle-container">
|
||||||
|
<span class="image-arrow">↳</span>
|
||||||
|
<span class="image-subtitle">{content}</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.image-subtitle::before {
|
.image-subtitle-container {
|
||||||
content: "↳ ";
|
display: flex;
|
||||||
}
|
flex-direction: row;
|
||||||
.image-subtitle {
|
width: var(--media-width);
|
||||||
display: block;
|
|
||||||
width: 80%;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.image-subtitle, .image-arrow {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
|
line-height: 1.2rem;
|
||||||
|
margin: 2px 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.image-arrow {
|
||||||
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -134,6 +134,9 @@
|
|||||||
--margin-header-top: 16px;
|
--margin-header-top: 16px;
|
||||||
--margin-header-bottom: 8px;
|
--margin-header-bottom: 8px;
|
||||||
|
|
||||||
|
/* sizing */
|
||||||
|
--media-width: 80%;
|
||||||
|
|
||||||
/* page sizing */
|
/* page sizing */
|
||||||
--page-width: 1000px;
|
--page-width: 1000px;
|
||||||
--screen-width-mobile: 800px;
|
--screen-width-mobile: 800px;
|
||||||
@@ -277,7 +280,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
img, video {
|
img, video {
|
||||||
width: 80%;
|
width: var(--media-width);
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -286,7 +289,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.horizontally-centre-aligned {
|
.horizontally-centre-aligned {
|
||||||
width: 80%;
|
width: var(--media-width);
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user