Skip to content

Introduce jekyll-toc #15

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

Merged
merged 10 commits into from
Apr 15, 2019
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
toc styling
  • Loading branch information
toshimaru committed Apr 15, 2019
commit bc7ec22d9fbf7702e7cceec56ff4277a9f8db928
11 changes: 10 additions & 1 deletion src/_sass/railsdoc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,21 @@ code {
}

.section-nav {
padding-left: 0;
padding-left: 1rem;
border-left: 1px solid #eee;

ul {
padding-left: 1rem;
}

a {
color: rgba(0, 0, 0, .8);

&:hover {
color: $dark-red;
text-decoration: none;
}
}
}

.toc-entry {
Expand Down