quick fixes for #116

This commit is contained in:
Prasanta Kumar Dutta 2023-09-01 17:00:17 +05:30
parent 090fea9afe
commit 00d53ad717
4 changed files with 9 additions and 7 deletions

View file

@ -30,7 +30,11 @@
h4, h4,
h5, h5,
h6 { h6 {
@include h3; @include body-note;
@include tracking-wide;
@include text-primary;
@include font-semibold;
@include fmt-3;
text-transform: none; text-transform: none;
} }

View file

@ -8,7 +8,7 @@
<IntersectionObserver let:intersecting top="{2400}" once="{true}"> <IntersectionObserver let:intersecting top="{2400}" once="{true}">
{#if intersecting} {#if intersecting}
<section class="referrals px-0 py-5"> <section class="referrals px-0 py-5">
<h2 class="text-base font-medium"> <h2 class="fmt-0 text-base font-medium">
<a href="https://graphics.reuters.com/">More from Reuters Graphics</a> <a href="https://graphics.reuters.com/">More from Reuters Graphics</a>
</h2> </h2>
{#if typeof window !== 'undefined'} {#if typeof window !== 'undefined'}

View file

@ -70,7 +70,7 @@
} }
</script> </script>
<Block id="{id}" class="headline-container !my-16 {cls}" width="normal"> <Block id="{id}" class="headline-container fmt-9 fmb-5 {cls}" width="normal">
<header class="headline"> <header class="headline">
<div class="title"> <div class="title">
{#if section} {#if section}
@ -87,9 +87,7 @@
</p> </p>
{/if} {/if}
{#if hed} {#if hed}
<h1 <h1 class="fmt-1 fmb-3 {hedClass}">
class="font-hed text-primary leading-none font-medium fmt-1 fmb-3 {hedClass}"
>
{hed} {hed}
</h1> </h1>
{/if} {/if}

View file

@ -58,7 +58,7 @@
@mixin body-note { @mixin body-note {
@include fmt-0; @include fmt-0;
@include fmb-2; @include fmb-1;
@include font-note; @include font-note;
font-size: calc(0.85 * var(--theme-font-size-base)); font-size: calc(0.85 * var(--theme-font-size-base));
@include font-light; @include font-light;