aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/WhisperStyles.astro
blob: 98bf2abb5ec9d7ce8e5f2dce11db73c04da1c156 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<style>
  .whisper-img {
    border: 1px solid var(--sl-color-gray-4);
    border-radius: 6px;
    max-width: 100%;
    display: block;
    margin: 0.75rem 0;
  }
  .whisper-transcript {
    background: var(--sl-color-gray-7);
    border-left: 3px solid var(--sl-color-gray-3);
    border-radius: 0 6px 6px 0;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    font-size: 0.95rem;
    line-height: 1.8;
  }
  .whisper-transcript :is(p, strong) {
    margin: 0 0 0.5rem;
  }
  .whisper-transcript strong:last-of-type {
    margin-top: 1rem;
  }
</style>