Skip to content

Commit bf0be69

Browse files
committed
feat(examples): add empty png base64 as favicon
1 parent ddcd8f6 commit bf0be69

File tree

2 files changed

+21
-23
lines changed

2 files changed

+21
-23
lines changed

templates/form.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
integrity='sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz'
1212
rel='stylesheet'
1313
>
14-
<link
15-
href='data:image/png;base64,iVBORw0KGgo='
16-
rel='icon'
17-
>
14+
<link
15+
href='data:image/png;base64,iVBORw0KGgo='
16+
rel='icon'
17+
>
1818
<style>
1919
body, html {
2020
display: flex;

templates/header.html

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,28 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>
5-
Registration Form
6-
</title>
7-
<link href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700' rel='stylesheet'>
4+
<link
5+
href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700'
6+
rel='stylesheet'
7+
>
88
<link
99
crossorigin='anonymous'
1010
href='https://use.fontawesome.com/releases/v5.4.1/css/all.css'
1111
integrity='sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz'
1212
rel='stylesheet'
1313
>
14+
<link
15+
href='data:image/png;base64,iVBORw0KGgo='
16+
rel='icon'
17+
>
1418
<style>
15-
html,
16-
body {
19+
body, html {
1720
display: flex;
1821
justify-content: center;
1922
height: 100%;
2023
}
2124

22-
body,
23-
div,
24-
h1,
25-
input,
26-
p {
25+
body, div, form, input, p {
2726
padding: 0;
2827
margin: 0;
2928
outline: none;
@@ -39,19 +38,18 @@
3938
text-align: center;
4039
}
4140

42-
p {
43-
font-size: 12px;
44-
}
45-
4641
hr {
4742
color: #a9a9a9;
4843
opacity: 0.3;
4944
}
5045

51-
button {
52-
float: right;
46+
p {
47+
font-size: 12px;
5348
}
5449
</style>
50+
<title>
51+
Registration Form
52+
</title>
5553
</head>
5654
<body>
5755
<noscript>
@@ -78,7 +76,7 @@ <h1>
7876
</label>
7977
<input type='password' name='password' id='password' placeholder='Password' required/>
8078
<hr>
81-
<button id="submit">
79+
<button id='submit'>
8280
Submit
8381
</button>
8482
</div>
@@ -104,4 +102,4 @@ <h1>
104102
</script>
105103
</div>
106104
</body>
107-
</html>
105+
</html>

0 commit comments

Comments
 (0)