From 449c8be406c77e3a6e5b0f5975e1f1a1c1bbd578 Mon Sep 17 00:00:00 2001 From: Jessica Wagantall Date: Thu, 6 Feb 2020 13:25:49 -0800 Subject: Add ccsdk-oran docs configuration Example of how this changeset was created. includes link to documentation: https://gist.github.com/Aricg/bf95ef40c542ba211be8771e88e6f410 Merging this will create https://onap-ccsdk-oran.readthedocs.io Issue-ID: CIMAN-364 Signed-off-by: Jessica Wagantall Change-Id: I509302cf10fd03d5be93d3f1a8dd5609602bc76b Signed-off-by: Jessica Wagantall --- docs/_static/css/ribbon.css | 63 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 docs/_static/css/ribbon.css (limited to 'docs/_static') diff --git a/docs/_static/css/ribbon.css b/docs/_static/css/ribbon.css new file mode 100644 index 00000000..6008cb1a --- /dev/null +++ b/docs/_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