From a150d0c5dd80b4a07344cd73f608a2aaaf2900de Mon Sep 17 00:00:00 2001 From: Michael Mior Date: Tue, 18 Aug 2020 12:49:49 -0400 Subject: [PATCH] Start relative paths in CSS with ./ --- css/theme/source/beige.scss | 4 +-- css/theme/source/black.scss | 4 +-- css/theme/source/league.scss | 4 +-- css/theme/source/moon.scss | 2 +- css/theme/source/solarized.scss | 2 +- css/theme/source/white.scss | 4 +-- dist/theme/beige.css | 2 +- dist/theme/black.css | 2 +- .../fonts/league-gothic/league-gothic.css | 10 +++--- .../fonts/source-sans-pro/source-sans-pro.css | 34 +++++++++---------- dist/theme/league.css | 2 +- dist/theme/moon.css | 2 +- dist/theme/solarized.css | 2 +- dist/theme/white.css | 2 +- 14 files changed, 38 insertions(+), 38 deletions(-) diff --git a/css/theme/source/beige.scss b/css/theme/source/beige.scss index acdd37d..921e1c2 100644 --- a/css/theme/source/beige.scss +++ b/css/theme/source/beige.scss @@ -13,7 +13,7 @@ // Include theme-specific fonts -@import url(fonts/league-gothic/league-gothic.css); +@import url(./fonts/league-gothic/league-gothic.css); @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); @@ -36,4 +36,4 @@ $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b // Theme template ------------------------------ @import "../template/theme"; -// --------------------------------------------- \ No newline at end of file +// --------------------------------------------- diff --git a/css/theme/source/black.scss b/css/theme/source/black.scss index 45d2678..b93477d 100644 --- a/css/theme/source/black.scss +++ b/css/theme/source/black.scss @@ -12,7 +12,7 @@ // Include theme-specific fonts -@import url(fonts/source-sans-pro/source-sans-pro.css); +@import url(./fonts/source-sans-pro/source-sans-pro.css); // Override theme settings (see ../template/settings.scss) @@ -46,4 +46,4 @@ section.has-light-background { // Theme template ------------------------------ @import "../template/theme"; -// --------------------------------------------- \ No newline at end of file +// --------------------------------------------- diff --git a/css/theme/source/league.scss b/css/theme/source/league.scss index 95bacd4..fa59590 100644 --- a/css/theme/source/league.scss +++ b/css/theme/source/league.scss @@ -15,7 +15,7 @@ // Include theme-specific fonts -@import url(fonts/league-gothic/league-gothic.css); +@import url(./fonts/league-gothic/league-gothic.css); @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); // Override theme settings (see ../template/settings.scss) @@ -31,4 +31,4 @@ $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b // Theme template ------------------------------ @import "../template/theme"; -// --------------------------------------------- \ No newline at end of file +// --------------------------------------------- diff --git a/css/theme/source/moon.scss b/css/theme/source/moon.scss index db1897c..c2e3890 100644 --- a/css/theme/source/moon.scss +++ b/css/theme/source/moon.scss @@ -12,7 +12,7 @@ // Include theme-specific fonts -@import url(fonts/league-gothic/league-gothic.css); +@import url(./fonts/league-gothic/league-gothic.css); @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); /** diff --git a/css/theme/source/solarized.scss b/css/theme/source/solarized.scss index df3a08f..8bdf1eb 100644 --- a/css/theme/source/solarized.scss +++ b/css/theme/source/solarized.scss @@ -12,7 +12,7 @@ // Include theme-specific fonts -@import url(fonts/league-gothic/league-gothic.css); +@import url(./fonts/league-gothic/league-gothic.css); @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); diff --git a/css/theme/source/white.scss b/css/theme/source/white.scss index 7b817fe..d274ece 100644 --- a/css/theme/source/white.scss +++ b/css/theme/source/white.scss @@ -12,7 +12,7 @@ // Include theme-specific fonts -@import url(fonts/source-sans-pro/source-sans-pro.css); +@import url(./fonts/source-sans-pro/source-sans-pro.css); // Override theme settings (see ../template/settings.scss) @@ -46,4 +46,4 @@ section.has-dark-background { // Theme template ------------------------------ @import "../template/theme"; -// --------------------------------------------- \ No newline at end of file +// --------------------------------------------- diff --git a/dist/theme/beige.css b/dist/theme/beige.css index d3182ff..cd86d1b 100644 --- a/dist/theme/beige.css +++ b/dist/theme/beige.css @@ -3,7 +3,7 @@ * * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se */ -@import url(fonts/league-gothic/league-gothic.css); +@import url(./fonts/league-gothic/league-gothic.css); @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); /********************************************* * GLOBAL STYLES diff --git a/dist/theme/black.css b/dist/theme/black.css index 88396e3..9870571 100644 --- a/dist/theme/black.css +++ b/dist/theme/black.css @@ -3,7 +3,7 @@ * * By Hakim El Hattab, http://hakim.se */ -@import url(fonts/source-sans-pro/source-sans-pro.css); +@import url(./fonts/source-sans-pro/source-sans-pro.css); section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 { color: #222; } diff --git a/dist/theme/fonts/league-gothic/league-gothic.css b/dist/theme/fonts/league-gothic/league-gothic.css index 44a33a1..32862f8 100644 --- a/dist/theme/fonts/league-gothic/league-gothic.css +++ b/dist/theme/fonts/league-gothic/league-gothic.css @@ -1,10 +1,10 @@ @font-face { font-family: 'League Gothic'; - src: url('league-gothic.eot'); - src: url('league-gothic.eot?#iefix') format('embedded-opentype'), - url('league-gothic.woff') format('woff'), - url('league-gothic.ttf') format('truetype'); + src: url('./league-gothic.eot'); + src: url('./league-gothic.eot?#iefix') format('embedded-opentype'), + url('./league-gothic.woff') format('woff'), + url('./league-gothic.ttf') format('truetype'); font-weight: normal; font-style: normal; -} \ No newline at end of file +} diff --git a/dist/theme/fonts/source-sans-pro/source-sans-pro.css b/dist/theme/fonts/source-sans-pro/source-sans-pro.css index 0707a4f..99e4fb7 100644 --- a/dist/theme/fonts/source-sans-pro/source-sans-pro.css +++ b/dist/theme/fonts/source-sans-pro/source-sans-pro.css @@ -1,39 +1,39 @@ @font-face { font-family: 'Source Sans Pro'; - src: url('source-sans-pro-regular.eot'); - src: url('source-sans-pro-regular.eot?#iefix') format('embedded-opentype'), - url('source-sans-pro-regular.woff') format('woff'), - url('source-sans-pro-regular.ttf') format('truetype'); + src: url('./source-sans-pro-regular.eot'); + src: url('./source-sans-pro-regular.eot?#iefix') format('embedded-opentype'), + url('./source-sans-pro-regular.woff') format('woff'), + url('./source-sans-pro-regular.ttf') format('truetype'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Source Sans Pro'; - src: url('source-sans-pro-italic.eot'); - src: url('source-sans-pro-italic.eot?#iefix') format('embedded-opentype'), - url('source-sans-pro-italic.woff') format('woff'), - url('source-sans-pro-italic.ttf') format('truetype'); + src: url('./source-sans-pro-italic.eot'); + src: url('./source-sans-pro-italic.eot?#iefix') format('embedded-opentype'), + url('./source-sans-pro-italic.woff') format('woff'), + url('./source-sans-pro-italic.ttf') format('truetype'); font-weight: normal; font-style: italic; } @font-face { font-family: 'Source Sans Pro'; - src: url('source-sans-pro-semibold.eot'); - src: url('source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'), - url('source-sans-pro-semibold.woff') format('woff'), - url('source-sans-pro-semibold.ttf') format('truetype'); + src: url('./source-sans-pro-semibold.eot'); + src: url('./source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'), + url('./source-sans-pro-semibold.woff') format('woff'), + url('./source-sans-pro-semibold.ttf') format('truetype'); font-weight: 600; font-style: normal; } @font-face { font-family: 'Source Sans Pro'; - src: url('source-sans-pro-semibolditalic.eot'); - src: url('source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'), - url('source-sans-pro-semibolditalic.woff') format('woff'), - url('source-sans-pro-semibolditalic.ttf') format('truetype'); + src: url('./source-sans-pro-semibolditalic.eot'); + src: url('./source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'), + url('./source-sans-pro-semibolditalic.woff') format('woff'), + url('./source-sans-pro-semibolditalic.ttf') format('truetype'); font-weight: 600; font-style: italic; -} \ No newline at end of file +} diff --git a/dist/theme/league.css b/dist/theme/league.css index 1d770eb..8148744 100644 --- a/dist/theme/league.css +++ b/dist/theme/league.css @@ -5,7 +5,7 @@ * * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se */ -@import url(fonts/league-gothic/league-gothic.css); +@import url(./fonts/league-gothic/league-gothic.css); @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); /********************************************* * GLOBAL STYLES diff --git a/dist/theme/moon.css b/dist/theme/moon.css index 137ab87..ad29e67 100644 --- a/dist/theme/moon.css +++ b/dist/theme/moon.css @@ -2,7 +2,7 @@ * Solarized Dark theme for reveal.js. * Author: Achim Staebler */ -@import url(fonts/league-gothic/league-gothic.css); +@import url(./fonts/league-gothic/league-gothic.css); @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); /** * Solarized colors by Ethan Schoonover diff --git a/dist/theme/solarized.css b/dist/theme/solarized.css index e555f41..6398276 100644 --- a/dist/theme/solarized.css +++ b/dist/theme/solarized.css @@ -2,7 +2,7 @@ * Solarized Light theme for reveal.js. * Author: Achim Staebler */ -@import url(fonts/league-gothic/league-gothic.css); +@import url(./fonts/league-gothic/league-gothic.css); @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); /** * Solarized colors by Ethan Schoonover diff --git a/dist/theme/white.css b/dist/theme/white.css index db93153..eae1abf 100644 --- a/dist/theme/white.css +++ b/dist/theme/white.css @@ -3,7 +3,7 @@ * * By Hakim El Hattab, http://hakim.se */ -@import url(fonts/source-sans-pro/source-sans-pro.css); +@import url(./fonts/source-sans-pro/source-sans-pro.css); section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 { color: #fff; }