Skip to content
Snippets Groups Projects
Commit 15116a07 authored by Jan Siwiec's avatar Jan Siwiec
Browse files

Merge branch 'monospaced-code-blocks' into 'master'

Code blocks: Do as the Gitlab does

See merge request !493
parents 86ca42c3 eee991b4
No related branches found
No related tags found
1 merge request!493Code blocks: Do as the Gitlab does
Pipeline #43976 failed
...@@ -9,7 +9,8 @@ User configuration -> `$XDG_CONFIG_HOME/scs-cli-client-tools/config.toml` ...@@ -9,7 +9,8 @@ User configuration -> `$XDG_CONFIG_HOME/scs-cli-client-tools/config.toml`
`MUNGE_SOCK` - the path to the munged socket. `MUNGE_SOCK` - the path to the munged socket.
`CLUSTERNAME` - name of the cluster `it4ifree` is running on. `CLUSTERNAME` - name of the cluster `it4ifree` is running on.
`API_URL` - set this environment variable to the API address. [default: `https://scs.it4i.cz/api/v2/`] `API_URL` - set this environment variable to the API address.
[default: `https://scs.it4i.cz/api/v2/`]
--- ---
......
...@@ -225,3 +225,9 @@ html .md-nav__it4i_link[for=toc],html .md-nav__it4i_link[for=toc]+.md-nav__it4i_ ...@@ -225,3 +225,9 @@ html .md-nav__it4i_link[for=toc],html .md-nav__it4i_link[for=toc]+.md-nav__it4i_
transform: rotateX(180deg) transform: rotateX(180deg)
} }
} }
code {
/* Fix monospace issues with Ubuntu Mono */
--md-code-font-family: "Roboto Mono", "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Courier New", "andale mono", "lucida console", monospace;
font-size: .75em !important;
}
...@@ -48,7 +48,7 @@ theme: ...@@ -48,7 +48,7 @@ theme:
font: font:
text: 'Ubuntu' text: 'Ubuntu'
code: 'Ubuntu Mono' #code: 'Ubuntu Mono' # Overwritten in css.css
palette: palette:
primary: 'indigo' primary: 'indigo'
accent: 'indigo' accent: 'indigo'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment