From 2b53e21a5279c0892ac267b5c0790f7ce40c8ab5 Mon Sep 17 00:00:00 2001 From: Sebastian Pech Date: Sat, 28 Mar 2020 14:23:00 +0100 Subject: roboto example --- exampleSite/assets/css/custom.css | 21 ++ exampleSite/config.toml | 2 +- .../static/fonts/roboto-v20-latin-regular.eot | Bin 0 -> 17854 bytes .../static/fonts/roboto-v20-latin-regular.svg | 308 +++++++++++++++++++++ .../static/fonts/roboto-v20-latin-regular.ttf | Bin 0 -> 36176 bytes .../static/fonts/roboto-v20-latin-regular.woff | Bin 0 -> 20268 bytes .../static/fonts/roboto-v20-latin-regular.woff2 | Bin 0 -> 15736 bytes 7 files changed, 330 insertions(+), 1 deletion(-) create mode 100644 exampleSite/static/fonts/roboto-v20-latin-regular.eot create mode 100644 exampleSite/static/fonts/roboto-v20-latin-regular.svg create mode 100644 exampleSite/static/fonts/roboto-v20-latin-regular.ttf create mode 100644 exampleSite/static/fonts/roboto-v20-latin-regular.woff create mode 100644 exampleSite/static/fonts/roboto-v20-latin-regular.woff2 diff --git a/exampleSite/assets/css/custom.css b/exampleSite/assets/css/custom.css index e69de29..4c4ca0c 100644 --- a/exampleSite/assets/css/custom.css +++ b/exampleSite/assets/css/custom.css @@ -0,0 +1,21 @@ +/* roboto-regular - latin */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + src: url('../fonts/roboto-v20-latin-regular.eot'); /* IE9 Compat Modes */ + src: local('Roboto'), local('Roboto-Regular'), + url('../fonts/roboto-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/roboto-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/roboto-v20-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('../fonts/roboto-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/roboto-v20-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */ +} + +body { + font-family: 'Roboto', sans-serif; +} + +h1, h2, h3, h4, h5, h6 { + font-family: 'Roboto', sans-serif; +} diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 2d24ddd..162b2aa 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -41,7 +41,7 @@ theme="bootstrap-bp-hugo-theme" # alwaysExpandMenu = true customDateFormat = "02.01.2006" # hideReadingTime = true - # themeColor="dark" # dark, light, blue, do not set for bootstrap default + themeColor="blue" # dark, light, blue, do not set for bootstrap default # js=["/js/test_site.js"] # css=["/css/test_site.css"] # csscdn=["https://fonts.googleapis.com/css?family=Concert+One|Roboto&display=swap"] diff --git a/exampleSite/static/fonts/roboto-v20-latin-regular.eot b/exampleSite/static/fonts/roboto-v20-latin-regular.eot new file mode 100644 index 0000000..4f34800 Binary files /dev/null and b/exampleSite/static/fonts/roboto-v20-latin-regular.eot differ diff --git a/exampleSite/static/fonts/roboto-v20-latin-regular.svg b/exampleSite/static/fonts/roboto-v20-latin-regular.svg new file mode 100644 index 0000000..627f5a3 --- /dev/null +++ b/exampleSite/static/fonts/roboto-v20-latin-regular.svg @@ -0,0 +1,308 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/exampleSite/static/fonts/roboto-v20-latin-regular.ttf b/exampleSite/static/fonts/roboto-v20-latin-regular.ttf new file mode 100644 index 0000000..a97385d Binary files /dev/null and b/exampleSite/static/fonts/roboto-v20-latin-regular.ttf differ diff --git a/exampleSite/static/fonts/roboto-v20-latin-regular.woff b/exampleSite/static/fonts/roboto-v20-latin-regular.woff new file mode 100644 index 0000000..69c8825 Binary files /dev/null and b/exampleSite/static/fonts/roboto-v20-latin-regular.woff differ diff --git a/exampleSite/static/fonts/roboto-v20-latin-regular.woff2 b/exampleSite/static/fonts/roboto-v20-latin-regular.woff2 new file mode 100644 index 0000000..1a53701 Binary files /dev/null and b/exampleSite/static/fonts/roboto-v20-latin-regular.woff2 differ -- cgit v1.2.3