aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/WhisperStyles.astro13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/components/WhisperStyles.astro b/src/components/WhisperStyles.astro
index 98bf2ab..e18d01c 100644
--- a/src/components/WhisperStyles.astro
+++ b/src/components/WhisperStyles.astro
@@ -1,4 +1,4 @@
-<style>
+<style is:global>
.whisper-img {
border: 1px solid var(--sl-color-gray-4);
border-radius: 6px;
@@ -21,4 +21,15 @@
.whisper-transcript strong:last-of-type {
margin-top: 1rem;
}
+ /* 引用ブロック:背景色で本文と区別 */
+ .whisper-quote {
+ background: var(--sl-color-gray-7);
+ border-left: 3px solid var(--sl-color-accent);
+ border-radius: 0 6px 6px 0;
+ padding: 0.75rem 1rem;
+ margin: 0.75rem 0;
+ }
+ .whisper-quote p {
+ margin: 0.25rem 0;
+ }
</style>