Skip to content

Commit

Permalink
gh-pages: update static page accessibility (#3684)
Browse files Browse the repository at this point in the history
  • Loading branch information
crhallberg authored May 22, 2024
1 parent 6fc8d4b commit ab39b32
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 12 deletions.
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</head>
<body>
<div class="header">
<a href="{{ site.baseurl }}/" class="logo"><img src="{{ site.baseurl }}/assets/images/vf-beta.png"/></a>
<a href="{{ site.baseurl }}/" class="logo"><img src="{{ site.baseurl }}/assets/images/vf-beta.png" alt="Home"/></a>
<br class="visible-xs visible-sm"/>
<!--<a href="{{ site.baseurl }}/ddoc.html">Design Doc</a>-->
<a href="{{ site.baseurl }}/about.html">About</a>
Expand Down
2 changes: 1 addition & 1 deletion about.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
---
<div class="row">
<div class="col-sm-6 prose">
<h2>About VuFind®</h2>
<h1>About VuFind®</h1>

<p>
VuFind® is a discovery system designed and developed for libraries by libraries. It is also flexible enough
Expand Down
34 changes: 26 additions & 8 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,22 @@

// Styles

html {
font-size: 16px;
}

body {
background: $lgrey;
font:
16px "Roboto",
Arial;
font-family: "Roboto", Arial;
font-size: 1rem;
line-height: 1.5;
}

a {
color: inherit;
text-decoration: underline;
text-decoration-thickness: max(0.08em, 1px);
text-underline-offset: 0.15em;
}

h1,
Expand Down Expand Up @@ -112,6 +123,7 @@ iframe {
padding: 29px 10px;
font-size: 17px;
font-family: "Questrial";
color: black;
text-decoration: none;
vertical-align: top;

Expand All @@ -134,12 +146,18 @@ iframe {
@extend .blue;
padding: 16px 6px;

.container {
width: 100%;
max-width: 1170px;
padding-inline: 1rem;
}

a {
color: lighten($blue, 42%);
text-decoration: underline;
font-weight: 500;
text-decoration-thickness: max(0.08em, 2px);

&:hover {
color: #fff;
color: $green;
}
}

Expand Down Expand Up @@ -219,8 +237,8 @@ iframe {
}

.content {
padding: 20px;
color: #fff;
padding: 1rem;
color: white;
}

.footer {
Expand Down
2 changes: 1 addition & 1 deletion downloads.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: default
---
<h2>Downloads</h2>
<h1>Downloads</h1>

The following links will allow you to download the latest release. Most users will want the .tar.gz file, but Debian Linux users (including Ubuntu users) may find the .deb package more convenient.

Expand Down
3 changes: 2 additions & 1 deletion features.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
layout: default
---
<h2>Features</h2>
<h1>Features</h1>

<div class="video">
<iframe width="560" height="315" src="https://www.youtube.com/embed/6Nf6sDSlQqg?si=p00c27j_OD-z5BL8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<a href="https://www.youtube.com/watch?v=6Nf6sDSlQqg">Introduction to VuFind®</a> from <a href="https://openlibraryfoundation.org/about/wolfcon/">WOLFcon 2021</a>
Expand Down
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
layout: default
---

<h1 class="sr-only">Meet VuFind®!</h1>

<div class="row">
<div class="col-sm-6 content">
<p>
Expand Down
3 changes: 3 additions & 0 deletions support.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
layout: default
---

<h1 class="sr-only">Support</h1>

<div class="row">
<div class="col-md-12">
<h2 id="rsp">Registered Service Providers</h2>
Expand Down

0 comments on commit ab39b32

Please sign in to comment.