diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2018-03-25 12:12:00 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2018-03-25 13:42:55 +0200 |
commit | f6699792da82c00de4cdcc1e413bd65caad9d3c3 (patch) | |
tree | 154b5e3de371995b2dea3281678edf71f7f9e07f /docs/style | |
parent | 0e62e386c0ede3f9d0ca7a82681e69977c0b59e6 (diff) | |
download | mitmproxy-f6699792da82c00de4cdcc1e413bd65caad9d3c3.tar.gz mitmproxy-f6699792da82c00de4cdcc1e413bd65caad9d3c3.tar.bz2 mitmproxy-f6699792da82c00de4cdcc1e413bd65caad9d3c3.zip |
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; |