mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-15 05:25:33 -04:00
some client-side validation on contact form
exactly identical errors to the one the server sends, but saves a few requests
This commit is contained in:
@@ -77,7 +77,7 @@ $themes: (
|
||||
super-duper-light: #1f1f1f,
|
||||
links: #88c7ff,
|
||||
success: #78df55,
|
||||
error: #f54545,
|
||||
error: #ff5151,
|
||||
),
|
||||
);
|
||||
|
||||
|
@@ -13,14 +13,14 @@ div.layout-contact {
|
||||
p {
|
||||
font-size: 0.9em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
a code {
|
||||
background: none;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
word-spacing: -0.2em;
|
||||
white-space: normal;
|
||||
}
|
||||
code {
|
||||
background: none !important;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
word-spacing: -0.175em;
|
||||
white-space: normal; // re-enable "word" wrapping
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
|
Reference in New Issue
Block a user