Skip to content

Commit

Permalink
Merge pull request #345 from mongodb/staging
Browse files Browse the repository at this point in the history
Automated PR: staging to main
  • Loading branch information
bruugey authored Jan 23, 2024
2 parents 651d23b + 33d4a36 commit 2586679
Showing 1 changed file with 28 additions and 72 deletions.
100 changes: 28 additions & 72 deletions styles/globals.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,62 +9,18 @@ import { css } from '@emotion/css';
const fontsURL = `${CDN}/fonts`;

export const globalStyles = EmotionReactCss`
@font-face {
font-family: 'Akzidenz';
font-weight: normal;
src: url('${fontsURL}/akzidgrostdreg.eot');
/* IE9 Compat Modes */
src: url('${fontsURL}/akzidgrostdreg.eot?#iefix')
format('embedded-opentype'),
/* Pretty Modern Browsers */ url('${fontsURL}/akzidgrostdreg.ttf')
format('truetype'),
/* Safari, Android, iOS */ url('${fontsURL}/akzidgrostdreg.svg#Akzidenz')
format('svg');
/* Legacy iOS */
}
@font-face {
font-family: 'Akzidenz';
font-weight: 600;
src: url('${fontsURL}/akzidgrostdmed.eot');
/* IE9 Compat Modes */
src: url('${fontsURL}/akzidgrostdmed.eot?#iefix')
format('embedded-opentype'),
/* IE6-IE8 */ url('${fontsURL}/akzidgrostdmed.woff') format('woff'),
/* Pretty Modern Browsers */ url('${fontsURL}/akzidgrostdmed.ttf')
format('truetype'),
/* Safari, Android, iOS */ url('${fontsURL}/akzidgrostdmed.svg#Akzidenz')
format('svg');
/* Legacy iOS */
}
@font-face {
font-family: 'Akzidenz';
font-weight: bold;
src: url('${fontsURL}/akzidgrostdmed.eot');
/* IE9 Compat Modes */
src: url('${fontsURL}/akzidgrostdmed.eot?#iefix')
format('embedded-opentype'),
/* IE6-IE8 */ url('${fontsURL}/akzidgrostdmed.woff') format('woff'),
/* Pretty Modern Browsers */ url('${fontsURL}/akzidgrostdmed.ttf')
format('truetype'),
/* Safari, Android, iOS */ url('${fontsURL}/akzidgrostdmed.svg#Akzidenz')
format('svg');
/* Legacy iOS */
}
/**
* Euclid
*/
/* Semibold */
@font-face {
font-family: 'Euclid Circular A';
src: url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-Semibold-WebXL.woff')
src: url('${fontsURL}/euclid-circular/EuclidCircularA-Semibold-WebXL.woff')
format('woff'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-Semibold-WebXL.woff2')
url('${fontsURL}/euclid-circular/EuclidCircularA-Semibold-WebXL.woff2')
format('woff2'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-Semibold.ttf')
url('${fontsURL}/euclid-circular/EuclidCircularA-Semibold.ttf')
format('truetype');
font-weight: 700;
font-style: normal;
Expand All @@ -73,11 +29,11 @@ export const globalStyles = EmotionReactCss`
/* Semibold Italic */
@font-face {
font-family: 'Euclid Circular A';
src: url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-SemiboldItalic-WebXL.woff')
src: url('${fontsURL}/euclid-circular/EuclidCircularA-SemiboldItalic-WebXL.woff')
format('woff'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-SemiboldItalic-WebXL.woff2')
url('${fontsURL}/euclid-circular/EuclidCircularA-SemiboldItalic-WebXL.woff2')
format('woff2'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-SemiboldItalic.ttf')
url('${fontsURL}/euclid-circular/EuclidCircularA-SemiboldItalic.ttf')
format('truetype');
font-weight: 700;
font-style: italic;
Expand All @@ -86,11 +42,11 @@ export const globalStyles = EmotionReactCss`
/* Medium */
@font-face {
font-family: 'Euclid Circular A';
src: url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-Medium-WebXL.woff')
src: url('${fontsURL}/euclid-circular/EuclidCircularA-Medium-WebXL.woff')
format('woff'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-Medium-WebXL.woff2')
url('${fontsURL}/euclid-circular/EuclidCircularA-Medium-WebXL.woff2')
format('woff2'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-Medium.ttf')
url('${fontsURL}/euclid-circular/EuclidCircularA-Medium.ttf')
format('truetype');
font-weight: 500;
font-style: normal;
Expand All @@ -99,11 +55,11 @@ export const globalStyles = EmotionReactCss`
/* Medium Italic */
@font-face {
font-family: 'Euclid Circular A';
src: url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-MediumItalic-WebXL.woff')
src: url('${fontsURL}/euclid-circular/EuclidCircularA-MediumItalic-WebXL.woff')
format('woff'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-MediumItalic-WebXL.woff2')
url('${fontsURL}/euclid-circular/EuclidCircularA-MediumItalic-WebXL.woff2')
format('woff2'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-MediumItalic.ttf')
url('${fontsURL}/euclid-circular/EuclidCircularA-MediumItalic.ttf')
format('truetype');
font-weight: 500;
font-style: italic;
Expand All @@ -112,11 +68,11 @@ export const globalStyles = EmotionReactCss`
/* Normal */
@font-face {
font-family: 'Euclid Circular A';
src: url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-Regular-WebXL.woff')
src: url('${fontsURL}/euclid-circular/EuclidCircularA-Regular-WebXL.woff')
format('woff'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-Regular-WebXL.woff2')
url('${fontsURL}/euclid-circular/EuclidCircularA-Regular-WebXL.woff2')
format('woff2'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-Regular.ttf')
url('${fontsURL}/euclid-circular/EuclidCircularA-Regular.ttf')
format('truetype');
font-weight: 400;
font-style: normal;
Expand All @@ -125,11 +81,11 @@ export const globalStyles = EmotionReactCss`
/* Italic */
@font-face {
font-family: 'Euclid Circular A';
src: url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-RegularItalic-WebXL.woff')
src: url('${fontsURL}/euclid-circular/EuclidCircularA-RegularItalic-WebXL.woff')
format('woff'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-RegularItalic-WebXL.woff2')
url('${fontsURL}/euclid-circular/EuclidCircularA-RegularItalic-WebXL.woff2')
format('woff2'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/euclid-circular/EuclidCircularA-RegularItalic.ttf')
url('${fontsURL}/euclid-circular/EuclidCircularA-RegularItalic.ttf')
format('truetype');
font-weight: 400;
font-style: italic;
Expand All @@ -143,40 +99,40 @@ export const globalStyles = EmotionReactCss`
@font-face {
font-family: 'MongoDB Value Serif';
font-weight: 700;
src: url('https://d2va9gm4j17fy9.cloudfront.net/fonts/value-serif/MongoDBValueSerif-Bold.woff')
src: url('${fontsURL}/value-serif/MongoDBValueSerif-Bold.woff')
format('woff'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/value-serif/MongoDBValueSerif-Bold.woff2')
url('${fontsURL}/value-serif/MongoDBValueSerif-Bold.woff2')
format('woff2'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/value-serif/MongoDBValueSerif-Bold.ttf')
url('${fontsURL}/value-serif/MongoDBValueSerif-Bold.ttf')
format('truetype');
}
/* Medium */
@font-face {
font-family: 'MongoDB Value Serif';
font-weight: 500;
src: url('https://d2va9gm4j17fy9.cloudfront.net/fonts/value-serif/MongoDBValueSerif-Medium.woff')
src: url('${fontsURL}/value-serif/MongoDBValueSerif-Medium.woff')
format('woff'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/value-serif/MongoDBValueSerif-Medium.woff2')
url('${fontsURL}/value-serif/MongoDBValueSerif-Medium.woff2')
format('woff2'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/value-serif/MongoDBValueSerif-Medium.ttf')
url('${fontsURL}/value-serif/MongoDBValueSerif-Medium.ttf')
format('truetype');
}
/* Normal */
@font-face {
font-family: 'MongoDB Value Serif';
font-weight: 400;
src: url('https://d2va9gm4j17fy9.cloudfront.net/fonts/value-serif/MongoDBValueSerif-Regular.woff')
src: url('${fontsURL}/value-serif/MongoDBValueSerif-Regular.woff')
format('woff'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/value-serif/MongoDBValueSerif-Regular.woff2')
url('${fontsURL}/value-serif/MongoDBValueSerif-Regular.woff2')
format('woff2'),
url('https://d2va9gm4j17fy9.cloudfront.net/fonts/value-serif/MongoDBValueSerif-Regular.ttf')
url('${fontsURL}/value-serif/MongoDBValueSerif-Regular.ttf')
format('truetype');
}
html {
font-family: 'Euclid Circular A', 'Akzidenz', 'Helvetica Neue', Helvetica,
font-family: 'Euclid Circular A', 'Helvetica Neue', Helvetica,
Arial, sans-serif;
font-weight: normal;
font-style: normal;
Expand Down

0 comments on commit 2586679

Please sign in to comment.