Skip to content

Commit

Permalink
Merge pull request #7 from radinamatic/dev-docs-styling
Browse files Browse the repository at this point in the history
  • Loading branch information
jonboiser authored Apr 13, 2021
2 parents 7b15632 + 6def4da commit fdfa667
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 30 deletions.
72 changes: 44 additions & 28 deletions docs/_static/theme_overrides.css
Original file line number Diff line number Diff line change
@@ -1,35 +1,51 @@

.wy-table-responsive table td {
/* !important prevents the common CSS stylesheets from overriding
this as on RTD they are loaded after this stylesheet */
white-space: normal !important;
vertical-align: top !important;
}
.wy-table-responsive table td {
/* !important prevents the common CSS stylesheets from overriding
this as on RTD they are loaded after this stylesheet */
white-space: normal !important;
vertical-align: top !important;
}

.rst-content .section ol p, .rst-content .section ul p {
margin-bottom: 0px;
}
.wy-plain-list-disc li p:last-child,
.rst-content .section ul li p:last-child,
.rst-content .toctree-wrapper ul li p:last-child,
article ul li p:last-child {
margin-bottom: 8px;
}
.wy-plain-list-disc li ul,
.rst-content .section ul li ul,
.rst-content .toctree-wrapper ul li ul,
article ul li ul {
margin-bottom: 8px;
}

.rst-content #contents.hidden-first-item > ul:nth-of-type(1) {
margin-left: 0;
padding-left: 0;
}
.rst-content #contents.hidden-first-item > ul:nth-of-type(1) > li {
list-style: none;
margin-left: 0;
padding-left: 0;
}
.rst-content #contents.hidden-first-item > ul:nth-of-type(1) > li > p {
display: none;
}
.rst-content #contents.hidden-first-item ul li li {
list-style: disc;
}
.rst-content #contents.hidden-first-item ul li li li {
list-style: circle;
}
/*.rst-content .section ul li p:last-child, {
margin-bottom: 0;
}
.rst-content .section ol p, .rst-content .section ul p {
margin-bottom: 0px;
}
.rst-content #contents.hidden-first-item > ul:nth-of-type(1) > li {
list-style: none;
margin-left: 0;
padding-left: 0;
}
.rst-content #contents.hidden-first-item > ul:nth-of-type(1) > li > p {
display: none;
}
.rst-content #contents.hidden-first-item > ul:nth-of-type(1) {
margin-left: 0;
padding-left: 0;
}
.rst-content #contents.hidden-first-item ul li li {
list-style: disc;
}
.rst-content #contents.hidden-first-item ul li li li {
list-style: circle;
}*/

/* push down the RTD banner so it's not confused with menu */
.keep-us-sustainable {
margin-top: 20em !important;
}
}
3 changes: 1 addition & 2 deletions kolibri/core/assets/src/views/UpdateNotification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@
upgradeMessageImportant:
'We have released an important update with fixes to this version of Kolibri.',
// TODO(i18n): Write a final version of this copy
upgradeMessage_0_15_0:
'Kolibri version 0.15.0 is available! It has a lot of new features!',
upgradeMessage_0_15_0: 'Kolibri version 0.15.0 is available! It has a lot of new features!',
upgradeDownload: 'Download it here',
upgradeLearnAndDownload: 'Learn more and download it here',
/* eslint-enable kolibri/vue-no-unused-translations */
Expand Down

0 comments on commit fdfa667

Please sign in to comment.