diff --git a/src/http.cpp b/src/http.cpp
index d2be879..0321521 100644
--- a/src/http.cpp
+++ b/src/http.cpp
@@ -238,12 +238,6 @@ kj::Promise<void> Http::request(kj::HttpMethod method, kj::StringPtr url, const
                 return writeLogChunk(c, s);
             }).attach(kj::mv(output)).attach(kj::mv(stream)).attach(kj::mv(lw));
         }
-    } else if(url == "/custom/style.css") {
-        responseHeaders.set(kj::HttpHeaderId::CONTENT_TYPE, "text/css; charset=utf-8");
-        responseHeaders.add("Content-Transfer-Encoding", "binary");
-        std::string css = laminar.getCustomCss();
-        auto stream = response.send(200, "OK", responseHeaders, css.size());
-        return stream->write(css.data(), css.size()).attach(kj::mv(css)).attach(kj::mv(stream));
     } else if(resources->handleRequest(url.cStr(), &start, &end, &content_type)) {
         responseHeaders.set(kj::HttpHeaderId::CONTENT_TYPE, content_type);
         responseHeaders.add("Content-Encoding", "gzip");
diff --git a/src/laminar.cpp b/src/laminar.cpp
index 87e209b..e0761c7 100644
--- a/src/laminar.cpp
+++ b/src/laminar.cpp
@@ -826,16 +826,3 @@ R"x(
     return true;
 }
 
-// TODO: deprecate
-std::string Laminar::getCustomCss() {
-    KJ_IF_MAYBE(cssFile, fsHome->tryOpenFile(kj::Path{"custom","style.css"})) {
-        static bool warningShown = false;
-        if(!warningShown) {
-            LLOG(WARNING, "Custom CSS has been deprecated and will be removed from a future release. Use a custom HTML template instead.");
-            warningShown = true;
-        }
-        return (*cssFile)->readAllText().cStr();
-    } else {
-        return std::string();
-    }
-}
diff --git a/src/laminar.h b/src/laminar.h
index fa9f4ea..4c8e00f 100644
--- a/src/laminar.h
+++ b/src/laminar.h
@@ -90,11 +90,6 @@ public:
     // if the job is unknown.
     bool handleBadgeRequest(std::string job, std::string& badge);
 
-    // Fetches the content of $LAMINAR_HOME/custom/style.css or an empty
-    // string. Ideally, this would instead be served by a proper web server
-    // which handles this url.
-    std::string getCustomCss();
-
     // Aborts a single job
     bool abort(std::string job, uint buildNum);