From 3093269296e267427debd31e180ac29fcab349df Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Mon, 22 Nov 2021 14:21:29 +0100 Subject: Make examples buildable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Change-Id: Ifd616b797d5a48da5df77b0dfaa0613497b742d8 --- examples/sphinx/istanbul/_static/css/ribbon.css | 63 +++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 examples/sphinx/istanbul/_static/css/ribbon.css (limited to 'examples/sphinx/istanbul/_static/css/ribbon.css') diff --git a/examples/sphinx/istanbul/_static/css/ribbon.css b/examples/sphinx/istanbul/_static/css/ribbon.css new file mode 100644 index 000000000..6008cb1a0 --- /dev/null +++ b/examples/sphinx/istanbul/_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; +} -- cgit 1.2.3-korg