summaryrefslogtreecommitdiffstats
path: root/examples/sphinx/release/_static/css/ribbon.css
diff options
context:
space:
mode:
authorthmsdt <thomas.kulik@telekom.de>2022-08-16 13:10:56 +0200
committerthmsdt <thomas.kulik@telekom.de>2022-08-16 13:12:20 +0200
commit7e0db8a223e9d7a693c7120a5beb91df40fef82f (patch)
treeef5888d5f390d70d2332e0bdad9c1e2fad3e67b6 /examples/sphinx/release/_static/css/ribbon.css
parent65bec69096b0a2ef18cd72d87b89757da4ae1906 (diff)
update sphinx example config files
Issue-ID: DOC-798 Signed-off-by: thmsdt <thomas.kulik@telekom.de> Change-Id: I74a213993ada2b3697b58270c30c61326b151f7b
Diffstat (limited to 'examples/sphinx/release/_static/css/ribbon.css')
-rw-r--r--examples/sphinx/release/_static/css/ribbon.css63
1 files changed, 63 insertions, 0 deletions
diff --git a/examples/sphinx/release/_static/css/ribbon.css b/examples/sphinx/release/_static/css/ribbon.css
new file mode 100644
index 000000000..d03a26b20
--- /dev/null
+++ b/examples/sphinx/release/_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: 800px;
+ } \ No newline at end of file