summaryrefslogtreecommitdiff
path: root/docs/_static
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2020-01-04 12:54:56 +0100
committerRobert Göhler <github@ghlr.de>2020-01-04 12:54:56 +0100
commita4fbdcf4b01c8a1806576bcd62a6f166b5645dc6 (patch)
treefae4ca09d51149d4333852aa1d8edca040ab6b3f /docs/_static
parent57913db57a4172988eb02c8d75062d36cdb6aa81 (diff)
parentd2159df64738df01474b248f572c23b735d9ed0e (diff)
downloadvyos-documentation-a4fbdcf4b01c8a1806576bcd62a6f166b5645dc6.tar.gz
vyos-documentation-a4fbdcf4b01c8a1806576bcd62a6f166b5645dc6.zip
Merge branch 'newdirectives'
Diffstat (limited to 'docs/_static')
-rw-r--r--docs/_static/css/custom.css54
1 files changed, 54 insertions, 0 deletions
diff --git a/docs/_static/css/custom.css b/docs/_static/css/custom.css
index a8b94c6e..a1e34259 100644
--- a/docs/_static/css/custom.css
+++ b/docs/_static/css/custom.css
@@ -1,3 +1,57 @@
+span.opcmd,
+span.cfgcmd {
+ font-weight: bold;
+ background-color: transparent;
+ border: none;
+ padding: 0;
+ font-size: 100% !important;
+ max-width: 100%;
+ color: #000;
+ font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;
+}
+
+.opcmd-heading,
+.cfgcmd-heading {
+ display: inline-block;
+ margin: 6px 0;
+ font-size: 90%;
+ line-height: normal;
+ background: #e7f2fa;
+ color: #2980B9;
+ border-top: solid 3px #6ab0de;
+ border-top-width: 3px;
+ border-top-style: solid;
+ border-top-color: rgb(106, 176, 222);
+ padding: 6px;
+}
+
+.opcmd-body,
+.cfgcmd-body {
+ margin: 6px 0;
+ padding-left: 12px;
+}
+
+
+
+.cfgcmd-heading .cmdlink:after,
+.opcmd-heading .cmdlink:after {
+ content: "";
+ font-family: FontAwesome
+}
+
+
+.cfgcmd-heading:not(:hover) .cmdlink,
+.opcmd-heading:not(:hover) .cmdlink {
+ display: none;
+}
+
+
+
+a.cmdlink {
+ font-size: 80%;
+ margin-left: 6px;
+}
+
.wy-nav-content {
max-width : none;
}