update website metadata and favicon

This commit is contained in:
e7d 2023-06-06 11:35:53 +02:00
parent cdfd1f97b9
commit 82b387099e
No known key found for this signature in database
GPG Key ID: F320BE007C0B8881
14 changed files with 102 additions and 133 deletions

BIN
android-chrome-192x192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
android-chrome-512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

BIN
apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

9
browserconfig.xml Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#666666</TileColor>
</tile>
</msapplication>
</browserconfig>

150
css/normalize.css vendored
View File

@ -1,17 +1,15 @@
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in
* IE on Windows Phone and in iOS.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
line-height: 1.15; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
@ -19,7 +17,7 @@ html {
========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
* Remove the margin in all browsers.
*/
body {
@ -27,15 +25,10 @@ body {
}
/**
* Add the correct display in IE 9-.
* Render the `main` element consistently in IE.
*/
article,
aside,
footer,
header,
nav,
section {
main {
display: block;
}
@ -52,25 +45,6 @@ h1 {
/* Grouping content
========================================================================== */
/**
* Add the correct display in IE 9-.
* 1. Add the correct display in IE.
*/
figcaption,
figure,
main { /* 1 */
display: block;
}
/**
* Add the correct margin in IE 8.
*/
figure {
margin: 1em 40px;
}
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
@ -96,17 +70,15 @@ pre {
========================================================================== */
/**
* 1. Remove the gray background on active links in IE 10.
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
* Remove the gray background on active links in IE 10.
*/
a {
background-color: transparent; /* 1 */
-webkit-text-decoration-skip: objects; /* 2 */
background-color: transparent;
}
/**
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
@ -116,15 +88,6 @@ abbr[title] {
text-decoration: underline dotted; /* 2 */
}
/**
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
*/
b,
strong {
font-weight: inherit;
}
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
@ -146,23 +109,6 @@ samp {
font-size: 1em; /* 2 */
}
/**
* Add the correct font style in Android 4.3-.
*/
dfn {
font-style: italic;
}
/**
* Add the correct background and color in IE 9-.
*/
mark {
background-color: #ff0;
color: #000;
}
/**
* Add the correct font size in all browsers.
*/
@ -196,44 +142,18 @@ sup {
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
audio,
video {
display: inline-block;
}
/**
* Add the correct display in iOS 4-7.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Remove the border on images inside links in IE 10-.
* Remove the border on images inside links in IE 10.
*/
img {
border-style: none;
}
/**
* Hide the overflow in IE.
*/
svg:not(:root) {
overflow: hidden;
}
/* Forms
========================================================================== */
/**
* 1. Change the font styles in all browsers (opinionated).
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
@ -242,7 +162,7 @@ input,
optgroup,
select,
textarea {
font-family: sans-serif; /* 1 */
font-family: inherit; /* 1 */
font-size: 100%; /* 1 */
line-height: 1.15; /* 1 */
margin: 0; /* 2 */
@ -269,16 +189,14 @@ select { /* 1 */
}
/**
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
* controls in Android 4.
* 2. Correct the inability to style clickable types in iOS and Safari.
* Correct the inability to style clickable types in iOS and Safari.
*/
button,
html [type="button"], /* 1 */
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button; /* 2 */
-webkit-appearance: button;
}
/**
@ -329,17 +247,15 @@ legend {
}
/**
* 1. Add the correct display in IE 9-.
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
display: inline-block; /* 1 */
vertical-align: baseline; /* 2 */
vertical-align: baseline;
}
/**
* Remove the default vertical scrollbar in IE.
* Remove the default vertical scrollbar in IE 10+.
*/
textarea {
@ -347,8 +263,8 @@ textarea {
}
/**
* 1. Add the correct box sizing in IE 10-.
* 2. Remove the padding in IE 10-.
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/
[type="checkbox"],
@ -377,10 +293,9 @@ textarea {
}
/**
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
* Remove the inner padding in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
@ -399,12 +314,10 @@ textarea {
========================================================================== */
/*
* Add the correct display in IE 9-.
* 1. Add the correct display in Edge, IE, and Firefox.
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details, /* 1 */
menu {
details {
display: block;
}
@ -416,32 +329,21 @@ summary {
display: list-item;
}
/* Scripting
/* Misc
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
canvas {
display: inline-block;
}
/**
* Add the correct display in IE.
* Add the correct display in IE 10+.
*/
template {
display: none;
}
/* Hidden
========================================================================== */
/**
* Add the correct display in IE 10-.
* Add the correct display in IE 10.
*/
[hidden] {
display: none;
}
}

BIN
favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 B

BIN
favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 780 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -1,16 +1,24 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Gamepad Viewer</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="favicon.png">
<meta name="description" content="Displays live status about gaming devices connected to your computer.">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="manifest" href="site.webmanifest">
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#333333">
<meta name="apple-mobile-web-app-title" content="Gamepad Viewer">
<meta name="application-name" content="Gamepad Viewer">
<meta name="msapplication-TileColor" content="#666666">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/normalize.css?v=8.0.1">
<link rel="stylesheet" href="css/gamepad.css">
</head>
<body>
@ -213,7 +221,7 @@
</div>
</div>
<script src="js/gamepad.js"></script>
<script async src="js/gamepad.js"></script>
</body>
</html>

BIN
mstile-150x150.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

31
safari-pinned-tab.svg Normal file
View File

@ -0,0 +1,31 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.14, written by Peter Selinger 2001-2017
</metadata>
<g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M2785 4027 c-340 -149 -407 -261 -422 -695 l-6 -184 -526 7 c-379 5
-549 4 -608 -4 -372 -53 -675 -265 -830 -581 -86 -176 -118 -327 -110 -520 32
-744 788 -1221 1476 -932 116 49 219 120 326 224 l100 98 377 0 377 0 88 -88
c48 -49 116 -108 150 -131 355 -237 794 -251 1155 -35 95 57 236 187 308 284
65 87 143 252 171 360 27 107 37 317 19 428 -50 312 -234 584 -508 750 -80 49
-213 101 -316 124 -87 19 -119 20 -703 19 l-611 -2 -8 68 c-10 94 2 314 19
356 22 50 81 93 196 140 64 26 118 55 141 77 68 63 75 152 18 225 -24 31 -91
65 -128 65 -14 0 -79 -24 -145 -53z m1080 -1338 c86 -24 144 -98 145 -187 0
-57 -20 -101 -63 -139 -128 -112 -317 -28 -317 141 0 86 51 156 131 181 55 17
56 17 104 4z m-2335 -239 l0 -220 220 0 220 0 0 -160 0 -160 -220 0 -220 0 0
-215 0 -215 -160 0 -160 0 0 215 0 215 -215 0 -215 0 0 160 0 160 215 0 215 0
0 213 c0 118 3 217 7 220 3 4 75 7 160 7 l153 0 0 -220z m2756 -159 c79 -36
127 -136 104 -220 -49 -182 -307 -191 -368 -12 -16 46 -15 85 3 129 44 103
159 149 261 103z m-759 -37 c46 -36 83 -105 83 -154 -1 -49 -30 -110 -73 -147
-85 -74 -227 -50 -287 50 -56 92 -21 213 79 267 56 31 148 24 198 -16z m326
-355 c47 -13 106 -63 123 -106 17 -39 18 -111 3 -150 -24 -64 -109 -122 -179
-123 -48 0 -118 37 -154 83 -23 29 -31 50 -34 95 -7 92 41 168 125 197 47 17
67 18 116 4z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

19
site.webmanifest Normal file
View File

@ -0,0 +1,19 @@
{
"name": "Gamepad Viewer",
"short_name": "Gamepad Viewer",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}