From f687442bc188b667ecf8dde95396113e2c60cd82 Mon Sep 17 00:00:00 2001 From: reyk Date: Sat, 12 Jul 2014 23:55:35 +0000 Subject: [PATCH] Use Comic Sans (or Chalkboard) as the default font for HTTP error messages because we love web hipsters. ok beck@ --- usr.sbin/httpd/server_http.c | 5 +++-- 1 file 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 @@ -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, -- 2.20.1