summaryrefslogtreecommitdiffstats
path: root/docs/_static/css/ribbon.css
diff options
context:
space:
mode:
authorEric Debeau <eric.debeau@orange.com>2020-08-18 10:35:28 +0200
committerEric Debeau <eric.debeau@orange.com>2020-08-18 10:42:50 +0200
commit1d40bf6051f1001212f51109a7cc4ad46bbbb9fa (patch)
tree48bf750ab067817ec84843bf0cf4a38e1e2a3bcd /docs/_static/css/ribbon.css
parenta242769ab10a570c7452023dcaa59d8ecefccc49 (diff)
Correct documentation issues for Policy project
Add _static repo with css file, onap logo and favicon Correct bad link Issue-ID: DOC-622 Signed-off-by: Eric Debeau <eric.debeau@orange.com> Change-Id: I8963dc35059fbe0c746cfe1bfd3463153b1e2279
Diffstat (limited to 'docs/_static/css/ribbon.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 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;
+}