Prechádzať zdrojové kódy

reduce tab size in code blocks from 8 to 2

Hakim El Hattab 4 rokov pred
rodič
commit
1de653a95a

+ 1 - 0
css/theme/template/theme.scss

@@ -185,6 +185,7 @@
 .reveal code {
 	font-family: $codeFont;
 	text-transform: none;
+	tab-size: 2;
 }
 
 .reveal pre code {

+ 2 - 1
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;

+ 2 - 1
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;

+ 2 - 1
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;

+ 2 - 1
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;

+ 2 - 1
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;

+ 2 - 1
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;

+ 2 - 1
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;

+ 2 - 1
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;

+ 2 - 1
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;

+ 2 - 1
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;

+ 2 - 1
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;