Commit aff3ee35 authored by sp2419's avatar sp2419
Browse files

ADD style for result page

parent ec7b10c0
Pipeline #173706 passed with stages
in 4 minutes and 15 seconds
...@@ -30,8 +30,14 @@ public class HTMLResultPage implements Page { ...@@ -30,8 +30,14 @@ public class HTMLResultPage implements Page {
// Header // Header
writer.println("<html>"); writer.println("<html>");
writer.println("<head><title>" + query + "</title></head>"); writer.println("<head><title>" + query + "</title></head>");
writer.println("<body>"); writer.println(
"<body style=\"\n"
+ "text-align:center;\n"
+ "color:black;\n"
+ "background: linear-gradient(to bottom, tan 0%, darkturquoise 200%);\n"
+ "background: #ecc19c;\n"
+ "font-family:arial;\n"
+ "\">");
// Content // Content
if (answer == null || answer.isEmpty()) { if (answer == null || answer.isEmpty()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment