diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2024-04-13 21:45:07 -0600 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2024-04-13 21:45:07 -0600 |
commit | 2aaf958e3ceb7de9dba7894944349438a8162f9c (patch) | |
tree | a4b1d190c2d4f7197d2758f239a276132e584e6c | |
parent | 5841234f682cbc51536d612515521dfacfd7d016 (diff) |
accessibility fixes
-rw-r--r-- | sass/c-hyde.scss | 14 | ||||
-rw-r--r-- | templates/base.html | 2 | ||||
-rw-r--r-- | templates/index.html | 3 |
3 files changed, 12 insertions, 7 deletions
diff --git a/sass/c-hyde.scss b/sass/c-hyde.scss index e955d1e..4a929b3 100644 --- a/sass/c-hyde.scss +++ b/sass/c-hyde.scss @@ -189,7 +189,7 @@ body { /* No `:visited` state is required by default (browsers will use `a`) */ a { color: #268bd2; - text-decoration: none; + text-decoration: underline; } /* `:focus` is linked to `:hover` for basic accessibility */ a:hover, @@ -619,6 +619,10 @@ html { font-size: 3.25rem; } +.sidebar-about a { + text-decoration: none; +} + .sidebar-nav { padding-left: 0; list-style: none; @@ -796,13 +800,13 @@ a.sidebar-nav-item:focus { color: #75b5aa; } -/* Blue */ +/* Blue Original Colour Code: 6a9fb5*/ .theme-base-0d .sidebar { - background-color: #6a9fb5; + background-color: #1a5b74; } .theme-base-0d .content a, .theme-base-0d .related-posts li a:hover { - color: #6a9fb5; + color: #1a5b74; } /* Magenta */ @@ -845,4 +849,4 @@ body { .lead { font-family: "PT Sans",Helvetica,Arial,sans-serif; -}
\ No newline at end of file +} diff --git a/templates/base.html b/templates/base.html index d0361ce..c19bcff 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,7 +4,7 @@ {% block head %} <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="theme-color" content="#6a9fb5"> <title>{% block title %}{% endblock %}</title> diff --git a/templates/index.html b/templates/index.html index cf2ca69..4de6b08 100644 --- a/templates/index.html +++ b/templates/index.html @@ -9,7 +9,7 @@ <h1>Recent Posts</h1> <ul> {% for post in posts[:5] %} - <li><a href="{{post.link}}">{{ post.title }}</a></li> + <li><a href="{{post.link}}">{{ post.title }}</a> <ul> <li>{{ post.description}}</li> <li>Published On: {{post.date}}</li> @@ -18,6 +18,7 @@ <a href='/tags/{{tag}}.html'>{{ tag }}</a>{{ ", " if not loop.last else "" }} {% endfor %} </ul> + </li> {% endfor %} </ul> |