From 4d60c501cf1c3d8139ffed213f1d3908a16b2d12 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 9 Jun 2026 12:39:57 +0200 Subject: [PATCH] fix fonts & css --- .../EgwCoreLib.BlazorTest.csproj | 48 ++++++++++++++++++ EgwCoreLib.BlazorTest/wwwroot/css/font.css | 36 +++++++++++++ EgwCoreLib.BlazorTest/wwwroot/css/site.css | 7 ++- .../lato-v17-latin-regular.eot | Bin .../lato-v17-latin-regular.svg | 0 .../lato-v17-latin-regular.ttf | Bin .../lato-v17-latin-regular.woff | Bin .../lato-v17-latin-regular.woff2 | Bin .../roboto-condensed-v19-latin-regular.eot | Bin .../roboto-condensed-v19-latin-regular.svg | 0 .../roboto-condensed-v19-latin-regular.ttf | Bin .../roboto-condensed-v19-latin-regular.woff | Bin .../roboto-condensed-v19-latin-regular.woff2 | Bin .../roboto-v27-latin-regular.eot | Bin .../roboto-v27-latin-regular.svg | 0 .../roboto-v27-latin-regular.ttf | Bin .../roboto-v27-latin-regular.woff | Bin .../roboto-v27-latin-regular.woff2 | Bin 18 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 EgwCoreLib.BlazorTest/wwwroot/css/font.css rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/lato-v17-latin-regular.eot (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/lato-v17-latin-regular.svg (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/lato-v17-latin-regular.ttf (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/lato-v17-latin-regular.woff (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/lato-v17-latin-regular.woff2 (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-condensed-v19-latin-regular.eot (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-condensed-v19-latin-regular.svg (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-condensed-v19-latin-regular.ttf (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-condensed-v19-latin-regular.woff (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-condensed-v19-latin-regular.woff2 (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-v27-latin-regular.eot (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-v27-latin-regular.svg (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-v27-latin-regular.ttf (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-v27-latin-regular.woff (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-v27-latin-regular.woff2 (100%) diff --git a/EgwCoreLib.BlazorTest/EgwCoreLib.BlazorTest.csproj b/EgwCoreLib.BlazorTest/EgwCoreLib.BlazorTest.csproj index 73eda87..3f8e3ed 100644 --- a/EgwCoreLib.BlazorTest/EgwCoreLib.BlazorTest.csproj +++ b/EgwCoreLib.BlazorTest/EgwCoreLib.BlazorTest.csproj @@ -31,4 +31,52 @@ + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + diff --git a/EgwCoreLib.BlazorTest/wwwroot/css/font.css b/EgwCoreLib.BlazorTest/wwwroot/css/font.css new file mode 100644 index 0000000..354cb21 --- /dev/null +++ b/EgwCoreLib.BlazorTest/wwwroot/css/font.css @@ -0,0 +1,36 @@ +/* lato-regular - latin */ +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 400; + src: url('../fonts/lato-v17-latin-regular.eot'); /* IE9 Compat Modes */ + src: local(''), url('../fonts/lato-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/lato-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/lato-v17-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('../fonts/lato-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/lato-v17-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */ +} +/* roboto-regular - latin */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + src: url('../fonts/roboto-v27-latin-regular.eot'); /* IE9 Compat Modes */ + src: local(''), url('../fonts/roboto-v27-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/roboto-v27-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/roboto-v27-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('../fonts/roboto-v27-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/roboto-v27-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */ +} +/* roboto-condensed-regular - latin */ +@font-face { + font-family: 'Roboto Condensed'; + font-style: normal; + font-weight: 400; + src: url('../fonts/roboto-condensed-v19-latin-regular.eot'); /* IE9 Compat Modes */ + src: local(''), url('../fonts/roboto-condensed-v19-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/roboto-condensed-v19-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/roboto-condensed-v19-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('../fonts/roboto-condensed-v19-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/roboto-condensed-v19-latin-regular.svg#RobotoCondensed') format('svg'); /* Legacy iOS */ +} diff --git a/EgwCoreLib.BlazorTest/wwwroot/css/site.css b/EgwCoreLib.BlazorTest/wwwroot/css/site.css index 1f4b8cf..4b47b44 100644 --- a/EgwCoreLib.BlazorTest/wwwroot/css/site.css +++ b/EgwCoreLib.BlazorTest/wwwroot/css/site.css @@ -1,7 +1,12 @@ @import url('open-iconic/font/css/open-iconic-bootstrap.min.css'); +@import url('font.css'); html, body { - font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; + font-family: Roboto,sans-serif; +} + +.condensed { + font-family: 'Roboto Condensed', sans-serif; } h1:focus { diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.eot b/EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.eot similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.eot rename to EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.eot diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.svg b/EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.svg similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.svg rename to EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.svg diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.ttf b/EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.ttf similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.ttf rename to EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.ttf diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.woff b/EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.woff similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.woff rename to EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.woff diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.woff2 b/EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.woff2 similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.woff2 rename to EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.woff2 diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.eot b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.eot similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.eot rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.eot diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.svg b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.svg similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.svg rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.svg diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.ttf b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.ttf similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.ttf rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.ttf diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.woff b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.woff similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.woff rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.woff diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.woff2 b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.woff2 similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.woff2 rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.woff2 diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.eot b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.eot similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.eot rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.eot diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.svg b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.svg similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.svg rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.svg diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.ttf b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.ttf similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.ttf rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.ttf diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.woff b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.woff similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.woff rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.woff diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.woff2 b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.woff2 similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.woff2 rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.woff2