summaryrefslogtreecommitdiffstats
path: root/docs/_static/css
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2020-02-06 14:23:35 -0500
committerAric Gardner <agardner@linuxfoundation.org>2020-04-06 17:39:57 +0000
commit2ffd40cf69006a1346dd63f2f7ae11837ffd27cc (patch)
treeb6c58c5bfcbd8efa70562598d1999637b7336108 /docs/_static/css
parenteac8c88714237aed5446f1def9a1ca0412c80329 (diff)
fix osa docs with new docs
example of how this changeset was created. includes link to documentation: https://gist.github.com/Aricg/bf95ef40c542ba211be8771e88e6f410 merging this will create https://onap-osa.readthedocs.io This build will run in parralelle to the current docs generation method untill we are ready to cut over. Issue-ID: CIMAN-33 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org> Change-Id: I4a477027bcc858c799228f77c9a37b55c0659fd9
Diffstat (limited to 'docs/_static/css')
-rw-r--r--docs/_static/css/ribbon.css63
1 files changed, 63 insertions, 0 deletions
diff --git a/docs/_static/css/ribbon.css b/docs/_static/css/ribbon.css
new file mode 100644
index 0000000..6008cb1
--- /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;
+}