diff --git a/core/fixtures/flatpages.json b/core/fixtures/flatpages.json index a3ab24f..a2b614d 100644 --- a/core/fixtures/flatpages.json +++ b/core/fixtures/flatpages.json @@ -1 +1 @@ -[{"model": "flatpages.flatpage", "pk": 1, "fields": {"url": "/about/terms/", "title": "Terms of Service", "content": "

Here is where you should include your terms of service. This should generally work as follows, according to wikipedia:

\r\n\r\n", "enable_comments": false, "template_name": "", "registration_required": false, "sites": [1]}}, {"model": "flatpages.flatpage", "pk": 2, "fields": {"url": "/about/aup/", "title": "Acceptable Upload Policy", "content": "

Here is where you would set your acceptable upload policy. Consider informing users about:

\r\n", "enable_comments": false, "template_name": "", "registration_required": false, "sites": [1]}}, {"model": "flatpages.flatpage", "pk": 3, "fields": {"url": "/about/help/", "title": "Honeycomb Help", "content": "Help for Honeycomb", "enable_comments": false, "template_name": "", "registration_required": false, "sites": [1]}}, {"model": "flatpages.flatpage", "pk": 4, "fields": {"url": "/about/markdown/", "title": "Markdown help", "content": "Help for markdown", "enable_comments": false, "template_name": "", "registration_required": false, "sites": [1]}}, {"model": "flatpages.flatpage", "pk": 5, "fields": {"url": "/about/credits/", "title": "Credits", "content": "\r\n\r\n

Credit where credit is due! The inspiration for Honeycomb came from a discussion among members of The Furry Writers' Guild on what an ideal writing site should be. It should be:

\r\n\r\n\r\n\r\n

From out of the FWGs discussions came a specification, which was picked up by OpenFurry as a project. The intent was to provide an implementation and website for use by the furry subculture. The project was open-sourced to allow other communities of writers and readers to use it and contribute as well!

\r\n\r\n

Additionally, the following resources contributed to make the Honeycomb project what it is:

\r\n\r\n
\r\n
Django
\r\n
Django is the framework upon which Honeycomb is built
\r\n
Bootstrap
\r\n
Bootstrap provides the stylistic framework for the site
\r\n
Glyphicons
\r\n
The Glyphicons icon font provides most of the icons you see throughout the site
\r\n
django-nose
\r\n
django-nose provides additional testing framework for Honeycomb
\r\n
django-taggit
\r\n
django-taggit provides the mechanism used for tagging submissions
", "enable_comments": false, "template_name": "", "registration_required": false, "sites": [1]}}] \ No newline at end of file +[{"model": "flatpages.flatpage", "pk": 1, "fields": {"url": "/about/terms/", "title": "Terms of Service", "content": "

Here is where you should include your terms of service. This should generally work as follows, according to wikipedia:

\r\n\r\n", "enable_comments": false, "template_name": "", "registration_required": false, "sites": [1]}}, {"model": "flatpages.flatpage", "pk": 2, "fields": {"url": "/about/aup/", "title": "Acceptable Upload Policy", "content": "

Here is where you would set your acceptable upload policy. Consider informing users about:

\r\n", "enable_comments": false, "template_name": "", "registration_required": false, "sites": [1]}}, {"model": "flatpages.flatpage", "pk": 3, "fields": {"url": "/about/help/", "title": "Honeycomb Help", "content": "Help for Honeycomb", "enable_comments": false, "template_name": "", "registration_required": false, "sites": [1]}}, {"model": "flatpages.flatpage", "pk": 4, "fields": {"url": "/about/markdown/", "title": "Markdown help", "content": "Help for markdown", "enable_comments": false, "template_name": "", "registration_required": false, "sites": [1]}}, {"model": "flatpages.flatpage", "pk": 5, "fields": {"url": "/about/credits/", "title": "Credits", "content": "\r\n\r\n

Credit where credit is due! The inspiration for Honeycomb came from a discussion among members of The Furry Writers' Guild on what an ideal writing site should be. It should be:

\r\n\r\n\r\n\r\n

From out of the FWGs discussions came a specification, which was picked up by OpenFurry as a project. The intent was to provide an implementation and website for use by the furry subculture. The project was open-sourced to allow other communities of writers and readers to use it and contribute as well!

\r\n\r\n

Additionally, the following resources contributed to make the Honeycomb project what it is:

\r\n\r\n
\r\n
Django
\r\n
Django is the framework upon which Honeycomb is built
\r\n
Bootstrap
\r\n
Bootstrap provides the stylistic framework for the site
\r\n
Glyphicons
\r\n
The Glyphicons icon font provides most of the icons you see throughout the site
\r\n
django-nose
\r\n
django-nose provides additional testing framework for Honeycomb
\r\n
django-taggit
\r\n
django-taggit provides the mechanism used for tagging submissions
\r\n
Coveralls.io
\r\n
Coveralls ensures that test coverage remains above a certain level. Current coverage of the master branch of Honeycomb is Coverage Status
\r\n
Coveralls.io
\r\n
Travis CI ensures that all tests pass whenever a change is made to the source code of Honeycomb. The current build status of the master branch of Honeycomb is
\r\n
", "enable_comments": false, "template_name": "", "registration_required": false, "sites": [1]}}] \ No newline at end of file diff --git a/core/static/app/base.css b/core/static/app/base.css index 64e5927..8475b6d 100644 --- a/core/static/app/base.css +++ b/core/static/app/base.css @@ -5,6 +5,23 @@ body { /* background: url('lightpaperfibers.png'); */ } +.accessibility-aid { + position: absolute; + width: 1px; + height: 1px; + margin: 0; + overflow: hidden; + clip: rect(1px, 1px, 1px, 1px); +} + +.accessability-aid:focus { + width: auto; + height: auto; + margin: auto; + overflow: visible; + clip: none; +} + .navbar-static-top { margin-bottom: 19px; } @@ -80,3 +97,9 @@ footer img { height: 14px; vertical-align: text-top; } + +@media (max-width: 992px) { + footer div { + text-align: right; + } +} diff --git a/core/static/app/base.js b/core/static/app/base.js index d286f17..1b93b22 100644 --- a/core/static/app/base.js +++ b/core/static/app/base.js @@ -1,3 +1,9 @@ $(function () { $('[data-toggle="tooltip"]').tooltip() + $(document).on("click", ".js-skip-to-content", function() { + return $("#start-of-content") + .next() + .attr("tabindex","-1") + .focus() + }); }) diff --git a/core/templates/base.html b/core/templates/base.html index f04286c..eb51729 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -132,7 +132,8 @@ -
+ Skip to content +
{% if title or flatpage.title %}