diff options
| author | Aldo Cortesi <aldo@corte.si> | 2018-03-30 09:38:17 +1300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-30 09:38:17 +1300 |
| commit | 3c52ed6ee1948a1c4b0fa064fe7313bdfadb8950 (patch) | |
| tree | 93ec314a2228612f76cde96132d0f4d496f3de78 /docs/style | |
| parent | c6cf502657024c8077fe2e52a3f20c41ade0fbaf (diff) | |
| parent | f6699792da82c00de4cdcc1e413bd65caad9d3c3 (diff) | |
| download | mitmproxy-3c52ed6ee1948a1c4b0fa064fe7313bdfadb8950.tar.gz mitmproxy-3c52ed6ee1948a1c4b0fa064fe7313bdfadb8950.tar.bz2 mitmproxy-3c52ed6ee1948a1c4b0fa064fe7313bdfadb8950.zip | |
Merge pull request #3012 from Kriechi/docs-options
docs: add auto-generated options reference
Diffstat (limited to 'docs/style')
| -rw-r--r-- | docs/style/badge.scss | 18 | ||||
| -rw-r--r-- | docs/style/style.scss | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/docs/style/badge.scss b/docs/style/badge.scss new file mode 100644 index 00000000..8082f6c7 --- /dev/null +++ b/docs/style/badge.scss @@ -0,0 +1,18 @@ +.badge { + color: #fff; + background-color: #6c757d; + display: inline-block; + padding: .25em .4em; + font-size: 75%; + font-weight: 1; + line-height: 1; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: 0.25rem; + + // Empty badges collapse automatically + &:empty { + display: none; + } +} diff --git a/docs/style/style.scss b/docs/style/style.scss index 2b0d2993..b404dc42 100644 --- a/docs/style/style.scss +++ b/docs/style/style.scss @@ -1,4 +1,5 @@ @import "./syntax"; +@import "./badge"; $primary: #C93312; $warning-invert: #FFFFFF; |
