Browse Source

Implemented AH font and about page

master
Kenneth Bruen 2 years ago
parent
commit
131768ed41
Signed by: kbruen
GPG Key ID: C1980A470C3EE5B1
  1. 31
      about.html
  2. 43
      base.css
  3. 2300
      fonts/Atkinson-Hyperlegible-Bold-102.svg
  4. BIN
      fonts/Atkinson-Hyperlegible-Bold-102.woff
  5. 2303
      fonts/Atkinson-Hyperlegible-BoldItalic-102.svg
  6. BIN
      fonts/Atkinson-Hyperlegible-BoldItalic-102.woff
  7. 1912
      fonts/Atkinson-Hyperlegible-Italic-102.svg
  8. BIN
      fonts/Atkinson-Hyperlegible-Italic-102.woff
  9. 1895
      fonts/Atkinson-Hyperlegible-Regular-102.svg
  10. BIN
      fonts/Atkinson-Hyperlegible-Regular-102.woff
  11. 3
      index.html
  12. 4
      train.html
  13. 2
      view-train.html

31
about.html

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About - InfoTren</title>
<link rel="stylesheet" href="/base.css">
<script src="/back.js"></script>
<script src="/items.js"></script>
</head>
<body>
<h1>About</h1>
<div class="content">
<h2>InfoTren</h2>
<p>KaiOS webapp for <a href="https://infofer.ro" class="items inline">Informatica Feroviară</a> scraper</p>
<h4>Acknowledgements</h4>
<ul>
<li><a href="https://brailleinstitute.org/freefont" class="items">Atkinson Hyperlegible</a></li>
</ul>
</div>
<footer>
<div class="csk">Open</div>
</footer>
</body>
</html>

43
base.css

@ -126,6 +126,8 @@ p.thi {
p, ul {
font-size: 17px;
font-weight: 400;
margin: 0 8px;
}
p.link, a {
@ -162,15 +164,23 @@ li:focus {
a {
display: block;
padding: 8px;
color: black;
}
a.inline {
display: inline;
padding: 2px;
}
li a {
text-decoration: none;
}
a.disabled {
color: grey;
text-decoration: none;
}
a:not(.disabled):hover:not(:focus) {
@ -181,6 +191,7 @@ a:not(.disabled):hover:not(:focus) {
a:focus {
color: white;
background-color: blue;
text-decoration: none;
}
input {
@ -197,3 +208,31 @@ input {
.hidden {
display: none;
}
@font-face {
font-family: 'Atkinson Hyperlegible';
src: local(Atkinson Hyperlegible), url("/fonts/Atkinson-Hyperlegible-Regular-102.woff"), url("/fonts/Atkinson-Hyperlegible-Regular-102.svg");
}
@font-face {
font-family: 'Atkinson Hyperlegible';
font-style: italic;
src: local(Atkinson Hyperlegible), url("/fonts/Atkinson-Hyperlegible-Italic-102.woff"), url("/fonts/Atkinson-Hyperlegible-Italic-102.svg");
}
@font-face {
font-family: 'Atkinson Hyperlegible';
font-style: italic;
font-weight: bold;
src: local(Atkinson Hyperlegible), url("/fonts/Atkinson-Hyperlegible-BoldItalic-102.woff"), url("/fonts/Atkinson-Hyperlegible-BoldItalic-102.svg");
}
@font-face {
font-family: 'Atkinson Hyperlegible';
font-weight: bold;
src: local(Atkinson Hyperlegible), url("/fonts/Atkinson-Hyperlegible-Bold-102.woff"), url("/fonts/Atkinson-Hyperlegible-Bold-102.svg");
}
body {
font-family: 'Atkinson Hyperlegible', -apple-system, BlinkMacSystemFont, Ubuntu, 'Segoe UI', 'Roboto', Sans-Serif;
}

2300
fonts/Atkinson-Hyperlegible-Bold-102.svg

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 169 KiB

BIN
fonts/Atkinson-Hyperlegible-Bold-102.woff

Binary file not shown.

2303
fonts/Atkinson-Hyperlegible-BoldItalic-102.svg

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 172 KiB

BIN
fonts/Atkinson-Hyperlegible-BoldItalic-102.woff

Binary file not shown.

1912
fonts/Atkinson-Hyperlegible-Italic-102.svg

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 138 KiB

BIN
fonts/Atkinson-Hyperlegible-Italic-102.woff

Binary file not shown.

1895
fonts/Atkinson-Hyperlegible-Regular-102.svg

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 136 KiB

BIN
fonts/Atkinson-Hyperlegible-Regular-102.woff

Binary file not shown.

3
index.html

@ -8,7 +8,7 @@
<link rel="stylesheet" href="/base.css">
<script src="items.js"></script>
<script src="/items.js"></script>
</head>
<body>
<h1>InfoTren</h1>
@ -18,6 +18,7 @@
<li><a class="items disabled" href="">Train routes</a></li>
<li><a class="items" href="train.html">My train</a></li>
<li><a class="items disabled" href="station.html">Station departures/arrivals</a></li>
<li><a class="items" href="about.html">About</a></li>
</ul>
</div>

4
train.html

@ -8,8 +8,8 @@
<link rel="stylesheet" href="/base.css">
<script src="back.js"></script>
<script src="items.js"></script>
<script src="/back.js"></script>
<script src="/items.js"></script>
<script src="train.js"></script>
</head>
<body>

2
view-train.html

@ -9,7 +9,7 @@
<link rel="stylesheet" href="/base.css">
<link rel="stylesheet" href="view-train.css">
<script src="back.js"></script>
<script src="/back.js"></script>
<script src="view-train.js"></script>
</head>
<body>

Loading…
Cancel
Save