From: Hakim El Hattab Date: Sun, 31 Mar 2013 02:49:46 +0000 (-0400) Subject: protocol-relative paths for google webfonts (closes #382) X-Git-Tag: 2.4.0~57 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=53534043615c4b2bf0959f3a2f56a92deeda28c4;p=reveal.js.git protocol-relative paths for google webfonts (closes #382) --- diff --git a/css/theme/beige.css b/css/theme/beige.css index b0610d4..3b05467 100644 --- a/css/theme/beige.css +++ b/css/theme/beige.css @@ -1,7 +1,7 @@ -@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); +@import url(//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); /** * Beige theme for reveal.js. - * + * * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se */ @font-face { diff --git a/css/theme/default.css b/css/theme/default.css index 480ac69..087b9f2 100644 --- a/css/theme/default.css +++ b/css/theme/default.css @@ -1,7 +1,7 @@ -@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); +@import url(//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); /** * Default theme for reveal.js. - * + * * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se */ @font-face { diff --git a/css/theme/moon.css b/css/theme/moon.css index 24c1d7b..d0836c0 100644 --- a/css/theme/moon.css +++ b/css/theme/moon.css @@ -1,4 +1,4 @@ -@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); +@import url(//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); /** * Solarized Dark theme for reveal.js. * Author: Achim Staebler diff --git a/css/theme/night.css b/css/theme/night.css index e2e9508..f4a8aea 100644 --- a/css/theme/night.css +++ b/css/theme/night.css @@ -1,8 +1,8 @@ -@import url(http://fonts.googleapis.com/css?family=Montserrat:700); -@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic); +@import url(//fonts.googleapis.com/css?family=Montserrat:700); +@import url(//fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic); /** * Black theme for reveal.js. - * + * * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se */ /********************************************* diff --git a/css/theme/simple.css b/css/theme/simple.css index 0aef916..00ab5c4 100644 --- a/css/theme/simple.css +++ b/css/theme/simple.css @@ -1,9 +1,9 @@ -@import url(http://fonts.googleapis.com/css?family=News+Cycle:400,700); -@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); +@import url(//fonts.googleapis.com/css?family=News+Cycle:400,700); +@import url(//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); /** - * A simple theme for reveal.js presentations, similar + * A simple theme for reveal.js presentations, similar * to the default theme. The accent color is darkblue. - * + * * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed. * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se */ diff --git a/css/theme/sky.css b/css/theme/sky.css index c5cbbeb..32cc4c1 100644 --- a/css/theme/sky.css +++ b/css/theme/sky.css @@ -1,8 +1,8 @@ -@import url(http://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic); -@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700); +@import url(//fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic); +@import url(//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700); /** * Sky theme for reveal.js. - * + * * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se */ /********************************************* diff --git a/css/theme/solarized.css b/css/theme/solarized.css index a89fd09..0534eb3 100644 --- a/css/theme/solarized.css +++ b/css/theme/solarized.css @@ -1,4 +1,4 @@ -@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); +@import url(//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); /** * Solarized Light theme for reveal.js. * Author: Achim Staebler diff --git a/css/theme/source/beige.scss b/css/theme/source/beige.scss index af8c615..34ff05f 100644 --- a/css/theme/source/beige.scss +++ b/css/theme/source/beige.scss @@ -25,7 +25,7 @@ font-style: normal; } -@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); +@import url(//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); // Override theme settings (see ../template/settings.scss) diff --git a/css/theme/source/default.scss b/css/theme/source/default.scss index 4e1e5ab..01e18ce 100644 --- a/css/theme/source/default.scss +++ b/css/theme/source/default.scss @@ -25,7 +25,7 @@ font-style: normal; } -@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); +@import url(//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); // Override theme settings (see ../template/settings.scss) $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15); diff --git a/css/theme/source/moon.scss b/css/theme/source/moon.scss index b120935..a885787 100644 --- a/css/theme/source/moon.scss +++ b/css/theme/source/moon.scss @@ -24,7 +24,7 @@ font-style: normal; } -@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); +@import url(//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); /** * Solarized colors by Ethan Schoonover diff --git a/css/theme/source/night.scss b/css/theme/source/night.scss index 4dd514f..0d3219b 100644 --- a/css/theme/source/night.scss +++ b/css/theme/source/night.scss @@ -12,8 +12,8 @@ // Include theme-specific fonts -@import url(http://fonts.googleapis.com/css?family=Montserrat:700); -@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic); +@import url(//fonts.googleapis.com/css?family=Montserrat:700); +@import url(//fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic); // Override theme settings (see ../template/settings.scss) diff --git a/css/theme/source/simple.scss b/css/theme/source/simple.scss index 5d6aa41..47e5498 100644 --- a/css/theme/source/simple.scss +++ b/css/theme/source/simple.scss @@ -15,8 +15,8 @@ // Include theme-specific fonts -@import url(http://fonts.googleapis.com/css?family=News+Cycle:400,700); -@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); +@import url(//fonts.googleapis.com/css?family=News+Cycle:400,700); +@import url(//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); // Override theme settings (see ../template/settings.scss) diff --git a/css/theme/source/sky.scss b/css/theme/source/sky.scss index f83ed91..8f59121 100644 --- a/css/theme/source/sky.scss +++ b/css/theme/source/sky.scss @@ -13,8 +13,8 @@ // Include theme-specific fonts -@import url(http://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic); -@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700); +@import url(//fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic); +@import url(//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700); // Override theme settings (see ../template/settings.scss) diff --git a/css/theme/source/solarized.scss b/css/theme/source/solarized.scss index 5e283ef..4614de2 100644 --- a/css/theme/source/solarized.scss +++ b/css/theme/source/solarized.scss @@ -24,7 +24,7 @@ font-style: normal; } -@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); +@import url(//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); /**