This commit is contained in:
Prasanta Kumar Dutta 2023-09-07 14:11:42 +05:30
parent ca97ddfa7a
commit a779e53d72
7 changed files with 23 additions and 22 deletions

View file

@ -75,7 +75,7 @@
{#if authors.length > 0} {#if authors.length > 0}
{#each authors as author, i} {#each authors as author, i}
<a <a
class="no-underline whitespace-nowrap text-primary font-medium" class="no-underline whitespace-nowrap text-primary font-bold"
href="{getAuthorPage(author)}" href="{getAuthorPage(author)}"
rel="author" rel="author"
> >
@ -86,7 +86,7 @@
{:else} {:else}
<a <a
href="https://www.reuters.com" href="https://www.reuters.com"
class="no-underline whitespace-nowrap text-primary font-medium" class="no-underline whitespace-nowrap text-primary font-bold"
>Reuters</a >Reuters</a
> >
{/if} {/if}

View file

@ -85,7 +85,7 @@
<div class="title"> <div class="title">
{#if section} {#if section}
<p <p
class="section-title mb-0 font-subhed text-xxs text-secondary font-bold uppercase whitespace-nowrap tracking-wider" class="section-title mb-0 font-subhed text-xs text-secondary font-bold uppercase whitespace-nowrap tracking-wider"
> >
{section} {section}
</p> </p>

View file

@ -75,7 +75,7 @@
<div class="title"> <div class="title">
{#if section} {#if section}
<p <p
class="section-title mb-0 font-subhed text-xxs text-secondary font-bold uppercase whitespace-nowrap tracking-wider" class="section-title mb-0 font-subhed text-xs text-secondary font-bold uppercase whitespace-nowrap tracking-wider"
> >
{#if sectionUrl} {#if sectionUrl}
<a class="no-underline !text-secondary" href="{sectionUrl}" <a class="no-underline !text-secondary" href="{sectionUrl}"

View file

@ -123,29 +123,18 @@ figcaption {
blockquote { blockquote {
@include fmx-0; @include fmx-0;
@include fpl-3; @include fmy-6;
@include fpy-3;
@include fpr-1;
border-left: 2px solid $theme-colour-brand-rules;
@include fmy-4;
p { p {
@include font-body; @include body-note;
@include font-light;
@include text-lg; @include text-lg;
@include leading-tight;
@include fmb-1;
font-style: italic;
} }
blockquote { blockquote {
@include fmb-0;
@include fmt-3; @include fmt-3;
border: 0;
@include fpy-0;
@include fpl-0;
p { p {
@include body-caption;
@include text-sm; @include text-sm;
@include font-note; @include fmb-0;
@include fm-0;
font-style: normal;
} }
} }
} }

View file

@ -80,7 +80,7 @@ $fluid-margin-levels: (
@mixin fml-1 { @mixin fml-1 {
margin-left: map.get($fluid-margin-levels, '1'); margin-left: map.get($fluid-margin-levels, '1');
} }
@mixin \!fmr-1 { @mixin fmr-1 {
margin-right: map.get($fluid-margin-levels, '1') !important; margin-right: map.get($fluid-margin-levels, '1') !important;
} }
@mixin \!fm-1 { @mixin \!fm-1 {

View file

@ -31,3 +31,7 @@
.body-link { .body-link {
@include body-link; @include body-link;
} }
.drop-cap {
@include drop-cap;
}

View file

@ -83,8 +83,16 @@
@mixin body-link { @mixin body-link {
color: currentColor; color: currentColor;
text-decoration: underline; text-decoration: underline;
text-underline-position: under; text-underline-position: from-font;
text-decoration-style: dotted; text-decoration-style: dotted;
text-decoration-thickness: 1px; text-decoration-thickness: 1px;
text-decoration-color: var(--theme-colour-text-secondary); text-decoration-color: var(--theme-colour-text-secondary);
} }
@mixin drop-cap {
float: left;
@include text-5xl;
line-height: 0.9;
@include fmr-1;
@include font-light;
}