cosmetic changes to HTML form

lektura
max.mehl 2017-03-22 13:14:16 +01:00
parent 7df5086baf
commit 685f1d0264
2 changed files with 9 additions and 4 deletions

View File

@ -9,10 +9,10 @@
<form action="/cgi/sign.php" method="get">
<label class="sign-input form-na">
<input name="name" placeholder="Full name / nickname" type="text" required />
<input name="name" placeholder="Name (required)" type="text" required />
</label>
<label class="sign-input form-em">
<input name="email" placeholder="Email" type="email" required />
<input name="email" placeholder="Email (required)" type="email" required />
</label>
<label class="sign-input form-cn">
<input name="country" placeholder="Country" type="text" />
@ -25,7 +25,7 @@
<input name="permission" value="yes" type="checkbox" required /> I have read the privacy statement and would like to stay informed about the future of this campaign
</label>
<input name="url" value="I am a spam robot" style="display:none;" type="submit" />
<input id="honey" name="url" value="yes" type="submit" /> <!-- Honeypot for spam -->
<br />
<button name="action" value="sign" type="submit">Sign</button>
</form>

View File

@ -50,7 +50,9 @@
top: 2px;
}
.sign-input input {
text-indent: 24px;
background-color: rgb(255, 255, 255, 0.5);
border-radius: 7px;
text-indent: 30px;
}
.form-na:before {
content: "\f2c3";
@ -69,6 +71,9 @@
.form-pe {
max-width: 600px;
}
input#honey {
display: none;
}
/* SHARE BUTTONS IN "SPREAD THE WORD" SECTION */
.share-buttons a {