From: W. Trevor King Date: Wed, 22 May 2013 00:12:37 +0000 (-0400) Subject: css/theme/font: Use local fonts, not Google's live versions X-Git-Tag: thesis-v1.0~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f8664febda92a37bae53fea609ef0f60a7c16f5d;p=reveal.js.git css/theme/font: Use local fonts, not Google's live versions I still want to be able to give this talk if I don't have network access ;). --- diff --git a/css/theme/beige.css b/css/theme/beige.css index 1d9a886..13d03c0 100644 --- a/css/theme/beige.css +++ b/css/theme/beige.css @@ -1,4 +1,4 @@ -@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); +@import url('font/lato.css'); /** * Beige theme for reveal.js. * diff --git a/css/theme/font/9k-RPmcnxYEPm8CNFsH2gg.woff b/css/theme/font/9k-RPmcnxYEPm8CNFsH2gg.woff new file mode 100644 index 0000000..c62bcc9 Binary files /dev/null and b/css/theme/font/9k-RPmcnxYEPm8CNFsH2gg.woff differ diff --git a/css/theme/font/HkF_qI1x_noxlxhrhMQYED8E0i7KZn-EPnyo3HZu7kw.woff b/css/theme/font/HkF_qI1x_noxlxhrhMQYED8E0i7KZn-EPnyo3HZu7kw.woff new file mode 100644 index 0000000..00bd1cb Binary files /dev/null and b/css/theme/font/HkF_qI1x_noxlxhrhMQYED8E0i7KZn-EPnyo3HZu7kw.woff differ diff --git a/css/theme/font/lato.css b/css/theme/font/lato.css new file mode 100644 index 0000000..4ccbfdb --- /dev/null +++ b/css/theme/font/lato.css @@ -0,0 +1,25 @@ +/* https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic */ +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 400; + src: local('Lato Regular'), local('Lato-Regular'), url('9k-RPmcnxYEPm8CNFsH2gg.woff') format('woff'); +} +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 700; + src: local('Lato Bold'), local('Lato-Bold'), url('wkfQbvfT_02e2IWO3yYueQ.woff') format('woff'); +} +@font-face { + font-family: 'Lato'; + font-style: italic; + font-weight: 400; + src: local('Lato Italic'), local('Lato-Italic'), url('oUan5VrEkpzIazlUe5ieaA.woff') format('woff'); +} +@font-face { + font-family: 'Lato'; + font-style: italic; + font-weight: 700; + src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url('HkF_qI1x_noxlxhrhMQYED8E0i7KZn-EPnyo3HZu7kw.woff') format('woff'); +} diff --git a/css/theme/font/lato.css-orig b/css/theme/font/lato.css-orig new file mode 100644 index 0000000..2ee84d9 --- /dev/null +++ b/css/theme/font/lato.css-orig @@ -0,0 +1,25 @@ +/* https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic */ +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 400; + src: local('Lato Regular'), local('Lato-Regular'), url(https://themes.googleusercontent.com/static/fonts/lato/v6/9k-RPmcnxYEPm8CNFsH2gg.woff) format('woff'); +} +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 700; + src: local('Lato Bold'), local('Lato-Bold'), url(https://themes.googleusercontent.com/static/fonts/lato/v6/wkfQbvfT_02e2IWO3yYueQ.woff) format('woff'); +} +@font-face { + font-family: 'Lato'; + font-style: italic; + font-weight: 400; + src: local('Lato Italic'), local('Lato-Italic'), url(https://themes.googleusercontent.com/static/fonts/lato/v6/oUan5VrEkpzIazlUe5ieaA.woff) format('woff'); +} +@font-face { + font-family: 'Lato'; + font-style: italic; + font-weight: 700; + src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://themes.googleusercontent.com/static/fonts/lato/v6/HkF_qI1x_noxlxhrhMQYED8E0i7KZn-EPnyo3HZu7kw.woff) format('woff'); +} diff --git a/css/theme/font/oUan5VrEkpzIazlUe5ieaA.woff b/css/theme/font/oUan5VrEkpzIazlUe5ieaA.woff new file mode 100644 index 0000000..3d0dfad Binary files /dev/null and b/css/theme/font/oUan5VrEkpzIazlUe5ieaA.woff differ diff --git a/css/theme/font/wkfQbvfT_02e2IWO3yYueQ.woff b/css/theme/font/wkfQbvfT_02e2IWO3yYueQ.woff new file mode 100644 index 0000000..eba0239 Binary files /dev/null and b/css/theme/font/wkfQbvfT_02e2IWO3yYueQ.woff differ