prettify a bit

This commit is contained in:
foo 2016-12-19 16:03:38 +00:00
parent 432c597cec
commit 9ba322a84b
2 changed files with 7 additions and 6 deletions

View File

@ -13,8 +13,9 @@ table, th, td {
padding: 2px 4px; padding: 2px 4px;
} }
#grid { table#grid td {
font-family: monospace; font-size: 16; font-family: monospace;
font-size: 22;
} }
#wrapper { #wrapper {

View File

@ -2,8 +2,6 @@
<head> <head>
<title>Wordsearch builder</title> <title>Wordsearch builder</title>
<link rel="stylesheet" type="text/css" href="base.css" /> <link rel="stylesheet" type="text/css" href="base.css" />
<style>
</style>
</head> </head>
<%@ page import="uk.org.mafoo.wordsearch.*" %> <%@ page import="uk.org.mafoo.wordsearch.*" %>
<%@ page import="java.util.*" %> <%@ page import="java.util.*" %>
@ -32,7 +30,9 @@
%> %>
<body> <body>
<h1><%= name %></h1> <h1><%= name %></h1>
<a id='csvdownload' class="noprint">Download CSV</a> <div class="noprint">
[ <a href="index.jsp">Start again</a> | <a id='csvdownload'>Download CSV</a> ]
</div>
<script> <script>
var csv = '<%= csv %>'; var csv = '<%= csv %>';
var csvdownload = document.getElementById('csvdownload'); var csvdownload = document.getElementById('csvdownload');
@ -49,7 +49,7 @@
<% for(char c : row) { <% for(char c : row) {
csv += "" + c + ','; csv += "" + c + ',';
%> %>
<td><%= c %></td> <td class="cell"><%= c %></td>
<% } %> <% } %>
</tr> </tr>
<% <%