diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2021-11-22 14:21:29 +0100 |
---|---|---|
committer | thmsdt <thomas.kulik@telekom.de> | 2021-11-30 15:08:21 +0100 |
commit | 3093269296e267427debd31e180ac29fcab349df (patch) | |
tree | 6e7fdf81aa384b9303dc2603e8b3420c969abc7f /examples/sphinx/master/_static | |
parent | d6b7f66b0d3cbc4e7c92a85837a8e74906c08434 (diff) |
Make examples buildable
It now excludes .tox from conf.py.
It locally clones docutils cheatsheet as examples (it should be noted
that cheatsheet.txt is renamed index.rst in it).
[1] https://docutils.sourceforge.io/docs/user/rst/cheatsheet.txt
Issue-ID: DOC-772
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Ifd616b797d5a48da5df77b0dfaa0613497b742d8
Diffstat (limited to 'examples/sphinx/master/_static')
-rw-r--r-- | examples/sphinx/master/_static/css/ribbon.css | 63 | ||||
-rwxr-xr-x | examples/sphinx/master/_static/favicon.ico | bin | 0 -> 2102 bytes | |||
-rw-r--r-- | examples/sphinx/master/_static/logo_onap_2017.png | bin | 0 -> 12278 bytes |
3 files changed, 63 insertions, 0 deletions
diff --git a/examples/sphinx/master/_static/css/ribbon.css b/examples/sphinx/master/_static/css/ribbon.css new file mode 100644 index 000000000..6008cb1a0 --- /dev/null +++ b/examples/sphinx/master/_static/css/ribbon.css @@ -0,0 +1,63 @@ +.ribbon { + z-index: 1000; + background-color: #a00; + overflow: hidden; + white-space: nowrap; + position: fixed; + top: 25px; + right: -50px; + -webkit-transform: rotate(45deg); + -moz-transform: rotate(45deg); + -ms-transform: rotate(45deg); + -o-transform: rotate(45deg); + transform: rotate(45deg); + -webkit-box-shadow: 0 0 10px #888; + -moz-box-shadow: 0 0 10px #888; + box-shadow: 0 0 10px #888; + +} + +.ribbon a { + border: 1px solid #faa; + color: #fff; + display: block; + font: bold 81.25% 'Helvetica Neue', Helvetica, Arial, sans-serif; + margin: 1px 0; + padding: 10px 50px; + text-align: center; + text-decoration: none; + text-shadow: 0 0 5px #444; + transition: 0.5s; +} + +.ribbon a:hover { + background: #c11; + color: #fff; +} + + +/* override table width restrictions */ +@media screen and (min-width: 767px) { + + .wy-table-responsive table td, .wy-table-responsive table th { + /* !important prevents the common CSS stylesheets from overriding + this as on RTD they are loaded after this stylesheet */ + white-space: normal !important; + } + + .wy-table-responsive { + overflow: visible !important; + } +} + +@media screen and (max-width: 767px) { + .wy-table-responsive table td { + white-space: nowrap; + } +} + +/* fix width of the screen */ + +.wy-nav-content { + max-width: none; +} diff --git a/examples/sphinx/master/_static/favicon.ico b/examples/sphinx/master/_static/favicon.ico Binary files differnew file mode 100755 index 000000000..cb712ebd2 --- /dev/null +++ b/examples/sphinx/master/_static/favicon.ico diff --git a/examples/sphinx/master/_static/logo_onap_2017.png b/examples/sphinx/master/_static/logo_onap_2017.png Binary files differnew file mode 100644 index 000000000..5d064f431 --- /dev/null +++ b/examples/sphinx/master/_static/logo_onap_2017.png |