diff --git a/_data/rules.yml b/_data/rules.yml index 2ed1838..83f7b24 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -808,7 +808,7 @@ groups: severity: warning for: 2m - - name: RabbitMQ (official exporter) + - name: RabbitMQ exporters: - name: rabbitmq/rabbitmq-prometheus doc_url: https://github.com/rabbitmq/rabbitmq-prometheus diff --git a/_layouts/default.html b/_layouts/default.html index 0b254fc..e664522 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -13,6 +13,7 @@ + diff --git a/assets/css/app.css b/assets/css/app.css index 3b258e8..0fc37ae 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -1,4 +1,3 @@ - a.anchor { font-size: 15px; vertical-align: middle; @@ -9,6 +8,7 @@ a.anchor { opacity: 0; transition: opacity 0.4s; } + h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor { @@ -35,3 +35,76 @@ h2 { font-size: 14px; color: #606c71; } + +/* NAVBAR */ +#rules-navbar.affix { + /* showed by JS */ + display: none; + + position: fixed; + overflow: auto; + top: 0; + right: 0; + max-width: 250px; + max-height: 100%; + padding-top: 20px; + padding-bottom: 20px; + padding-left: 20px; + padding-right: 10px; + + background-color: #f3f6fa; +} + +/* hide menu on small screens */ +@media screen and (max-width: 1350px) { + #rules-navbar.affix { + display: none !important; + } +} + +/* hide menu scrollbar */ +#rules-navbar.affix::-webkit-scrollbar { + display: none; +} + +#rules-navbar.affix { + -ms-overflow-style: none; + /* IE and Edge */ + scrollbar-width: none; + /* Firefox */ +} + +#rules-navbar.affix h3 { + margin-bottom: 10px; +} + +#rules-navbar.affix h4 { + margin: 0; + font-weight: bold; + font-size: 14px; + line-height: 14px; +} + +#rules-navbar.affix ul, +#rules-navbar.affix ul li { + margin: 0; + padding-top: 0; + padding-bottom: 0; + line-height: normal; +} + +#rules-navbar.affix>ul { + padding-left: 0; + padding-right: 0; +} + +#rules-navbar.affix>ul>li { + margin-bottom: 10px; + padding-left: 0; + padding-right: 0; +} + +#rules-navbar.affix a { + font-size: 14px; + line-height: 14px; +} \ No newline at end of file diff --git a/index.md b/index.md index 4b9f137..51bf367 100644 --- a/index.md +++ b/index.md @@ -25,26 +25,26 @@ \ No newline at end of file diff --git a/rules.md b/rules.md index 1708664..de35f5b 100644 --- a/rules.md +++ b/rules.md @@ -4,6 +4,7 @@ } +

⚠️ Caution ⚠️

@@ -21,6 +22,7 @@

+ + + + + +
+

Menu

+ + + +