Minor styling improvements

This commit is contained in:
Joe Rickerby
2022-08-17 09:12:02 +01:00
parent 75c93112dc
commit 225ff6347f
5 changed files with 23 additions and 3 deletions
+8 -1
View File
@@ -63,6 +63,13 @@ h1, h2, h3, h4, h5, h6 {
border: none; border: none;
} }
@media screen and (max-width: 768px) {
.wy-nav-content-wrap .wy-nav-content {
padding: 1em;
}
}
/* /*
Code block filename style Code block filename style
@@ -228,7 +235,7 @@ h1, h2, h3, h4, h5, h6 {
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
/* theme fix-ups */ /* mkdocs update theme fix-ups */
.rst-content code, .rst-content tt, code { .rst-content code, .rst-content tt, code {
/* border: none; */ /* border: none; */
+2
View File
@@ -2,6 +2,8 @@
title: Home title: Home
--- ---
# cibuildwheel
{% {%
include-markdown "../README.md" include-markdown "../README.md"
start="<!--intro-start-->" start="<!--intro-start-->"
+6
View File
@@ -1354,6 +1354,12 @@ Some options support placeholders, like `{project}`, `{package}` or `{wheel}`, t
margin-top: 28px; margin-top: 28px;
overflow-x: auto; overflow-x: auto;
} }
@media screen and (max-width: 768px) {
.options-toc {
grid-gap: 1em 0.5em;
gap: 1em 0.5em;
}
}
.options-toc .header { .options-toc .header {
grid-column: 1 / 3; grid-column: 1 / 3;
font-weight: bold; font-weight: bold;
+2 -2
View File
@@ -91,7 +91,7 @@ You should see the builds taking place. You can experiment with options using en
cibuildwheel --platform linux cibuildwheel --platform linux
``` ```
## Linux builds ### Linux builds
If you've got [Docker](https://www.docker.com/products/docker-desktop) installed on If you've got [Docker](https://www.docker.com/products/docker-desktop) installed on
your development machine, you can run a Linux build. your development machine, you can run a Linux build.
@@ -107,7 +107,7 @@ they're perfectly reproducible.
The only side effect to your system will be docker images being pulled. The only side effect to your system will be docker images being pulled.
## macOS / Windows builds ### macOS / Windows builds
Pre-requisite: you need to have native build tools installed. Pre-requisite: you need to have native build tools installed.
+5
View File
@@ -1,3 +1,8 @@
// imported from
// https://github.com/readthedocs/sphinx_rtd_theme/blob/bc73ad84068b4ee7d8ddae7e51f5b767e8fd377b/src/theme.js
// modified to suit our documentation structure, to not scroll the nav sidebar
// when clicked - this is disorienting
var jQuery = window.jQuery; var jQuery = window.jQuery;
// Sphinx theme nav state // Sphinx theme nav state