aboutsummaryrefslogtreecommitdiffstats
path: root/docs/style/badge.scss
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2018-03-25 12:12:00 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2018-03-25 13:42:55 +0200
commitf6699792da82c00de4cdcc1e413bd65caad9d3c3 (patch)
tree154b5e3de371995b2dea3281678edf71f7f9e07f /docs/style/badge.scss
parent0e62e386c0ede3f9d0ca7a82681e69977c0b59e6 (diff)
downloadmitmproxy-f6699792da82c00de4cdcc1e413bd65caad9d3c3.tar.gz
mitmproxy-f6699792da82c00de4cdcc1e413bd65caad9d3c3.tar.bz2
mitmproxy-f6699792da82c00de4cdcc1e413bd65caad9d3c3.zip
docs: add auto-generated options reference
Diffstat (limited to 'docs/style/badge.scss')
-rw-r--r--docs/style/badge.scss18
1 files changed, 18 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;
+ }
+}