docs(site): i18n handler, prettier code blocks and highlighting (#951)

* fix: sirv, commonjs plugin, add rollup sig

* replace deprecated rollup plugins

* remove dollarsign

* fix i18n setting, code snippet styling, lng switch

* fix segment, rm unused styles
This commit is contained in:
Max Peintner
2020-11-11 16:12:09 +01:00
committed by GitHub
parent 8dbf0cfee0
commit b5a7263124
8 changed files with 39 additions and 22 deletions

View File

@@ -184,7 +184,7 @@ strong {
}
tt,
code,
/* code, */
kbd,
samp {
font: 400 var(--code-fs)/1.7 var(--font-mono);
@@ -195,7 +195,8 @@ code {
border-radius: .3em;
white-space: nowrap;
color: var(--text);
-webkit-font-smoothing: initial;
-webkit-font-smoothing: initial;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
}
pre code {