diff options
| author | Robert Göhler <github@ghlr.de> | 2020-06-30 22:04:43 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-30 22:04:43 +0200 | 
| commit | 53c407cde38d29ebfe2f6cf0d79cc59d8800418f (patch) | |
| tree | 21f80ccd56bcac538bc75edb04f6d67f8547d92f /docs/_static/css/custom.css | |
| parent | 4e8c17bf5891ad565ce94edf4e4a8bf339a7b532 (diff) | |
| parent | 5cd60bf0283519100e3dc3f2194ea087b67a14cd (diff) | |
| download | vyos-documentation-53c407cde38d29ebfe2f6cf0d79cc59d8800418f.tar.gz vyos-documentation-53c407cde38d29ebfe2f6cf0d79cc59d8800418f.zip  | |
Merge pull request #275 from rebortg/cfgcmd_crux
Sphinx: backport cfgcmd and opcmd directives to crux
Diffstat (limited to 'docs/_static/css/custom.css')
| -rw-r--r-- | docs/_static/css/custom.css | 61 | 
1 files changed, 61 insertions, 0 deletions
diff --git a/docs/_static/css/custom.css b/docs/_static/css/custom.css index a8b94c6e..7faf7b7f 100644 --- a/docs/_static/css/custom.css +++ b/docs/_static/css/custom.css @@ -1,3 +1,64 @@ +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; +} + +a.cmdlink span{ +    color: #2980B9; +} + +a.cmdlink span:hover{ +    color: #3091d1; +} +  .wy-nav-content {    max-width : none;  }  | 
