diff --git a/html/fonts/material-icons-v139.ttf b/html/fonts/material-icons-v139.ttf new file mode 100644 index 0000000000000..9d09b0feb85c3 Binary files /dev/null and b/html/fonts/material-icons-v139.ttf differ diff --git a/html/fonts/material-icons-v139.woff2 b/html/fonts/material-icons-v139.woff2 new file mode 100644 index 0000000000000..5492a6e75937d Binary files /dev/null and b/html/fonts/material-icons-v139.woff2 differ diff --git a/html/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.eot b/html/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.eot new file mode 100644 index 0000000000000..b0ef3161a9fc6 Binary files /dev/null and b/html/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.eot differ diff --git a/html/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.svg b/html/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.svg new file mode 100644 index 0000000000000..e9ac1566e8a7e --- /dev/null +++ b/html/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.svg @@ -0,0 +1,333 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/html/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.ttf b/html/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.ttf new file mode 100644 index 0000000000000..aff1351bc30bb Binary files /dev/null and b/html/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.ttf differ diff --git a/html/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.woff b/html/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.woff new file mode 100644 index 0000000000000..e7d86e9d548b4 Binary files /dev/null and b/html/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.woff differ diff --git a/html/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.woff2 b/html/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.woff2 new file mode 100644 index 0000000000000..b3240026f3da3 Binary files /dev/null and b/html/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.woff2 differ diff --git a/scss/_off.scss b/scss/_off.scss index 9dca90a895103..7f33887d91b6e 100644 --- a/scss/_off.scss +++ b/scss/_off.scss @@ -1,3 +1,49 @@ +// Fonts + +// From https://google-webfonts-helper.herokuapp.com/fonts/public-sans?subsets=latin,latin-ext,vietnamese : +/* public-sans-regular - vietnamese_latin-ext_latin */ +@font-face { + font-family: 'Public Sans'; + font-style: normal; + font-weight: 400; + src: url('/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.eot'); /* IE9 Compat Modes */ + src: local(''), + url('/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */ + url('/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('/fonts/public-sans-v14-vietnamese_latin-ext_latin-regular.svg#PublicSans') format('svg'); /* Legacy iOS */ +} + +// Font for Material Icons +// variable to prevent sonar-cloud to complain that there isn't a generic family for the icon font +$material-icons: 'Material Icons'; +@font-face { + font-family: 'Material Icons'; + font-style: normal; + font-weight: 400; + src: local(''), + url('/fonts/material-icons-v139.woff2') format('woff2'), + url('/fonts/material-icons-v139.ttf') format('truetype'); +} + + +.material-icons { + font-family: $material-icons; + font-weight: normal; + font-style: normal; + font-size: 24px; + line-height: 1; + letter-spacing: normal; + text-transform: none; + display: inline-block; + white-space: nowrap; + word-wrap: normal; + direction: ltr; + -webkit-font-feature-settings: 'liga'; + -webkit-font-smoothing: antialiased; +} + // OFF colored blocks // combine classes block_light or block_dark with a color like block_ristreto diff --git a/templates/web/common/site_layout.tt.html b/templates/web/common/site_layout.tt.html old mode 100755 new mode 100644 index a7c523aa2b422..ece109dc0903f --- a/templates/web/common/site_layout.tt.html +++ b/templates/web/common/site_layout.tt.html @@ -20,7 +20,6 @@ - [% header %]