summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2014-07-12 23:55:36 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2014-07-12 23:55:36 +0000
commitf0107f26aad9e4e3d471cc2f43fb500a9068939a (patch)
tree30c82af75abe14749f18aa5c34e6f638703f339b /usr.sbin
parent315a82f3a74846c075e6f82a0f47f85705d5b932 (diff)
Use Comic Sans (or Chalkboard) as the default font for HTTP error
messages because we love web hipsters. ok beck@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/httpd/server_http.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/httpd/server_http.c b/usr.sbin/httpd/server_http.c
index bf5dcb782b6..9a956c98144 100644
--- a/usr.sbin/httpd/server_http.c
+++ b/usr.sbin/httpd/server_http.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server_http.c,v 1.1 2014/07/12 23:34:54 reyk Exp $ */
+/* $OpenBSD: server_http.c,v 1.2 2014/07/12 23:55:35 reyk Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
@@ -549,7 +549,8 @@ server_abort_http(struct client *clt, u_int code, const char *msg)
text = msg;
/* A CSS stylesheet allows minimal customization by the user */
- style = "body { background-color: white; color: black; }";
+ style = "body { background-color: white; color: black; font-family: "
+ "'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif; }";
/* Generate simple HTTP+HTML error document */
if (asprintf(&httpmsg,