Skip to content

Commit b982ec2

Browse files
save file
1 parent 5c64c3f commit b982ec2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

blog/25-07-24/http-server/ex/login-server.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@
172172

173173
html.home = `
174174
<style>
175+
body{font-family:arial;background:whitesmoke}
175176
h3{display:flex;align-items:center;gap:10px}
176177
a{margin:10px}
177178
</style>
@@ -187,6 +188,7 @@
187188

188189
html.login = `
189190
<style>
191+
body{font-family:arial;background:whitesmoke}
190192
form{border:1px solid lightgray;padding:10px;display:inline-flex;flex-direction:column;gap:10px}
191193
label{width:60px;text-align:right;display:inline-block;margin:10px}
192194
h4,span{text-align:center;margin:0}
@@ -211,6 +213,7 @@
211213

212214
html.admin = `
213215
<style>
216+
body{font-family:arial;background:whitesmoke}
214217
h3{color:green;font-style:italic}
215218
a{margin:10px}
216219
</style>
@@ -223,6 +226,7 @@
223226

224227
html.notfound = `
225228
<style>
229+
body{font-family:arial;background:whitesmoke}
226230
a{margin:10px}
227231
</style>
228232
<h3>not found</h3>

0 commit comments

Comments
 (0)