initial commit

This commit is contained in:
2022-01-31 10:28:56 +01:00
commit d0c7cc1d2f
10 changed files with 2295 additions and 0 deletions

12
public/favicon.svg Normal file
View File

@@ -0,0 +1,12 @@
<svg width="64" height="64" xmlns="http://www.w3.org/2000/svg">
<rect width="64" height="64" fill="white" />
<rect x="12" y="12" width="8" height="8" fill="black" />
<rect x="28" y="12" width="8" height="8" fill="black" />
<rect x="44" y="12" width="8" height="8" fill="black" />
<rect x="12" y="28" width="8" height="8" fill="black" />
<rect x="28" y="28" width="8" height="8" fill="black" />
<rect x="44" y="28" width="8" height="8" fill="black" />
<rect x="12" y="44" width="8" height="8" fill="black" />
<rect x="28" y="44" width="8" height="8" fill="black" />
<rect x="44" y="44" width="8" height="8" fill="black" />
</svg>

After

Width:  |  Height:  |  Size: 668 B

75
public/global.css Normal file
View File

@@ -0,0 +1,75 @@
html, body {
position: relative;
width: 100%;
height: 100%;
}
body {
color: #333;
margin: 0;
padding: 8px;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
a {
color: rgb(0,100,200);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:visited {
color: rgb(0,80,160);
}
label {
display: block;
}
input, button, select, textarea {
font-family: inherit;
font-size: inherit;
-webkit-padding: 0.4em 0;
padding: 0.4em;
margin: 0.5em;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 2px;
}
input:disabled {
color: #ccc;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Firefox */
input[type=number] {
-moz-appearance: textfield;
}
button {
color: #333;
background-color: #f4f4f4;
outline: none;
}
button:disabled {
color: #999;
}
button:not(:disabled):active {
background-color: #ddd;
}
button:focus {
border-color: #666;
}

17
public/index.html Normal file
View File

@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Kernel Filter Calculator</title>
<link rel="icon" type="image/svg" href="./favicon.svg" />
<link rel="stylesheet" href="./global.css" />
<link rel="stylesheet" href="./build/bundle.css" />
<script defer src="./build/bundle.js"></script>
</head>
<body></body>
</html>