Left aligned nav bar pages layout (#6992)

* footer test

* page url

* page url

* page url

* page url

* page url

* page url

* page url

* layout left

* layout left

* shift nav left

* left layout
This commit is contained in:
Elena Neroslavskaya 2021-03-12 18:15:12 -05:00 committed by GitHub
parent 8ea0c642bb
commit 361c99b387
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 0 deletions

View file

@ -25,3 +25,10 @@ aux_links:
"GitHub":
- "https://github.com/microsoft/onnxruntime"
ga_tracking: UA-156955408-1
# Footer "Edit this page on GitHub" link text
gh_edit_link: true # show or hide edit this page link
gh_edit_link_text: "Edit this page on GitHub"
gh_edit_repository: "https://github.com/microsoft/onnxruntime" # the github URL for your repo
gh_edit_branch: "gh-pages" # the branch that your docs is served from
# gh_edit_source: docs # the source that your files originate from
gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately

View file

@ -0,0 +1,3 @@
{%- assign url = page.url -%}
<p class="text-small text-grey-dk-100 mb-0">For documentation questions, please <a href="https://github.com/microsoft/onnxruntime/issues/new?labels=component:documentation&title=[Documentation%20Request]&body=%5BEnter%20feedback%20here%5D%0A%0A---%0A%23%23%23%23%20Document%20Details%0A*%20Title%3A%20{{ page.title | url_encode }}%0A*%20Page%3A%20%5B{{ url | absolute_url | url_encode }}%5D({{ url | absolute_url | url_encode }})%0A*%20Page%20Source%3A%20{{ page.name | url_encode }}" target="_blank">file an issue</a></p>

17
_sass/custom/custom.scss Normal file
View file

@ -0,0 +1,17 @@
.site-nav, .site-header, .site-footer {
width: 100%;
}
.side-bar {
@include mq(lg) {
width: $nav-width;
}
}
.main {
@include mq(lg) {
margin-left: $nav-width;
}
}