Skip to content

Syntax Highlight with dark theme #31

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 6 commits into from
Oct 1, 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
Remove code block since hljs does same
  • Loading branch information
toshimaru committed Oct 1, 2019
commit 27f576130173a586b4f37bc905ed99c16941ed4b
56 changes: 0 additions & 56 deletions src/_sass/railsdoc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -219,62 +219,6 @@ code {
box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

// Code Block
.dyn-source {
background-color: #f7f7f9;
margin: 0.5em 0;
padding: .5em 1em;
}

.dyn-source .cmt {
color: #00F;
font-style: italic;
}

.dyn-source .kw {
color: #070;
font-weight: bold;
}

.ruby-constant {
color: teal;
}
.ruby-keyword {
color: #000;
font-weight: bold
}
.ruby-title {
color: #900;
font-weight: bold;
}
.ruby-ivar {
color: teal;
}
.ruby-operator {
color: #000;
font-weight: bold
}
.ruby-identifier {
color: #000;
}
.ruby-string,
.ruby-node {
color: #D14;
}
.ruby-comment {
color: #998;
font-style: italic;
}
.ruby-regexp {
color: #009926;
}
.ruby-value {
color: #990073;
}
.ruby-number {
color: #40A070;
}

.anchorjs-link {
color: #AAAAAA;

Expand Down