From 546db2eed81b83b4c1ca18276066cefbb0995b62 Mon Sep 17 00:00:00 2001 From: thmsdt Date: Thu, 3 Nov 2022 10:09:12 +0100 Subject: [PATCH] fix ribbon.css Issue-ID: DOC-798 Signed-off-by: thmsdt Change-Id: I0dddd2942d50a349791ec719b8758a91eaf06e53 --- docs/_static/css/ribbon.css | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/docs/_static/css/ribbon.css b/docs/_static/css/ribbon.css index 89adc647..afb9480d 100644 --- a/docs/_static/css/ribbon.css +++ b/docs/_static/css/ribbon.css @@ -7,13 +7,14 @@ top: 25px; right: -50px; -webkit-transform: rotate(45deg); - -moz-transform: rotate(45deg); - -ms-transform: rotate(45deg); - -o-transform: rotate(45deg); - 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; + -moz-box-shadow: 0 0 10px #888; + box-shadow: 0 0 10px #888; + } .ribbon a { @@ -34,28 +35,29 @@ 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; - } + + .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; - } + .wy-table-responsive table td { + white-space: nowrap; + } } /* fix width of the screen */ .wy-nav-content { - max-width: none; + max-width: 800px; } -- 2.16.6