diff --git a/layouts/partials/custom-head.html b/layouts/partials/custom-head.html index aaed171652855a646fc8fd79190d4ee9f34a5d99..548a5b26153c7c311b449847feb64adeb6ce3fb1 100644 --- a/layouts/partials/custom-head.html +++ b/layouts/partials/custom-head.html @@ -1,5 +1,4 @@ <link rel="stylesheet" href="/css/custom.css"> -<link href="https://www.unl.edu/fonts/core/477932/6B62CFDB4A94E2C3B.css" type="text/css" rel="stylesheet"> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-36141757-1"></script> <script> diff --git a/static/css/custom.css b/static/css/custom.css index 9c952394b0982e46a5bded8056516b2410140c55..a70cd173b5e95f9c02b96e9a70d29bbf759d19f6 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -1,10 +1,45 @@ +@font-face { + ascent-override:85%;font-family: "Serif Fallback"; + size-adjust:110.85000000000004%;src: local("Times New Roman") +} + +@font-face { + ascent-override:80%;font-family: "Sans Serif Fallback"; + size-adjust:111.77999999999994%;src: local("Arial") +} + +@font-face { + font-family: Work Sans; + font-weight: 400; + src: url(https://unlcms.unl.edu/wdn/templates_5.3/fonts/work-sans/WorkSans-Regular.woff2) format("woff2") +} + +@font-face { + font-family: Work Sans; + font-style: italic; + src: url(https://unlcms.unl.edu/wdn/templates_5.3/fonts/work-sans/WorkSans-Italic.woff2) format("woff2") +} + +@font-face { + font-family: Work Sans; + font-weight: 700; + src: url(https://unlcms.unl.edu/wdn/templates_5.3/fonts/work-sans/WorkSans-Bold.woff2) format("woff2") +} + +@font-face { + font-family: Work Sans; + font-style: italic; + font-weight: 700; + src: url(https://unlcms.unl.edu/wdn/templates_5.3/fonts/work-sans/WorkSans-BoldItalic.woff2) format("woff2") +} + .img-border a img { border:1px solid #021a40 !important ; } body, h5, h6 { background: #FEFDFA ; -font-family: "Mercury SSm A","Mercury SSm B","Times New Roman",serif; +font-family: Work Sans,"Sans Serif Fallback",sans-serif; font-size: 16px !important; } @@ -51,8 +86,9 @@ color: #5b5b5a; } h1, h2, h3, h4 { -font-family: "Tungsten A","Tungsten B",Impact,Haettenschweiler,"Arial Narrow Bold","Franklin Gothic Bold",sans-serif ; -letter-spacing: 0px; +font-family: Work Sans,"Sans Serif Fallback",sans-serif; +font-weight: 700; +letter-spacing: -.01em; } code { @@ -129,7 +165,8 @@ padding-bottom: 2px; } body strong { -font-family: "Mercury SSm A","Mercury SSm B","Times New Roman",serif; +font-family: Work Sans,"Sans Serif Fallback",sans-serif; +font-weight: 700; } /* attachments shortcode */