-
Notifications
You must be signed in to change notification settings - Fork 1
/
contact.html
87 lines (75 loc) · 1.73 KB
/
contact.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
---
layout: page
title: Contact
permalink: /contact/
---
<h2>Form</h2>
<p>
Submissions are handled by
<a href="https://formspree.io/">Formspree (open source)</a>
</p>
<form
action="https://formspree.io/f/xlezzdpv"
method="POST"
class="input-group"
>
<label for="email"> Your email: </label>
<input type="email" name="email" placeholder="[email protected]" />
<label for="message"> Your message: </label>
<textarea
name="message"
placeholder="Hello Doodles, this website is very cool, just like you my friend..."
></textarea>
<!-- your other form fields go here -->
<button type="submit">Send</button>
</form>
<h3>Email</h3>
<p>
Or contact me directly sending an email to
<a href="mailto:[email protected]">[email protected]</a>
</p>
<style>
.input-group {
display: flex;
flex-direction: column;
justify-content: center;
margin-top: 2em;
}
.input-group input,
.input-group button,
.input-group textarea {
margin: 0.5em 0em 2em;
padding: 1em;
border-radius: 0.3em;
border: none;
font: 1rem / 1.25 sans-serif;
outline-color: rgba(57, 161, 195, 0.582);
box-shadow: 0 0 0.2em rgba(0, 0, 0, 0.582);
}
@media (prefers-color-scheme: dark) {
.input-group input,
.input-group textarea {
background-color: black;
color: white;
}
}
.input-group textarea {
min-height: 100px;
resize: vertical;
}
.input-group button {
padding: 0.5em;
background-color: #00a8ff;
color: #fff;
cursor: pointer;
border: none;
width: 10em;
align-self: flex-end;
}
.input-group button:hover {
background-color: #0091e4;
}
.input-group button:active {
background-color: #007dc6;
}
</style>