Skip to content

Commit

Permalink
fine-tune
Browse files Browse the repository at this point in the history
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
  • Loading branch information
gaborbernat committed Feb 10, 2020
1 parent 8aa82df commit bd39a6f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
17 changes: 8 additions & 9 deletions docs/_static/custom.css
@@ -1,3 +1,7 @@
.wy-nav-content {
padding: 1em;
}

#virtualenv img {
margin-bottom: 6px;
}
Expand All @@ -9,13 +13,9 @@
padding: 8px 6px !important;
}

/* Override table width restrictions */
.wy-table-responsive {
overflow: visible !important;
}
.wy-table-responsive table {
margin-left: -1em !important;
width: calc(100% + 3em);
margin-left: 20px !important;
}

.rst-content table.docutils td ol {
Expand All @@ -36,12 +36,12 @@ div[class*="highlight-"] {

/* Tweak whitespace on the release history page */
#release-history p {
margin-bottom: 2px;
margin-top: 2px;
margin-bottom: 0;
margin-top: 0;
}

#release-history h3 {
margin-bottom: 12px;
margin-bottom: 6px;
}

#release-history ul {
Expand All @@ -54,7 +54,6 @@ div[class*="highlight-"] {

#release-history h2 {
margin-bottom: 12px;
margin-top: 24px;
}

/* Reduce whitespace on the inline-code snippets and add softer corners */
Expand Down
4 changes: 2 additions & 2 deletions docs/changelog/1548.doc.rst
@@ -1,2 +1,2 @@
Add link to the `legacy branch documentation <https://virtualenv.pypa.io/en/legacy>`_ for the changelog -
by :user:`jezdez `.
Fine tune the documentation layout: default width of theme, allow tables to wrap around, soft corners for code snippets
- by :user:`pradyunsg`.

0 comments on commit bd39a6f

Please sign in to comment.