diff options
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/fomantic/_site/globals/site.variables | 1 | ||||
-rw-r--r-- | web_src/less/_base.less | 110 |
2 files changed, 42 insertions, 69 deletions
diff --git a/web_src/fomantic/_site/globals/site.variables b/web_src/fomantic/_site/globals/site.variables new file mode 100644 index 0000000000..5a8b8033fc --- /dev/null +++ b/web_src/fomantic/_site/globals/site.variables @@ -0,0 +1 @@ +@fontName : 'Roboto'; diff --git a/web_src/less/_base.less b/web_src/less/_base.less index be698df3df..9d7ed0de2c 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -1,85 +1,57 @@ -/* lato-regular - latin */ +/* roboto-regular - latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext */ @font-face { - font-family: 'Lato'; + font-family: 'Roboto'; font-style: normal; font-weight: 400; - src: url('../vendor/assets/lato-fonts/lato-v16-latin-regular.eot'); /* IE9 Compat Modes */ src: - local('Lato Regular'), - local('Lato-Regular'), - /* IE6-IE8 */ - url('../vendor/assets/lato-fonts/lato-v16-latin-regular.eot?#iefix') format('embedded-opentype'), - /* Super Modern Browsers */ - url('../vendor/assets/lato-fonts/lato-v16-latin-regular.woff2') format('woff2'), - /* Modern Browsers */ - url('../vendor/assets/lato-fonts/lato-v16-latin-regular.woff') format('woff'), - /* Safari, Android, iOS */ - url('../vendor/assets/lato-fonts/lato-v16-latin-regular.ttf') format('truetype'), - /* Legacy iOS */ - url('../vendor/assets/lato-fonts/lato-v16-latin-regular.svg#Lato') format('svg'); -} - -/* lato-italic - latin */ + local('Roboto'), + local('Roboto-Regular'), + /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-regular.woff2') format('woff2'), + /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ + url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-regular.woff') format('woff'); +} + +/* roboto-italic - latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext */ @font-face { - font-family: 'Lato'; + font-family: 'Roboto'; font-style: italic; font-weight: 400; - src: url('../vendor/assets/lato-fonts/lato-v16-latin-italic.eot'); /* IE9 Compat Modes */ src: - local('Lato Italic'), - local('Lato-Italic'), - /* IE6-IE8 */ - url('../vendor/assets/lato-fonts/lato-v16-latin-italic.eot?#iefix') format('embedded-opentype'), - /* Super Modern Browsers */ - url('../vendor/assets/lato-fonts/lato-v16-latin-italic.woff2') format('woff2'), - /* Modern Browsers */ - url('../vendor/assets/lato-fonts/lato-v16-latin-italic.woff') format('woff'), - /* Safari, Android, iOS */ - url('../vendor/assets/lato-fonts/lato-v16-latin-italic.ttf') format('truetype'), - /* Legacy iOS */ - url('../vendor/assets/lato-fonts/lato-v16-latin-italic.svg#Lato') format('svg'); -} - -/* lato-700 - latin */ + local('Roboto Italic'), + local('Roboto-Italic'), + /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-italic.woff2') format('woff2'), + /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ + url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-italic.woff') format('woff'); +} + +/* roboto-700 - latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext */ @font-face { - font-family: 'Lato'; + font-family: 'Roboto'; font-style: normal; font-weight: 700; - src: url('../vendor/assets/lato-fonts/lato-v16-latin-700.eot'); /* IE9 Compat Modes */ src: - local('Lato Bold'), - local('Lato-Bold'), - /* IE6-IE8 */ - url('../vendor/assets/lato-fonts/lato-v16-latin-700.eot?#iefix') format('embedded-opentype'), - /* Super Modern Browsers */ - url('../vendor/assets/lato-fonts/lato-v16-latin-700.woff2') format('woff2'), - /* Modern Browsers */ - url('../vendor/assets/lato-fonts/lato-v16-latin-700.woff') format('woff'), - /* Safari, Android, iOS */ - url('../vendor/assets/lato-fonts/lato-v16-latin-700.ttf') format('truetype'), - /* Legacy iOS */ - url('../vendor/assets/lato-fonts/lato-v16-latin-700.svg#Lato') format('svg'); -} - -/* lato-700italic - latin */ + local('Roboto Bold'), + local('Roboto-Bold'), + /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-700.woff2') format('woff2'), + /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ + url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-700.woff') format('woff'); +} + +/* roboto-700italic - latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext */ @font-face { - font-family: 'Lato'; + font-family: 'Roboto'; font-style: italic; font-weight: 700; - src: url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.eot'); /* IE9 Compat Modes */ src: - local('Lato Bold Italic'), - local('Lato-BoldItalic'), - /* IE6-IE8 */ - url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.eot?#iefix') format('embedded-opentype'), - /* Super Modern Browsers */ - url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.woff2') format('woff2'), - /* Modern Browsers */ - url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.woff') format('woff'), - /* Safari, Android, iOS */ - url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.ttf') format('truetype'), - /* Legacy iOS */ - url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.svg#Lato') format('svg'); + local('Roboto Bold Italic'), + local('Roboto-BoldItalic'), + /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-700italic.woff2') format('woff2'), + /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ + url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-700italic.woff') format('woff'); } @font-face { @@ -112,12 +84,12 @@ h3, h4, h5 { - font-family: Lato, @fonts, sans-serif; + font-family: Roboto, @fonts, sans-serif; } .home .hero h1, .home .hero h2 { - font-family: 'PT Sans Narrow', Lato, @fonts, sans-serif; + font-family: 'PT Sans Narrow', Roboto, @fonts, sans-serif; } .ui.accordion .title:not(.ui), @@ -156,7 +128,7 @@ .ui.steps .step .title, .ui.text.container, .ui.language > .menu > .item& { - font-family: Lato, @fonts, sans-serif; + font-family: Roboto, @fonts, sans-serif; } } |