Skip to content

Commit

Permalink
🦐 Fixed smol edits from Jina
Browse files Browse the repository at this point in the history
  • Loading branch information
tatianamac committed Dec 19, 2019
1 parent 4764586 commit eaeaa5e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
content.gsub(%r{^<(h[0-6])(.*?)</\1>}m) do |header_text|
header = Nokogiri::HTML::DocumentFragment.parse(header_text).children.first
id = header.attr(:id)
header.children.before("<a class='anchor' href='##{id}'><span class='visuallyhidden'>#{header.text} permalink</a>") if id
header.children.before("<a class='anchor' href='##{id}'><span class='visuallyhidden'>#{header.text} permalink</span></a>") if id
header.to_html
end
end
1 change: 0 additions & 1 deletion source/assets/css/sass.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
'vendor/normalize',
'vendor/sanitize',
'vendor/html5-boilerplate',
// 'vendor/syntax',
'vendor/syntax-accessible',
'vendor/jquery-ui-custom/jquery-ui',
'vendor/jquery-ui-custom/jquery-ui-structure',
Expand Down
5 changes: 4 additions & 1 deletion source/assets/css/vendor/_syntax-accessible.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Stylesheet pulled from Rogue stylesheet with colours updated for a11y

.highlight table td { padding: 5px; }
.highlight table td { padding: sl-px-to-rem(5px); }
.highlight table pre { margin: 0; }
.highlight .cm {
color: #656556;
Expand Down Expand Up @@ -253,13 +253,16 @@
color: #000000;
font-weight: bold;
}

.highlight .o {
color: #000000;
font-weight: bold;
}

.highlight .w {
color: #bbbbbb;
}

.highlight {
background-color: #f8f8f8;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%div.sl-c-list-navigation-wrapper.sl-c-list-navigation-wrapper--collapsible
.sl-c-list-navigation-wrapper.sl-c-list-navigation-wrapper--collapsible
%h2 Contents

= documentation_toc
2 changes: 1 addition & 1 deletion source/styleguide/components.html.haml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
dh.title: Components
title: Components
---

%h2 Closed
Expand Down

0 comments on commit eaeaa5e

Please sign in to comment.