Skip to content
Snippets Groups Projects
Commit 6514d5b8 authored by Ekaterina Kondareva's avatar Ekaterina Kondareva
Browse files

Merge branch 'NXSTAGE-617-fix-intro-title' into 'development'

introduction h2 title is the same as h2 landing page all caps

See merge request julkiset-sivut/design-system-lib!63
parents 4d099290 0ae2ef27
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,8 @@ ...@@ -87,7 +87,8 @@
} }
} }
// h2 used in landing pages: caps, bigger font // H2 used in landing pages and in Introduction paragraph: caps, bigger font.
h2.hy-heading__introduction,
h2.hy-heading__landingsection { h2.hy-heading__landingsection {
@include font-size(28px, 32px); @include font-size(28px, 32px);
letter-spacing: -0.88px; letter-spacing: -0.88px;
...@@ -167,49 +168,6 @@ h1.hy-heading__introduction { ...@@ -167,49 +168,6 @@ h1.hy-heading__introduction {
} }
} }
/*
H2 used in Introduction paragraph.
*/
h2.hy-heading__introduction {
@include font-size(28px, 32px);
@include font-weight($bold);
//color: inherit;
font-family: var(--main-font-family);
letter-spacing: -0.88px;
margin-bottom: 16px;
margin-top: 36px;
padding: 0;
text-transform: uppercase;
@include breakpoint($narrow) {
// > 960px
@include font-size(40px, 40px);
letter-spacing: -1.25px;
margin-bottom: 24px;
margin-top: 46px;
}
@include breakpoint($wide) {
// > 960px
@include font-size(40px, 40px);
letter-spacing: -1.25px;
margin-top: 0;
}
@include breakpoint($extrawide) {
// > 1200px
@include font-size(48px, 52px);
letter-spacing: -1.6px;
}
@include breakpoint($overwide) {
// > 1400px
@include font-size(54px, 40px);
letter-spacing: -1.69px;
}
}
h1, h1,
h2, h2,
h3, h3,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment