diff --git a/.gitignore b/.gitignore index 72eb26d..4abf59e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ node_modules package-lock.json eslint-results.sarif -main.css.map +*.css.map diff --git a/hyperlegible.css b/hyperlegible.css new file mode 100644 index 0000000..b2c2c1f --- /dev/null +++ b/hyperlegible.css @@ -0,0 +1,262 @@ +/* ==UserStyle== +@name UoM Blackboard theme, hyperlegible addon +@version 20240103.00.00 +@namespace userstyles.world/user/adil192 +@description An addon to the "UoM Blackboard theme" userstyle to use the Atkinson Hyperlegible font. +@author adil192 +@license Unlicense +@downloadURL https://raw.githubusercontent.com/adil192/BlackboardTheme/main/hyperlegible.css +==/UserStyle== */ +@-moz-document domain("online.manchester.ac.uk") { + /* All blackboard pages */ + /* latin-ext */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G07JIoSwQ.woff2) format("woff2"); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G04pIo.woff2) format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + ::root { + --fonts-body: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + --fonts-heading: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + } +} +@-moz-document url-prefix("https://online.manchester.ac.uk/webapps/portal") { + /* Blackboard homepage */ + /* latin-ext */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G07JIoSwQ.woff2) format("woff2"); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G04pIo.woff2) format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + ::root { + --fonts-body: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + --fonts-heading: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + } +} +@-moz-document url-prefix("https://online.manchester.ac.uk/webapps/assessment") { + /* Assessment/quizzes */ + /* latin-ext */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G07JIoSwQ.woff2) format("woff2"); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G04pIo.woff2) format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + ::root { + --fonts-body: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + --fonts-heading: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + } +} +@-moz-document url-prefix("https://online.manchester.ac.uk/webapps/calendar") { + /* Calendar */ + /* latin-ext */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G07JIoSwQ.woff2) format("woff2"); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G04pIo.woff2) format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + ::root { + --fonts-body: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + --fonts-heading: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + } +} +@-moz-document url-prefix("https://online.manchester.ac.uk/webapps/rubric") { + /* Rubric viewer */ + /* latin-ext */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G07JIoSwQ.woff2) format("woff2"); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G04pIo.woff2) format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + ::root { + --fonts-body: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + --fonts-heading: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + } +} +@-moz-document url-prefix("https://login.manchester.ac.uk/cas/login") { + /* Login page */ + /* latin-ext */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G07JIoSwQ.woff2) format("woff2"); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G04pIo.woff2) format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + ::root { + --fonts-body: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + --fonts-heading: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + } +} +@-moz-document url-prefix("https://shib.manchester.ac.uk/shibboleth-idp/profile/SAML2/POST/SSO") { + /* Duo 2FA page */ + /* latin-ext */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G07JIoSwQ.woff2) format("woff2"); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G04pIo.woff2) format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + ::root { + --fonts-body: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + --fonts-heading: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + } +} +@-moz-document url-prefix("https://api-4c039978.duosecurity.com/frame") { + /* The actual Duo 2FA iframe */ + /* latin-ext */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G07JIoSwQ.woff2) format("woff2"); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G04pIo.woff2) format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + ::root { + --fonts-body: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + --fonts-heading: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + } +} +@-moz-document domain("my.manchester.ac.uk") { + /* My Manchester */ + /* latin-ext */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G07JIoSwQ.woff2) format("woff2"); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G04pIo.woff2) format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + ::root { + --fonts-body: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + --fonts-heading: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + } +} +@-moz-document domain("video.manchester.ac.uk") { + /* Embedded videos */ + /* latin-ext */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G07JIoSwQ.woff2) format("woff2"); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G04pIo.woff2) format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + ::root { + --fonts-body: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + --fonts-heading: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + } +} +@-moz-document domain("iam.manchester.ac.uk") { + /* IT account manager */ + /* latin-ext */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G07JIoSwQ.woff2) format("woff2"); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: "Atkinson Hyperlegible"; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G04pIo.woff2) format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + ::root { + --fonts-body: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + --fonts-heading: "Atkinson Hyperlegible", Inter, Google Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, FontAwesome, VideoJS !important; + } +}/*# sourceMappingURL=hyperlegible.css.map */ \ No newline at end of file diff --git a/hyperlegible.scss b/hyperlegible.scss new file mode 100644 index 0000000..a1bc211 --- /dev/null +++ b/hyperlegible.scss @@ -0,0 +1,75 @@ +/* ==UserStyle== +@name UoM Blackboard theme, hyperlegible addon +@version 20240103.00.00 +@namespace userstyles.world/user/adil192 +@description An addon to the "UoM Blackboard theme" userstyle to use the Atkinson Hyperlegible font. +@author adil192 +@license Unlicense +@downloadURL https://raw.githubusercontent.com/adil192/BlackboardTheme/main/hyperlegible.css +==/UserStyle== */ + +@import "styles/globals"; +@import "styles/fonts/hyperlegible"; + +@mixin atkinson { + @include hyperlegible; + + ::root { + --fonts-body: 'Atkinson Hyperlegible', #{$font-fallbacks} !important; + --fonts-heading: 'Atkinson Hyperlegible', #{$font-fallbacks} !important; + } +} + +@-moz-document domain("online.manchester.ac.uk") { + /* All blackboard pages */ + @include atkinson; +} + +@-moz-document url-prefix("https://online.manchester.ac.uk/webapps/portal") { + /* Blackboard homepage */ + @include atkinson; +} + +@-moz-document url-prefix("https://online.manchester.ac.uk/webapps/assessment") { + /* Assessment/quizzes */ + @include atkinson; +} + +@-moz-document url-prefix("https://online.manchester.ac.uk/webapps/calendar") { + /* Calendar */ + @include atkinson; +} + +@-moz-document url-prefix("https://online.manchester.ac.uk/webapps/rubric") { + /* Rubric viewer */ + @include atkinson; +} + +@-moz-document url-prefix("https://login.manchester.ac.uk/cas/login") { + /* Login page */ + @include atkinson; +} + +@-moz-document url-prefix("https://shib.manchester.ac.uk/shibboleth-idp/profile/SAML2/POST/SSO") { + /* Duo 2FA page */ + @include atkinson; +} +@-moz-document url-prefix("https://api-4c039978.duosecurity.com/frame") { + /* The actual Duo 2FA iframe */ + @include atkinson; +} + +@-moz-document domain("my.manchester.ac.uk") { + /* My Manchester */ + @include atkinson; +} + +@-moz-document domain("video.manchester.ac.uk") { + /* Embedded videos */ + @include atkinson; +} + +@-moz-document domain("iam.manchester.ac.uk") { + /* IT account manager */ + @include atkinson; +} diff --git a/styles/fonts/_hyperlegible.scss b/styles/fonts/_hyperlegible.scss new file mode 100644 index 0000000..f207e6b --- /dev/null +++ b/styles/fonts/_hyperlegible.scss @@ -0,0 +1,23 @@ +/// Downloaded from https://fonts.googleapis.com/css?family=Atkinson+Hyperlegible + +@mixin hyperlegible { + + /* latin-ext */ + @font-face { + font-family: 'Atkinson Hyperlegible'; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G07JIoSwQ.woff2) format('woff2'); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + + /* latin */ + @font-face { + font-family: 'Atkinson Hyperlegible'; + font-style: normal; + font-weight: 400; + src: url(https://fonts.gstatic.com/s/atkinsonhyperlegible/v11/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G04pIo.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + +}