Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unbold a tags in #docsContent #1730

Merged
merged 2 commits into from
Nov 18, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions _layouts/docwithnav.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h5>{{ site.data[foundTOC].abstract }}</h5>
ga('create', 'UA-36037335-10', 'auto');
ga('send', 'pageview');

// hide docs nav area if no nav is present
// hide docs nav area if no nav is present, or if nav only contains a link to the current page
(function () {
window.addEventListener('DOMContentLoaded', init)

Expand All @@ -97,7 +97,8 @@ <h5>{{ site.data[foundTOC].abstract }}</h5>

// container is built dynamically, so it may not be present on the first runloop
if (container) {
if (container.childElementCount === 0) {
if (container.childElementCount === 0 || toc.querySelectorAll('a.item').length === 1) {
toc.style.display = 'none'
document.getElementById('docsContent').style.width = '100%'
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion _sass/_base.sass
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ dd
max-width: 100%

a
font-weight: 700
//font-weight: 700
text-decoration: underline

a:visited
Expand Down