mirror of
https://github.com/fooflington/wordsearch.git
synced 2025-04-19 07:19:17 +00:00
Improve formatting
This commit is contained in:
parent
cb87f5cbd5
commit
4761199617
2
war/WEB-INF/jspf/footer.jspf
Normal file
2
war/WEB-INF/jspf/footer.jspf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<div id="footer">
|
||||||
|
</div>
|
@ -3,6 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>Wordsearch Builder: About</title>
|
<title>Wordsearch Builder: About</title>
|
||||||
<link rel="stylesheet" type="text/css" href="base.css" />
|
<link rel="stylesheet" type="text/css" href="base.css" />
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500&family=Roboto:wght@500&display=swap" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
11
war/base.css
11
war/base.css
@ -19,10 +19,8 @@ table#grid td {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#wrapper {
|
#wrapper {
|
||||||
width: 80%;
|
align-content: center;
|
||||||
margin: 0 auto 60px auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#wordsearch {
|
#wordsearch {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
@ -35,8 +33,11 @@ table#grid td {
|
|||||||
#footer {
|
#footer {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
bottom:0;
|
bottom:0;
|
||||||
width:100%;
|
}
|
||||||
height:60px; /* Height of the footer */
|
|
||||||
|
textarea#textarea_words {
|
||||||
|
font-family: 'Fira Mono', monospace;
|
||||||
|
font-size: 10pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only print {
|
@media only print {
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
List<String> words = new ArrayList<String>();
|
List<String> words = new ArrayList<String>();
|
||||||
for ( String line : request.getParameter("words").split("\r\n")) {
|
for ( String line : request.getParameter("words").split("\r\n")) {
|
||||||
words.add(line.trim());
|
words.add(line.trim().toLowerCase());
|
||||||
}
|
}
|
||||||
Collections.sort(words);
|
Collections.sort(words);
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<h2>Words</h2>
|
<h2>Words</h2>
|
||||||
<form action="build.jsp" method="post">
|
<form action="build.jsp" method="post">
|
||||||
Name: <input type="text" size="25" name="name" value="Wordsearch"><br />
|
Name: <input type="text" size="25" name="name" value="Wordsearch"><br />
|
||||||
<textarea name="words" rows="10">
|
<textarea id="textarea_words" name="words" rows="10">
|
||||||
Kitchen
|
Kitchen
|
||||||
Lounge
|
Lounge
|
||||||
Study
|
Study
|
||||||
|
Loading…
x
Reference in New Issue
Block a user