aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordan <[email protected]>2023-05-16 17:22:22 -0400
committerdan <[email protected]>2023-05-16 17:22:22 -0400
commit56a08c8bfdd863d36aba80e7aab15f3feb9cb332 (patch)
treedd93a235c7995e746cb916194ac9450601f98475
parent841900a18847f2c301c74b1eba0645476bd0bcbc (diff)
downloadsimple-comments-widget-56a08c8bfdd863d36aba80e7aab15f3feb9cb332.tar.gz
simple-comments-widget-56a08c8bfdd863d36aba80e7aab15f3feb9cb332.tar.bz2
simple-comments-widget-56a08c8bfdd863d36aba80e7aab15f3feb9cb332.zip
restyle
-rw-r--r--client.html47
-rw-r--r--style.css13
2 files changed, 38 insertions, 22 deletions
diff --git a/client.html b/client.html
index 328a38b..fc0e5d3 100644
--- a/client.html
+++ b/client.html
@@ -2,30 +2,33 @@
<html>
<head>
<link rel="stylesheet" href="style.css">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
- <h5>Comments</h5>
- <form class="comment-form" action="javascript:handleCommentFormSubmit()">
- <span width="100%">
- <label for="username">Posting as:</label>
- <input id="username" type="text" value="anon"/>
- </span>
- <span>
- <textarea
- maxlength="540"
- id="commentcontent"
- name="content"
- value=""
- rows="5"
- cols="50"></textarea>
- </span>
- <label for="bot">Are you a bot? Type no if not.</label>
- <input id="bot" type="text" value=""/>
- <input id="submit" type="submit" value="Post"/>
- </form>
+ <div id="comments-widget">
+ <h5>Comments</h5>
+ <form class="comment-form" action="javascript:handleCommentFormSubmit()">
+ <span width="100%">
+ <label for="username">Posting as:</label>
+ <input id="username" type="text" value="anon"/>
+ </span>
+ <span>
+ <textarea
+ maxlength="540"
+ id="commentcontent"
+ name="content"
+ value=""
+ rows="5"
+ cols="50"></textarea>
+ </span>
+ <label for="bot">Are you a bot? Type no if not.</label>
+ <input id="bot" type="text" value=""/>
+ <input id="submit" type="submit" value="Post"/>
+ </form>
- <div id="commentsthread"></div>
- <script type="text/javascript" src="config.js"></script>
- <script type="text/javascript" src="client.js"></script>
+ <div id="commentsthread"></div>
+ <script type="text/javascript" src="config.js"></script>
+ <script type="text/javascript" src="client.js"></script>
+ </div>
</body>
</html>
diff --git a/style.css b/style.css
index b0796c2..ff91eb0 100644
--- a/style.css
+++ b/style.css
@@ -1,9 +1,14 @@
+#comments-widget {
+ font-family: Lato, FreeSans, Roboto, Helvetica, Sans-Serif;
+}
+
.comment-form {
margin-top: 1em;
}
.comment-form #commentcontent {
width: 100%;
+ font-family: Lato, FreeSans, Roboto, Helvetica, Sans-Serif;
}
.comment-form #submit {
@@ -26,6 +31,14 @@
#submit {
width: 100%;
}
+
+ #bot {
+ width: 100%;
+ }
+
+ #username {
+ width: 100%;
+ }
}
.comment {