Skip to content

Commit

Permalink
Improvements from HD-20808
Browse files Browse the repository at this point in the history
  • Loading branch information
santachago committed Jul 26, 2023
1 parent 9c256e0 commit 260a062
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
7 changes: 7 additions & 0 deletions docs/css/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@media print {
/* Adjusts positioning of admonition icon */
.md-typeset :is(.admonition-title,summary):before {
top: 0.6rem;
left: 0.6rem;
}
}
10 changes: 9 additions & 1 deletion docs/css/percona.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,16 @@ line-height: 1.4;
margin: 1em 0 .54em;
}

article table {
page-break-before: auto !important;
page-break-inside: auto !important;
}

article ol {
page-break-before: auto !important;
page-break-inside: auto !important;
}

/*.git-revision-date-localized-plugin:before {
content: url('https://api.iconify.design/mdi/clock-edit-outline.svg');
}*/
}*/
5 changes: 2 additions & 3 deletions mkdocs-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ theme:
name: material
logo: _images/percona-logo.svg
favicon: _images/percona-favicon.ico
custom_dir: overrides
font:
text: Poppins
palette:
Expand Down Expand Up @@ -49,7 +48,8 @@ extra_css:
- https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css
- css/percona.css
- css/lightgallery.min.css
- css/nocopy.css
- css/nocopy.css\
- css/extra.css

extra_javascript:
# - js/lightgallery.min.js
Expand Down Expand Up @@ -79,7 +79,6 @@ markdown_extensions:

plugins:
search: {}
section-index: {}
search:
separator: '[\s\-,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
git-revision-date: {}
Expand Down
6 changes: 6 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ extra:
analytics:
provider: google
property: UA-343802-3


plugins:
section-index: {}


0 comments on commit 260a062

Please sign in to comment.