Skip to content
Snippets Groups Projects
Commit eee991b4 authored by Stanislav Rosicky's avatar Stanislav Rosicky
Browse files

Code blocks: Do as the Gitlab does

Replace Ubuntu Mono with a selection of monospace fonts which
actually act as monospace fonts.
parent 86ca42c3
Branches
No related tags found
1 merge request!493Code blocks: Do as the Gitlab does
Pipeline #43974 failed
......@@ -9,7 +9,8 @@ User configuration -> `$XDG_CONFIG_HOME/scs-cli-client-tools/config.toml`
`MUNGE_SOCK` - the path to the munged socket.
`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_
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:
font:
text: 'Ubuntu'
code: 'Ubuntu Mono'
#code: 'Ubuntu Mono' # Overwritten in css.css
palette:
primary: 'indigo'
accent: 'indigo'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment