From: reyk Date: Sat, 12 Jul 2014 23:55:35 +0000 (+0000) Subject: Use Comic Sans (or Chalkboard) as the default font for HTTP error X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f687442bc188b667ecf8dde95396113e2c60cd82;p=openbsd Use Comic Sans (or Chalkboard) as the default font for HTTP error messages because we love web hipsters. ok beck@ --- 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 @@ -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,