From 1de653a95a0a4e5c3a74bf5d0f038f3d40baa2d6 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Thu, 4 Feb 2021 14:17:27 +0100 Subject: [PATCH] reduce tab size in code blocks from 8 to 2 --- css/theme/template/theme.scss | 1 + dist/theme/beige.css | 3 ++- dist/theme/black.css | 3 ++- dist/theme/blood.css | 3 ++- dist/theme/league.css | 3 ++- dist/theme/moon.css | 3 ++- dist/theme/night.css | 3 ++- dist/theme/serif.css | 3 ++- dist/theme/simple.css | 3 ++- dist/theme/sky.css | 3 ++- dist/theme/solarized.css | 3 ++- dist/theme/white.css | 3 ++- 12 files changed, 23 insertions(+), 11 deletions(-) diff --git a/css/theme/template/theme.scss b/css/theme/template/theme.scss index 9cf0511a..98d9f11f 100644 --- a/css/theme/template/theme.scss +++ b/css/theme/template/theme.scss @@ -185,6 +185,7 @@ .reveal code { font-family: $codeFont; text-transform: none; + tab-size: 2; } .reveal pre code { diff --git a/dist/theme/beige.css b/dist/theme/beige.css index 4cdd397c..688dec2b 100644 --- a/dist/theme/beige.css +++ b/dist/theme/beige.css @@ -194,7 +194,8 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba .reveal code { font-family: monospace; - text-transform: none; } + text-transform: none; + tab-size: 2; } .reveal pre code { display: block; diff --git a/dist/theme/black.css b/dist/theme/black.css index dcde9dee..8df28fee 100644 --- a/dist/theme/black.css +++ b/dist/theme/black.css @@ -187,7 +187,8 @@ section.has-light-background, section.has-light-background h1, section.has-light .reveal code { font-family: monospace; - text-transform: none; } + text-transform: none; + tab-size: 2; } .reveal pre code { display: block; diff --git a/dist/theme/blood.css b/dist/theme/blood.css index 9062842e..444d516a 100644 --- a/dist/theme/blood.css +++ b/dist/theme/blood.css @@ -193,7 +193,8 @@ section.has-light-background, section.has-light-background h1, section.has-light .reveal code { font-family: monospace; - text-transform: none; } + text-transform: none; + tab-size: 2; } .reveal pre code { display: block; diff --git a/dist/theme/league.css b/dist/theme/league.css index e21024b2..2a8a10e3 100644 --- a/dist/theme/league.css +++ b/dist/theme/league.css @@ -196,7 +196,8 @@ section.has-light-background, section.has-light-background h1, section.has-light .reveal code { font-family: monospace; - text-transform: none; } + text-transform: none; + tab-size: 2; } .reveal pre code { display: block; diff --git a/dist/theme/moon.css b/dist/theme/moon.css index 38525953..a8cef5c0 100644 --- a/dist/theme/moon.css +++ b/dist/theme/moon.css @@ -194,7 +194,8 @@ section.has-light-background, section.has-light-background h1, section.has-light .reveal code { font-family: monospace; - text-transform: none; } + text-transform: none; + tab-size: 2; } .reveal pre code { display: block; diff --git a/dist/theme/night.css b/dist/theme/night.css index 0abd9543..ee1ffad1 100644 --- a/dist/theme/night.css +++ b/dist/theme/night.css @@ -188,7 +188,8 @@ section.has-light-background, section.has-light-background h1, section.has-light .reveal code { font-family: monospace; - text-transform: none; } + text-transform: none; + tab-size: 2; } .reveal pre code { display: block; diff --git a/dist/theme/serif.css b/dist/theme/serif.css index 1744dd1d..b9f80d57 100644 --- a/dist/theme/serif.css +++ b/dist/theme/serif.css @@ -190,7 +190,8 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba .reveal code { font-family: monospace; - text-transform: none; } + text-transform: none; + tab-size: 2; } .reveal pre code { display: block; diff --git a/dist/theme/simple.css b/dist/theme/simple.css index ff3e0630..85f4a992 100644 --- a/dist/theme/simple.css +++ b/dist/theme/simple.css @@ -190,7 +190,8 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba .reveal code { font-family: monospace; - text-transform: none; } + text-transform: none; + tab-size: 2; } .reveal pre code { display: block; diff --git a/dist/theme/sky.css b/dist/theme/sky.css index ab9a40c8..ba996b3c 100644 --- a/dist/theme/sky.css +++ b/dist/theme/sky.css @@ -197,7 +197,8 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba .reveal code { font-family: monospace; - text-transform: none; } + text-transform: none; + tab-size: 2; } .reveal pre code { display: block; diff --git a/dist/theme/solarized.css b/dist/theme/solarized.css index a690537f..28d86c56 100644 --- a/dist/theme/solarized.css +++ b/dist/theme/solarized.css @@ -191,7 +191,8 @@ html * { .reveal code { font-family: monospace; - text-transform: none; } + text-transform: none; + tab-size: 2; } .reveal pre code { display: block; diff --git a/dist/theme/white.css b/dist/theme/white.css index e9b1eadd..b4cb6774 100644 --- a/dist/theme/white.css +++ b/dist/theme/white.css @@ -187,7 +187,8 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba .reveal code { font-family: monospace; - text-transform: none; } + text-transform: none; + tab-size: 2; } .reveal pre code { display: block;