Skip to content

Commit

Permalink
Minor styling improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
joerick committed Aug 17, 2022
1 parent 75c9311 commit 225ff63
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
9 changes: 8 additions & 1 deletion docs/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ h1, h2, h3, h4, h5, h6 {
border: none;
}

@media screen and (max-width: 768px) {
.wy-nav-content-wrap .wy-nav-content {
padding: 1em;
}
}


/*
Code block filename style
Expand Down Expand Up @@ -228,7 +235,7 @@ h1, h2, h3, h4, h5, h6 {
margin-bottom: 0.5em;
}

/* theme fix-ups */
/* mkdocs update theme fix-ups */

.rst-content code, .rst-content tt, code {
/* border: none; */
Expand Down
2 changes: 2 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: Home
---

# cibuildwheel

{%
include-markdown "../README.md"
start="<!--intro-start-->"
Expand Down
6 changes: 6 additions & 0 deletions docs/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -1354,6 +1354,12 @@ Some options support placeholders, like `{project}`, `{package}` or `{wheel}`, t
margin-top: 28px;
overflow-x: auto;
}
@media screen and (max-width: 768px) {
.options-toc {
grid-gap: 1em 0.5em;
gap: 1em 0.5em;
}
}
.options-toc .header {
grid-column: 1 / 3;
font-weight: bold;
Expand Down
4 changes: 2 additions & 2 deletions docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ You should see the builds taking place. You can experiment with options using en
cibuildwheel --platform linux
```

## Linux builds
### Linux builds

If you've got [Docker](https://www.docker.com/products/docker-desktop) installed on
your development machine, you can run a Linux build.
Expand All @@ -107,7 +107,7 @@ they're perfectly reproducible.

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.

Expand Down
5 changes: 5 additions & 0 deletions docs/theme_overrides/js/theme.js
Original file line number Diff line number Diff line change
@@ -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;

// Sphinx theme nav state
Expand Down

0 comments on commit 225ff63

Please sign in to comment.