.rst-content div[class^=highlight], .rst-content pre.literal-block {
 border: 0px;
 overflow-x: auto;
 margin: 1px 0 24px;
 border-radius: 20px;
 background: #ebebf5;
}

<!-- Округляем рамку вокруг примечаний-->

.note {
 border-radius: 20px;
 padding: 20px 30px;
}

.attention {
 border-radius: 20px;
 padding: 20px 30px;
}

.rst-content .note {
 border-radius: 20px;
 padding: 20px 30px;
}

.rst-content .attention {
 border-radius: 20px;
 padding: 20px 30px;
}

<!-- Округляем рамку заголовка примечания -->

.rst-content .admonition-title {
 border-radius: 20px;
 padding: 20px 30px;
 margin: 20px;
}

.admonition-title {
 border-radius: 20px;
 padding: 20px 30px;
 margin: 20px;
}

<!-- Стиль кода в тексте -->

.rst-content code, .rst-content tt, code {
 white-space: nowrap;
 max-width: 100%;
 background: #f7dfdf;
 border: 1px solid #c9c9c9;
 font-size: 80%;
 padding: 1px 10px 4px;
 font-family: monospace;
 color: #333;
 overflow-x: auto;
}

.rst-content code.literal, .rst-content tt.literal {
 color: #a7404d;
 border-radius: 20px;
 background: #eee5e5;
}

<!-- Ссылки -->

a {
 color: #a5608f;
 text-decoration: none;
 cursor: pointer;
}

<!-- Скругляем кнопки навигации -->

.btn-neutral {
 background-color: #f3f6f6!important;
 color: #404040!important;
 border-radius: 20px;
}

<!-- Цвет строк в таблице  -->

.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td, .wy-table-backed, .wy-table-odd td, .wy-table-striped tr:nth-child(2n-1) td {
 background-color: #efe7e7;
}

<!-- Блок навигации (слева вверху)  -->
.wy-side-nav-search {
 display: block;
 width: 300px;
 padding: 0.809em;
 margin-bottom: 0.809em;
 z-index: 200;
 background-color: #5b7383;
 text-align: center;
 color: #fcfcfc;
}

<!-- Ограничиваем ширину таблиц в 100%  -->

.wy-nav-content {
    max-width: 100% ;
}

.wy-table-responsive table td, .wy-table-responsive table th {
    white-space: normal;
}

.wy-table-responsive {
    margin-bottom: 24px;
    max-width: 100%;
    overflow: visible;
}

<!-- картинки -->
.rst-content img{
  max-width: 100%;
  height: auto;
}
  .fast {
    image-rendering: optimizeQuality !important;
  }
