mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-14 18:27:37 +00:00
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:
@@ -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 {
|
||||
|
@@ -3,7 +3,7 @@ code[class*="language-"] {
|
||||
color: #d4d4d4;
|
||||
font-size: 13px;
|
||||
text-shadow: none;
|
||||
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace !important;
|
||||
direction: ltr;
|
||||
text-align: left;
|
||||
white-space: pre;
|
||||
@@ -36,7 +36,7 @@ pre[class*="language-"] {
|
||||
padding: 1em;
|
||||
margin: .5em 0;
|
||||
overflow: auto;
|
||||
background: #3c4257;
|
||||
background: #2A2F45;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user