reduce tab size in code blocks from 8 to 2

edit
Hakim El Hattab 2021-02-04 14:17:27 +01:00
parent 95592293ae
commit 1de653a95a
12 changed files with 23 additions and 11 deletions

View File

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

View File

@ -194,7 +194,8 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba
.reveal code { .reveal code {
font-family: monospace; font-family: monospace;
text-transform: none; } text-transform: none;
tab-size: 2; }
.reveal pre code { .reveal pre code {
display: block; display: block;

View File

@ -187,7 +187,8 @@ section.has-light-background, section.has-light-background h1, section.has-light
.reveal code { .reveal code {
font-family: monospace; font-family: monospace;
text-transform: none; } text-transform: none;
tab-size: 2; }
.reveal pre code { .reveal pre code {
display: block; display: block;

View File

@ -193,7 +193,8 @@ section.has-light-background, section.has-light-background h1, section.has-light
.reveal code { .reveal code {
font-family: monospace; font-family: monospace;
text-transform: none; } text-transform: none;
tab-size: 2; }
.reveal pre code { .reveal pre code {
display: block; display: block;

View File

@ -196,7 +196,8 @@ section.has-light-background, section.has-light-background h1, section.has-light
.reveal code { .reveal code {
font-family: monospace; font-family: monospace;
text-transform: none; } text-transform: none;
tab-size: 2; }
.reveal pre code { .reveal pre code {
display: block; display: block;

3
dist/theme/moon.css vendored
View File

@ -194,7 +194,8 @@ section.has-light-background, section.has-light-background h1, section.has-light
.reveal code { .reveal code {
font-family: monospace; font-family: monospace;
text-transform: none; } text-transform: none;
tab-size: 2; }
.reveal pre code { .reveal pre code {
display: block; display: block;

View File

@ -188,7 +188,8 @@ section.has-light-background, section.has-light-background h1, section.has-light
.reveal code { .reveal code {
font-family: monospace; font-family: monospace;
text-transform: none; } text-transform: none;
tab-size: 2; }
.reveal pre code { .reveal pre code {
display: block; display: block;

View File

@ -190,7 +190,8 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba
.reveal code { .reveal code {
font-family: monospace; font-family: monospace;
text-transform: none; } text-transform: none;
tab-size: 2; }
.reveal pre code { .reveal pre code {
display: block; display: block;

View File

@ -190,7 +190,8 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba
.reveal code { .reveal code {
font-family: monospace; font-family: monospace;
text-transform: none; } text-transform: none;
tab-size: 2; }
.reveal pre code { .reveal pre code {
display: block; display: block;

3
dist/theme/sky.css vendored
View File

@ -197,7 +197,8 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba
.reveal code { .reveal code {
font-family: monospace; font-family: monospace;
text-transform: none; } text-transform: none;
tab-size: 2; }
.reveal pre code { .reveal pre code {
display: block; display: block;

View File

@ -191,7 +191,8 @@ html * {
.reveal code { .reveal code {
font-family: monospace; font-family: monospace;
text-transform: none; } text-transform: none;
tab-size: 2; }
.reveal pre code { .reveal pre code {
display: block; display: block;

View File

@ -187,7 +187,8 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba
.reveal code { .reveal code {
font-family: monospace; font-family: monospace;
text-transform: none; } text-transform: none;
tab-size: 2; }
.reveal pre code { .reveal pre code {
display: block; display: block;