From 96e0f590a13e4c5ae650fb93144fbd2b65bcea97 Mon Sep 17 00:00:00 2001 From: facelessuser Date: Wed, 19 Feb 2020 00:21:24 -0700 Subject: [PATCH] More CSS tweaks Correct padding of code --- docs/src/scss/_code.scss | 6 +++--- docs/theme/{extra-02524671b8.css => extra-3e0384323a.css} | 2 +- mkdocs.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename docs/theme/{extra-02524671b8.css => extra-3e0384323a.css} (50%) diff --git a/docs/src/scss/_code.scss b/docs/src/scss/_code.scss index 30045fbda..dd458d9dd 100644 --- a/docs/src/scss/_code.scss +++ b/docs/src/scss/_code.scss @@ -60,7 +60,7 @@ $tab-current-label: #FF5252; display: inline-block; position: sticky; left: -0.6rem; - margin-right: 0.5rem; + margin-right: 0.6rem; margin-left: -0.6rem; padding-left: 0.6rem; border-right: 0.0625rem solid $md-linenos-border; @@ -75,8 +75,8 @@ $tab-current-label: #FF5252; } + .hll { - margin: 0 -0.5rem; - padding: 0 0.5rem; + margin: 0 -0.6rem; + padding: 0 0.6rem; } } } diff --git a/docs/theme/extra-02524671b8.css b/docs/theme/extra-3e0384323a.css similarity index 50% rename from docs/theme/extra-02524671b8.css rename to docs/theme/extra-3e0384323a.css index 1aa671074..89a2142f7 100644 --- a/docs/theme/extra-02524671b8.css +++ b/docs/theme/extra-3e0384323a.css @@ -1 +1 @@ -@charset "UTF-8";.md-typeset .twemoji{width:1rem;vertical-align:text-top}.md-typeset .magiclink-commit:before,.md-typeset .magiclink-compare:before,.md-typeset .magiclink-issue:before,.md-typeset .magiclink-pull:before,.md-typeset .magiclink-repository:before,.md-typeset a[href^="mailto:"]:before{position:relative;width:1em;height:1em;padding-right:1em;background-repeat:no-repeat;background-position:50%;background-size:1em;-webkit-filter:invert(50%) sepia(93%) saturate(1300%) hue-rotate(197deg);filter:invert(50%) sepia(93%) saturate(1300%) hue-rotate(197deg);content:"\a0"}.md-typeset a[href^="mailto:"]:before{background-image:url(svg/fontawesome/envelope.svg)}.md-typeset .magiclink-commit:before{background-image:url(svg/octicons/git-commit.svg)}.md-typeset .magiclink-compare:before{background-image:url(svg/octicons/git-compare.svg)}.md-typeset .magiclink-pull:before{background-image:url(svg/octicons/git-pull-request.svg)}.md-typeset .magiclink-issue:before{background-image:url(svg/octicons/issue-opened.svg)}.md-typeset .magiclink-repository.magiclink-github:before{background-image:url(svg/fontawesome/github.svg)}.md-typeset .magiclink-repository.magiclink-gitlab:before{background-image:url(svg/fontawesome/gitlab.svg)}.md-typeset .magiclink-repository.magiclink-bitbucket:before{background-image:url(svg/fontawesome/bitbucket.svg)}.md-typeset .keys kbd:after,.md-typeset .keys kbd:before{position:relative;margin:0;color:#bdbdbd;font-family:sans-serif;-moz-osx-font-smoothing:initial;-webkit-font-smoothing:initial;font-weight:400}.md-typeset .keys span{padding:0 .2rem;color:#bdbdbd}.md-typeset .keys .key-backspace:before{padding-left:.2rem;content:"←"}.md-typeset .keys .key-command:before{padding-left:.2rem;content:"⌘"}.md-typeset .keys .key-windows:before{padding-left:.2rem;content:"⊞"}.md-typeset .keys .key-caps-lock:before{padding-left:.2rem;content:"⇪"}.md-typeset .keys .key-control:before{padding-left:.2rem;content:"⌃"}.md-typeset .keys .key-meta:before{padding-left:.2rem;content:"◆"}.md-typeset .keys .key-shift:before{padding-left:.2rem;content:"⇧"}.md-typeset .keys .key-option:before{padding-left:.2rem;content:"⌥"}.md-typeset .keys .key-tab:after{padding-left:.2rem;content:"↹"}.md-typeset .keys .key-num-enter:after{padding-left:.2rem;content:"↵"}.md-typeset .keys .key-enter:after{padding-left:.2rem;content:"↩"}.md-typeset .admonition.settings,.md-typeset details.settings{border-left:.4rem solid #a0f}.md-typeset .admonition.settings>.admonition-title,.md-typeset details.settings>.admonition-title,.md-typeset details.settings>summary{border-bottom:.1rem solid rgba(170,0,255,.1);background-color:rgba(170,0,255,.1)}.md-typeset .admonition.settings>.admonition-title:before,.md-typeset details.settings>.admonition-title:before,.md-typeset details.settings>summary:before{color:#a0f;content:"settings"}.md-typeset .admonition.new,.md-typeset details.new{border-left:.4rem solid #ffd600}.md-typeset .admonition.new>.admonition-title,.md-typeset details.new>.admonition-title,.md-typeset details.new>summary{border-bottom:.1rem solid rgba(255,214,0,.1);background-color:rgba(255,214,0,.1)}.md-typeset .admonition.new>.admonition-title:before,.md-typeset details.new>.admonition-title:before,.md-typeset details.new>summary:before{color:#ffd600;content:"new_releases"}.md-typeset .uml-flowchart,.md-typeset .uml-sequence-diagram{width:100%;padding:1rem 0;overflow:auto}.md-typeset .uml-flowchart svg,.md-typeset .uml-sequence-diagram svg{max-width:none}.md-typeset a>code{margin:0 .29412em;padding:.07353em 0;border-radius:.2rem;background-color:hsla(0,0%,93%,.5);box-shadow:.29412em 0 0 hsla(0,0%,93%,.5),-.29412em 0 0 hsla(0,0%,93%,.5);-webkit-box-decoration-break:clone;box-decoration-break:clone}.md-typeset .codehilitetable .linenos,.md-typeset .highlighttable .linenos{border-right:.0625rem solid #ddd;border-radius:0;background-color:hsla(0,0%,93%,.5)}.md-typeset .codehilitetable .linenodiv .special,.md-typeset .highlighttable .linenodiv .special{margin-right:-.6rem;margin-left:-.6rem;padding-right:.6rem;padding-left:.6rem;background-color:hsla(0,0%,60%,.1)}.md-typeset td code{word-break:normal}.md-typeset .codehilite,.md-typeset .highlight{-moz-tab-size:8;-o-tab-size:8;tab-size:8}.md-typeset .codehilite .hll,.md-typeset .highlight .hll{display:inline}.md-typeset .codehilite [data-linenos]:before,.md-typeset .highlight [data-linenos]:before{display:inline-block;position:-webkit-sticky;position:sticky;left:-.6rem;margin-right:.5rem;margin-left:-.6rem;padding-left:.6rem;border-right:.0625rem solid #ddd;background-color:#f7f7f7;color:#999;content:attr(data-linenos);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.md-typeset .codehilite [data-linenos].special:before,.md-typeset .highlight [data-linenos].special:before{background-color:#eee}.md-typeset .codehilite [data-linenos]+.hll,.md-typeset .highlight [data-linenos]+.hll{margin:0 -.5rem;padding:0 .5rem}.md-typeset .headerlink{font:normal 400 1rem Material Icons;vertical-align:middle}.md-typeset h1 .headerlink{margin-top:-.3rem}.md-typeset h2 .headerlink{margin-top:-.2rem}.md-typeset h3 .headerlink{margin-top:-.15rem}.md-typeset h4 .headerlink,.md-typeset h5 .headerlink,.md-typeset h6 .headerlink{margin-top:-.1rem}.md-typeset .progress-label{position:absolute;width:100%;margin:0;color:rgba(0,0,0,.5);font-weight:700;line-height:1.4rem;text-align:center;white-space:nowrap}.md-typeset .progress-bar{height:1.2rem;float:left;background-color:#2979ff}.md-typeset .candystripe-animate .progress-bar{-webkit-animation:a 3s linear infinite;animation:a 3s linear infinite}.md-typeset .progress{display:block;position:relative;width:100%;height:1.2rem;margin:.5rem 0;background-color:#eee}.md-typeset .progress.thin{height:.4rem;margin-top:.9rem}.md-typeset .progress.thin .progress-label{margin-top:-.4rem}.md-typeset .progress.thin .progress-bar{height:.4rem}.md-typeset .progress.candystripe .progress-bar{background-image:linear-gradient(135deg,hsla(0,0%,100%,.8) 27%,transparent 0,transparent 52%,hsla(0,0%,100%,.8) 0,hsla(0,0%,100%,.8) 77%,transparent 0,transparent);background-size:2rem 2rem}.md-typeset .progress-80plus .progress-bar,.md-typeset .progress-100plus .progress-bar{background-color:#00e676}.md-typeset .progress-60plus .progress-bar{background-color:#fbc02d}.md-typeset .progress-40plus .progress-bar{background-color:#ff9100}.md-typeset .progress-20plus .progress-bar{background-color:#ff5252}.md-typeset .progress-0plus .progress-bar{background-color:#ff1744}.md-typeset .progress.note .progress-bar{background-color:#2979ff}.md-typeset .progress.summary .progress-bar{background-color:#00b0ff}.md-typeset .progress.tip .progress-bar{background-color:#00bfa5}.md-typeset .progress.success .progress-bar{background-color:#00e676}.md-typeset .progress.warning .progress-bar{background-color:#ff9100}.md-typeset .progress.failure .progress-bar{background-color:#ff5252}.md-typeset .progress.danger .progress-bar{background-color:#ff1744}.md-typeset .progress.bug .progress-bar{background-color:#f50057}.md-typeset .progress.quote .progress-bar{background-color:#9e9e9e}@-webkit-keyframes a{0%{background-position:0 0}to{background-position:6rem 0}}@keyframes a{0%{background-position:0 0}to{background-position:6rem 0}}.md-footer .md-footer-custom-text{color:hsla(0,0%,100%,.3)}@media only screen and (max-width:44.9375em){.md-typeset>.codehilitetable .linenodiv .special,.md-typeset>.highlighttable .linenodiv .special{margin-right:-.8rem;margin-left:-.8rem;padding-right:.8rem;padding-left:.8rem}.md-typeset>.codehilite [data-linenos]:before,.md-typeset>.highlight [data-linenos]:before{left:-1.6rem;margin-left:-1.6rem;padding-left:1.6rem}}@media only screen and (min-width:76.1876em){.md-typeset .headerlink{margin-left:-1.2rem;float:left}.md-typeset h1 .headerlink{margin-top:.4rem}.md-typeset h2 .headerlink{margin-top:.3rem}.md-typeset h3 .headerlink{margin-top:.2rem}.md-typeset h4 .headerlink{margin-top:.1rem}.md-typeset h5 .headerlink,.md-typeset h6 .headerlink{margin-top:0}} \ No newline at end of file +@charset "UTF-8";.md-typeset .twemoji{width:1rem;vertical-align:text-top}.md-typeset .magiclink-commit:before,.md-typeset .magiclink-compare:before,.md-typeset .magiclink-issue:before,.md-typeset .magiclink-pull:before,.md-typeset .magiclink-repository:before,.md-typeset a[href^="mailto:"]:before{position:relative;width:1em;height:1em;padding-right:1em;background-repeat:no-repeat;background-position:50%;background-size:1em;-webkit-filter:invert(50%) sepia(93%) saturate(1300%) hue-rotate(197deg);filter:invert(50%) sepia(93%) saturate(1300%) hue-rotate(197deg);content:"\a0"}.md-typeset a[href^="mailto:"]:before{background-image:url(svg/fontawesome/envelope.svg)}.md-typeset .magiclink-commit:before{background-image:url(svg/octicons/git-commit.svg)}.md-typeset .magiclink-compare:before{background-image:url(svg/octicons/git-compare.svg)}.md-typeset .magiclink-pull:before{background-image:url(svg/octicons/git-pull-request.svg)}.md-typeset .magiclink-issue:before{background-image:url(svg/octicons/issue-opened.svg)}.md-typeset .magiclink-repository.magiclink-github:before{background-image:url(svg/fontawesome/github.svg)}.md-typeset .magiclink-repository.magiclink-gitlab:before{background-image:url(svg/fontawesome/gitlab.svg)}.md-typeset .magiclink-repository.magiclink-bitbucket:before{background-image:url(svg/fontawesome/bitbucket.svg)}.md-typeset .keys kbd:after,.md-typeset .keys kbd:before{position:relative;margin:0;color:#bdbdbd;font-family:sans-serif;-moz-osx-font-smoothing:initial;-webkit-font-smoothing:initial;font-weight:400}.md-typeset .keys span{padding:0 .2rem;color:#bdbdbd}.md-typeset .keys .key-backspace:before{padding-left:.2rem;content:"←"}.md-typeset .keys .key-command:before{padding-left:.2rem;content:"⌘"}.md-typeset .keys .key-windows:before{padding-left:.2rem;content:"⊞"}.md-typeset .keys .key-caps-lock:before{padding-left:.2rem;content:"⇪"}.md-typeset .keys .key-control:before{padding-left:.2rem;content:"⌃"}.md-typeset .keys .key-meta:before{padding-left:.2rem;content:"◆"}.md-typeset .keys .key-shift:before{padding-left:.2rem;content:"⇧"}.md-typeset .keys .key-option:before{padding-left:.2rem;content:"⌥"}.md-typeset .keys .key-tab:after{padding-left:.2rem;content:"↹"}.md-typeset .keys .key-num-enter:after{padding-left:.2rem;content:"↵"}.md-typeset .keys .key-enter:after{padding-left:.2rem;content:"↩"}.md-typeset .admonition.settings,.md-typeset details.settings{border-left:.4rem solid #a0f}.md-typeset .admonition.settings>.admonition-title,.md-typeset details.settings>.admonition-title,.md-typeset details.settings>summary{border-bottom:.1rem solid rgba(170,0,255,.1);background-color:rgba(170,0,255,.1)}.md-typeset .admonition.settings>.admonition-title:before,.md-typeset details.settings>.admonition-title:before,.md-typeset details.settings>summary:before{color:#a0f;content:"settings"}.md-typeset .admonition.new,.md-typeset details.new{border-left:.4rem solid #ffd600}.md-typeset .admonition.new>.admonition-title,.md-typeset details.new>.admonition-title,.md-typeset details.new>summary{border-bottom:.1rem solid rgba(255,214,0,.1);background-color:rgba(255,214,0,.1)}.md-typeset .admonition.new>.admonition-title:before,.md-typeset details.new>.admonition-title:before,.md-typeset details.new>summary:before{color:#ffd600;content:"new_releases"}.md-typeset .uml-flowchart,.md-typeset .uml-sequence-diagram{width:100%;padding:1rem 0;overflow:auto}.md-typeset .uml-flowchart svg,.md-typeset .uml-sequence-diagram svg{max-width:none}.md-typeset a>code{margin:0 .29412em;padding:.07353em 0;border-radius:.2rem;background-color:hsla(0,0%,93%,.5);box-shadow:.29412em 0 0 hsla(0,0%,93%,.5),-.29412em 0 0 hsla(0,0%,93%,.5);-webkit-box-decoration-break:clone;box-decoration-break:clone}.md-typeset .codehilitetable .linenos,.md-typeset .highlighttable .linenos{border-right:.0625rem solid #ddd;border-radius:0;background-color:hsla(0,0%,93%,.5)}.md-typeset .codehilitetable .linenodiv .special,.md-typeset .highlighttable .linenodiv .special{margin-right:-.6rem;margin-left:-.6rem;padding-right:.6rem;padding-left:.6rem;background-color:hsla(0,0%,60%,.125)}.md-typeset td code{word-break:normal}.md-typeset .codehilite,.md-typeset .highlight{-moz-tab-size:8;-o-tab-size:8;tab-size:8}.md-typeset .codehilite .hll,.md-typeset .highlight .hll{display:inline}.md-typeset .codehilite [data-linenos]:before,.md-typeset .highlight [data-linenos]:before{display:inline-block;position:-webkit-sticky;position:sticky;left:-.6rem;margin-right:.6rem;margin-left:-.6rem;padding-left:.6rem;border-right:.0625rem solid #ddd;background-color:#f7f7f7;color:#999;content:attr(data-linenos);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.md-typeset .codehilite [data-linenos].special:before,.md-typeset .highlight [data-linenos].special:before{background-color:#eee}.md-typeset .codehilite [data-linenos]+.hll,.md-typeset .highlight [data-linenos]+.hll{margin:0 -.6rem;padding:0 .6rem}.md-typeset .headerlink{font:normal 400 1rem Material Icons;vertical-align:middle}.md-typeset h1 .headerlink{margin-top:-.3rem}.md-typeset h2 .headerlink{margin-top:-.2rem}.md-typeset h3 .headerlink{margin-top:-.15rem}.md-typeset h4 .headerlink,.md-typeset h5 .headerlink,.md-typeset h6 .headerlink{margin-top:-.1rem}.md-typeset .progress-label{position:absolute;width:100%;margin:0;color:rgba(0,0,0,.5);font-weight:700;line-height:1.4rem;text-align:center;white-space:nowrap}.md-typeset .progress-bar{height:1.2rem;float:left;background-color:#2979ff}.md-typeset .candystripe-animate .progress-bar{-webkit-animation:a 3s linear infinite;animation:a 3s linear infinite}.md-typeset .progress{display:block;position:relative;width:100%;height:1.2rem;margin:.5rem 0;background-color:#eee}.md-typeset .progress.thin{height:.4rem;margin-top:.9rem}.md-typeset .progress.thin .progress-label{margin-top:-.4rem}.md-typeset .progress.thin .progress-bar{height:.4rem}.md-typeset .progress.candystripe .progress-bar{background-image:linear-gradient(135deg,hsla(0,0%,100%,.8) 27%,transparent 0,transparent 52%,hsla(0,0%,100%,.8) 0,hsla(0,0%,100%,.8) 77%,transparent 0,transparent);background-size:2rem 2rem}.md-typeset .progress-80plus .progress-bar,.md-typeset .progress-100plus .progress-bar{background-color:#00e676}.md-typeset .progress-60plus .progress-bar{background-color:#fbc02d}.md-typeset .progress-40plus .progress-bar{background-color:#ff9100}.md-typeset .progress-20plus .progress-bar{background-color:#ff5252}.md-typeset .progress-0plus .progress-bar{background-color:#ff1744}.md-typeset .progress.note .progress-bar{background-color:#2979ff}.md-typeset .progress.summary .progress-bar{background-color:#00b0ff}.md-typeset .progress.tip .progress-bar{background-color:#00bfa5}.md-typeset .progress.success .progress-bar{background-color:#00e676}.md-typeset .progress.warning .progress-bar{background-color:#ff9100}.md-typeset .progress.failure .progress-bar{background-color:#ff5252}.md-typeset .progress.danger .progress-bar{background-color:#ff1744}.md-typeset .progress.bug .progress-bar{background-color:#f50057}.md-typeset .progress.quote .progress-bar{background-color:#9e9e9e}@-webkit-keyframes a{0%{background-position:0 0}to{background-position:6rem 0}}@keyframes a{0%{background-position:0 0}to{background-position:6rem 0}}.md-footer .md-footer-custom-text{color:hsla(0,0%,100%,.3)}@media only screen and (max-width:44.9375em){.md-typeset>.codehilitetable .linenodiv .special,.md-typeset>.highlighttable .linenodiv .special{margin-right:-.8rem;margin-left:-.8rem;padding-right:.8rem;padding-left:.8rem}.md-typeset>.codehilite [data-linenos]:before,.md-typeset>.highlight [data-linenos]:before{left:-1.6rem;margin-left:-1.6rem;padding-left:1.6rem}}@media only screen and (min-width:76.1876em){.md-typeset .headerlink{margin-left:-1.2rem;float:left}.md-typeset h1 .headerlink{margin-top:.4rem}.md-typeset h2 .headerlink{margin-top:.3rem}.md-typeset h3 .headerlink{margin-top:.2rem}.md-typeset h4 .headerlink{margin-top:.1rem}.md-typeset h5 .headerlink,.md-typeset h6 .headerlink{margin-top:0}} \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 8e7a4b685..c1fbf5843 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -136,7 +136,7 @@ extra: - icon: brands/github link: https://github.com/facelessuser extra_css: - - extra-02524671b8.css + - extra-3e0384323a.css extra_javascript: - extra-0d9305e748.js