Skip to content
Closed
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
12 changes: 6 additions & 6 deletions docs/frontend/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
--body-background: #f2f2f2;
--body-color: #444;
--heading-color: black;
--action-color: #d64045;
--action-color: #931a1e;
}

body {
Expand All @@ -19,7 +19,6 @@ body {
a {
color: var(--action-color);
text-decoration: underline;
text-decoration-color: #ffb088;
}

h1 {
Expand All @@ -36,10 +35,11 @@ body > header {
text-align: center;
}

body > header img {
display: inline-block;
width: 400px;
max-width: 100%;
body > header .site-title {
font-size: 2rem;
font-weight: bold;
text-decoration: none;
color: var(--heading-color);
}

body > nav ul {
Expand Down
68 changes: 34 additions & 34 deletions docs/frontend/styles/syntax-highlighting.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,63 +15,63 @@ pre.highlight {
}

.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #999988; font-style: italic } /* Comment */
.highlight .c { color: #646457; font-style: italic } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #000000; font-weight: bold } /* Keyword */
.highlight .o { color: #000000; font-weight: bold } /* Operator */
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
.highlight .cm { color: #646457; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #646464; font-weight: bold; font-style: italic } /* Comment.Preproc */
.highlight .c1 { color: #646457; font-style: italic } /* Comment.Single */
.highlight .cs { color: #646464; font-weight: bold; font-style: italic } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #999999 } /* Generic.Heading */
.highlight .gh { color: #646464 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .go { color: #5a5a5a } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
.highlight .gu { color: #646464 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #000000; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
.highlight .kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #009999 } /* Literal.Number */
.highlight .s { color: #d01040 } /* Literal.String */
.highlight .na { color: #008080 } /* Name.Attribute */
.highlight .nb { color: #0086B3 } /* Name.Builtin */
.highlight .m { color: #0a6e6e } /* Literal.Number */
.highlight .s { color: #a01030 } /* Literal.String */
.highlight .na { color: #0a5e5e } /* Name.Attribute */
.highlight .nb { color: #005880 } /* Name.Builtin */
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
.highlight .no { color: #008080 } /* Name.Constant */
.highlight .no { color: #0a5e5e } /* Name.Constant */
.highlight .nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
.highlight .ni { color: #800080 } /* Name.Entity */
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
.highlight .nl { color: #990000; font-weight: bold } /* Name.Label */
.highlight .nn { color: #555555 } /* Name.Namespace */
.highlight .nt { color: #000080 } /* Name.Tag */
.highlight .nv { color: #008080 } /* Name.Variable */
.highlight .nv { color: #0a5e5e } /* Name.Variable */
.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mf { color: #009999 } /* Literal.Number.Float */
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
.highlight .sb { color: #d01040 } /* Literal.String.Backtick */
.highlight .sc { color: #d01040 } /* Literal.String.Char */
.highlight .sd { color: #d01040 } /* Literal.String.Doc */
.highlight .s2 { color: #d01040 } /* Literal.String.Double */
.highlight .se { color: #d01040 } /* Literal.String.Escape */
.highlight .sh { color: #d01040 } /* Literal.String.Heredoc */
.highlight .si { color: #d01040 } /* Literal.String.Interpol */
.highlight .sx { color: #d01040 } /* Literal.String.Other */
.highlight .sr { color: #009926 } /* Literal.String.Regex */
.highlight .s1 { color: #d01040 } /* Literal.String.Single */
.highlight .w { color: #777777 } /* Text.Whitespace */
.highlight .mf { color: #0a6e6e } /* Literal.Number.Float */
.highlight .mh { color: #0a6e6e } /* Literal.Number.Hex */
.highlight .mi { color: #0a6e6e } /* Literal.Number.Integer */
.highlight .mo { color: #0a6e6e } /* Literal.Number.Oct */
.highlight .sb { color: #a01030 } /* Literal.String.Backtick */
.highlight .sc { color: #a01030 } /* Literal.String.Char */
.highlight .sd { color: #a01030 } /* Literal.String.Doc */
.highlight .s2 { color: #a01030 } /* Literal.String.Double */
.highlight .se { color: #a01030 } /* Literal.String.Escape */
.highlight .sh { color: #a01030 } /* Literal.String.Heredoc */
.highlight .si { color: #a01030 } /* Literal.String.Interpol */
.highlight .sx { color: #a01030 } /* Literal.String.Other */
.highlight .sr { color: #0a7a25 } /* Literal.String.Regex */
.highlight .s1 { color: #a01030 } /* Literal.String.Single */
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #008080 } /* Name.Variable.Class */
.highlight .vg { color: #008080 } /* Name.Variable.Global */
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
.highlight .bp { color: #646464 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #0a5e5e } /* Name.Variable.Class */
.highlight .vg { color: #0a5e5e } /* Name.Variable.Global */
.highlight .vi { color: #0a5e5e } /* Name.Variable.Instance */
.highlight .il { color: #0a6e6e } /* Literal.Number.Integer.Long */
7 changes: 3 additions & 4 deletions docs/src/_components/shared/navbar.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<header>
<img src="<%= relative_url '/images/logo.svg' %>" alt="Logo" />
<a href="<%= relative_url '/' %>" class="site-title">a11y-lint</a>
</header>

<nav>
<ul>
<li><a href="<%= relative_url '/' %>">Home</a></li>
<li><a href="<%= relative_url '/about' %>">About</a></li>
<li><a href="<%= relative_url '/posts' %>">Posts</a></li>
<li><a href="<%= relative_url '/rules/images-need-alt-text/' %>">Rules</a></li>
<li><a href="https://github.com/Guided-Rails/a11y-lint">GitHub</a></li>
</ul>
</nav>
14 changes: 4 additions & 10 deletions docs/src/_data/site_metadata.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.metadata.title }}, {{ site.metadata.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.metadata.myvariable }}.

title: Your awesome title
tagline: This site is totally awesome
email: your-email@example.com
title: a11y-lint
tagline: Accessibility linting for Rails templates
description: >-
Write an awesome description for your new site here. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
a11y-lint is a Ruby gem that lints Rails view code — Slim, ERB, and Phlex — for accessibility mistakes. It runs against your template source, in CI, before any HTML reaches a user.
github: https://github.com/Guided-Rails/a11y-lint
2 changes: 1 addition & 1 deletion docs/src/_partials/_footer.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<footer>
Contact me at <a href="mailto:<%= metadata.email %>"><%= metadata.email %></a>
<a href="<%= metadata.github %>"><%= metadata.title %> on GitHub</a>
</footer>
10 changes: 0 additions & 10 deletions docs/src/about.md

This file was deleted.

91 changes: 0 additions & 91 deletions docs/src/images/logo.svg

This file was deleted.

Loading
Loading