Skip to content

Commit b8975ce

Browse files
committed
Updated design of test interface.
1 parent 6824b94 commit b8975ce

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

docs/htmldoc.svg

Lines changed: 1 addition & 0 deletions
Loading

index.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,13 @@
110110
<head>
111111
<title>Hexydec HTML Minifier</title>
112112
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
113+
<link rel="shortcut icon" type="image/svg" href="docs/htmldoc.svg" />
113114
<style>
114115
html, body {
115116
margin: 0;
116-
font-family: Segoe UI;
117+
}
118+
body, input {
119+
font-family: Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
117120
}
118121
.minify__form {
119122
height: 100vh;
@@ -128,6 +131,9 @@
128131
.minify__form-heading {
129132
margin: 10px 10px 0 10px;
130133
flex: 0 0 auto;
134+
display: flex;
135+
align-items: center;
136+
gap: 0 10px;
131137
}
132138
.minify__form-error {
133139
padding: 10px;
@@ -191,7 +197,10 @@
191197
<body>
192198
<form action="<?= \htmlspecialchars($_SERVER['REQUEST_URI']); ?>" method="post" accept-charset="<?= \htmlspecialchars(\mb_internal_encoding()); ?>" class="minify__form">
193199
<div class="minify__form-wrap">
194-
<h1 class="minify__form-heading">HTML Minifier</h1>
200+
<h1 class="minify__form-heading">
201+
<img src="docs/htmldoc.svg" alt="HTMLdoc" height="50" />
202+
HTML Minifier
203+
</h1>
195204
<?php if ($error) { ?>
196205
<div class="minify__form-error"><?= \htmlspecialchars($error); ?></div>
197206
<?php } ?>

0 commit comments

Comments
 (0)