Fix italic fonts -- add emphasis to OS headline

This commit is contained in:
kitajchuk
2021-04-05 18:23:48 -07:00
parent a24d656034
commit 051ebfb4f2
3 changed files with 7 additions and 21 deletions

View File

@@ -21,7 +21,7 @@ facts:
title: We love driving your success
text: We're here to help. Whether its providing excellent customer service for our hosted platform, helping you set up your own platform on the open source, or working with you to add new capabilities to the paltform, we measure our success by helping you win.
os:
headline: Oh, and we mean completely open source.
headline: Oh, and we mean <em>completely</em> open source.
subtext: All of the jambonz core software and drachtio is available on github under the MIT License.
buttons:
-

View File

@@ -28,7 +28,9 @@ function OS({data}) {
<div className="os pad">
<div className="wrap os__wrap">
<div className="os__headline">
<H2>{data.headline}</H2>
<H2>
<div dangerouslySetInnerHTML={{ __html: data.headline}} />
</H2>
</div>
<div className="os__subtext">
<H5>{data.subtext}</H5>

View File

@@ -3,15 +3,7 @@
src: url('/fonts/objectivity-boldslanted-webfont.woff2') format('woff2'),
url('/fonts/objectivity-boldslanted-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'objectivityblack_slanted';
src: url('/fonts/objectivity-blackslanted-webfont.woff2') format('woff2'),
url('/fonts/objectivity-blackslanted-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
font-style: italic;
}
@font-face {
@@ -19,7 +11,7 @@
src: url('/fonts/objectivity-regularslanted-webfont.woff2') format('woff2'),
url('/fonts/objectivity-regularslanted-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
font-style: italic;
}
@font-face {
@@ -27,7 +19,7 @@
src: url('/fonts/objectivity-mediumslanted-webfont.woff2') format('woff2'),
url('/fonts/objectivity-mediumslanted-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
font-style: italic;
}
@font-face {
@@ -38,14 +30,6 @@
font-style: normal;
}
@font-face {
font-family: 'objectivityblack';
src: url('/fonts/objectivity-black-webfont.woff2') format('woff2'),
url('/fonts/objectivity-black-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'objectivityregular';
src: url('/fonts/objectivity-regular-webfont.woff2') format('woff2'),