Skip to content

Commit

Permalink
Switch to SVG favicon
Browse files Browse the repository at this point in the history
Handles dark theme c/o CSS.
  • Loading branch information
inexorabletash committed Nov 11, 2023
1 parent d70b634 commit bce4603
Show file tree
Hide file tree
Showing 27 changed files with 91 additions and 26 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<title>404 Not Found</title>
<link rel="shortcut icon" href="favicon.ico">
<link rel="shortcut icon" href="favicon.svg">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=0, width=device-width">
<style>
@import url(https://fonts.googleapis.com/css?family=Marcellus);
Expand Down
2 changes: 1 addition & 1 deletion doc/about.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>Information - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css?update=2022-09-10T10:37:44">
<link rel="stylesheet" href="../lib/lightbox/lightbox.css">
<meta name="viewport" content="initial-scale=1, width=device-width">
Expand Down
2 changes: 1 addition & 1 deletion doc/api.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>API - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css?update=2022-09-10T10:37:44">
<meta name="viewport" content="initial-scale=1, width=device-width">

Expand Down
2 changes: 1 addition & 1 deletion doc/credits.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>Credits - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css?update=2022-09-10T10:37:44">
<meta name="viewport" content="initial-scale=1, width=device-width">

Expand Down
2 changes: 1 addition & 1 deletion doc/custom.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>Custom Data - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css?update=2022-09-10T10:37:44">
<meta name="viewport" content="initial-scale=1, width=device-width">

Expand Down
2 changes: 1 addition & 1 deletion doc/fileformats.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>Sector Data File Formats - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css">
<meta name="viewport" content="initial-scale=1, width=device-width">

Expand Down
2 changes: 1 addition & 1 deletion doc/metadata.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>Sector Metadata - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css">
<meta name="viewport" content="initial-scale=1, width=device-width">

Expand Down
2 changes: 1 addition & 1 deletion doc/secondsurvey.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>Second Survey Data - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css">
<meta name="viewport" content="initial-scale=1, width=device-width">

Expand Down
2 changes: 1 addition & 1 deletion doc/submit.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>Submissions - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css?update=2022-09-10T10:37:44">
<meta name="viewport" content="initial-scale=1, width=device-width">

Expand Down
65 changes: 65 additions & 0 deletions favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
services for generating custom maps and APIs for incorporating maps
into other sites.">

<link rel="shortcut icon" href="favicon.ico">
<link rel="shortcut icon" href="favicon.svg">
<link rel="manifest" href="res/app/manifest.json">
<!-- Microsoft/Edge -->
<meta name="msapplication-config" content="res/app/browserconfig.xml">
Expand Down
2 changes: 1 addition & 1 deletion make/atlas.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<title>Atlas - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.7.7/handlebars.min.js"></script>
<script src="../map.js?update=2023-08-08T08:43:57"></script>
<script src="atlas.js?update=2023-08-08T08:43:57"></script>
Expand Down
2 changes: 1 addition & 1 deletion make/booklet.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<title>Sector Booklet - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css?update=2023-08-08T08:43:58">
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.7.7/handlebars.min.js"></script>
<script src="../map.js?update=2023-08-08T08:43:57"></script>
Expand Down
2 changes: 1 addition & 1 deletion make/borders.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>Border Maker - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css?update=2023-08-08T08:43:58">
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.7.7/handlebars.min.js"></script>
<script src="../map.js?update=2023-08-08T08:43:57"></script>
Expand Down
2 changes: 1 addition & 1 deletion make/path.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>Path Finder - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css?update=2023-08-08T08:43:58">
<script src="../map.js?update=2023-08-08T08:43:57"></script>
<script src="post.js?update=2023-09-13T19:20:48"></script>
Expand Down
2 changes: 1 addition & 1 deletion make/poster.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>Poster Maker - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css?update=2023-08-08T08:43:58">
<script src="../map.js?update=2023-08-08T08:43:57"></script>
<script src="post.js?update=2023-09-13T19:20:48"></script>
Expand Down
2 changes: 1 addition & 1 deletion make/routes.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>Route Maker - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css?update=2023-08-08T08:43:58">
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.7.7/handlebars.min.js"></script>
<script src="../map.js?update=2023-08-08T08:43:57"></script>
Expand Down
2 changes: 1 addition & 1 deletion offline.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<title>Offline</title>
<link rel="shortcut icon" href="favicon.ico">
<link rel="shortcut icon" href="favicon.svg">
<link rel="manifest" href="res/app/manifest.json">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=0, width=device-width">
<style>
Expand Down
2 changes: 1 addition & 1 deletion print/world.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<title>World Data Sheet - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.7.7/handlebars.min.js"></script>
<script src="../map.js?update=2023-08-08T08:43:57"></script>
Expand Down
2 changes: 1 addition & 1 deletion sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const urlsToCache = [
// https://developers.google.com/web/tools/lighthouse/audits/cache-contains-start_url

'offline.html',
'favicon.ico',
'favicon.svg',
'https://fonts.googleapis.com/css?family=Marcellus',
];

Expand Down
2 changes: 1 addition & 1 deletion test/APITest.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>API Tests</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css?update=2022-09-10T10:37:44">

<style>
Expand Down
2 changes: 1 addition & 1 deletion test/ContentTest.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>Content Tests</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css?update=2022-09-10T10:37:44">

<style>
Expand Down
2 changes: 1 addition & 1 deletion test/ImageTest.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>Image Tests</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css?update=2022-09-10T10:37:44">

<style>
Expand Down
2 changes: 1 addition & 1 deletion tools/distance.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>Distance Calculator - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css?update=2022-09-10T10:37:44">
<script src="../map.js?update=2023-06-19T09:13:17"></script>
<style>
Expand Down
2 changes: 1 addition & 1 deletion tools/lintsec.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>Sector Data Checker - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css?update=2022-09-10T10:37:44">
<script src="../map.js?update=2023-06-19T09:13:17"></script>
<style>
Expand Down
2 changes: 1 addition & 1 deletion tools/msec2xml.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>MSEC to XML - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<link rel="stylesheet" href="../site.css?update=2022-09-10T10:37:44">
<script src="../map.js?update=2023-06-19T09:13:17"></script>
<style>
Expand Down
2 changes: 1 addition & 1 deletion tools/restellarator.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<title>Re-Stellarator - Traveller Map</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="shortcut icon" href="../favicon.svg">
<script src="serialize.js"></script>
<link rel="stylesheet" href="../site.css?update=2022-09-10T10:37:44">
<style>
Expand Down

0 comments on commit bce4603

Please sign in to comment.