File tree 3 files changed +49
-6
lines changed
3 files changed +49
-6
lines changed Original file line number Diff line number Diff line change 2
2
layout: default
3
3
---
4
4
{% include header.html %}
5
- < main class ="content " role ="main " id ="hero-about ">
6
- < section class ="main-content ">
5
+ < main class ="" role ="main " id ="hero-contact ">
6
+ < section class ="form-section ">
7
7
{{ content }}
8
8
< form
9
+ class ="container-form "
9
10
action ="https://formspree.io/f/maylovzq "
10
11
method ="POST "
11
12
>
12
13
< label >
13
14
Your email:
14
- < input type ="text " name ="_replyto ">
15
+ < input type ="text " name ="_replyto " placeholder =" Your email address " >
15
16
</ label >
16
17
< label >
17
18
Your message:
18
- < textarea name ="message "> </ textarea >
19
+ < textarea name ="message " placeholder =" Write something... " > </ textarea >
19
20
</ label >
20
21
21
22
<!-- your other form fields go here -->
24
25
</ form >
25
26
{% include footer.html %}
26
27
</ section >
28
+
27
29
</ main >
Original file line number Diff line number Diff line change @@ -189,6 +189,15 @@ nav > ul > li > a:hover {
189
189
margin-top : 90vh ;
190
190
}
191
191
192
+ #hero-contact {
193
+ display : flex ;
194
+ flex-direction : column ;
195
+ align-items : center ;
196
+ justify-content : center ;
197
+ height : 300px ;
198
+ margin-top : 40vh ;
199
+ }
200
+
192
201
.blog-header {
193
202
display : contents ;
194
203
}
@@ -494,3 +503,35 @@ nav > ul > li > a:hover {
494
503
.site-footer-credits {
495
504
color : $blockquote-text-color ;
496
505
}
506
+
507
+ .form-section {
508
+ max-width : 164rem ;
509
+ }
510
+
511
+ .container-form {
512
+ display : grid ;
513
+ grid-template-columns : auto ;
514
+ grid-gap : 10px ;
515
+ background-color : #ffff ;
516
+ padding : 10px ;
517
+ }
518
+ #subject {
519
+ width :80% ;
520
+ }
521
+ form {
522
+ vertical-align : baseline ;
523
+ }
524
+ input ,
525
+ textarea {
526
+ border : 0.05em solid #2196F3 ;
527
+ & :focus {
528
+ border : 0.05em solid white ;
529
+ width : auto ;
530
+ }
531
+ }
532
+
533
+ textarea {
534
+ vertical-align : top ;
535
+ resize : vertical ;
536
+ max-width : none ;
537
+ }
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ image: ./resources/webarkit-logo-social.jpg
6
6
permalink : /contact/
7
7
---
8
8
9
- # Contact US !
9
+ # Contact us !
10
10
11
- We are glad if you send a message, with your thinking
11
+ We are glad if you send a message...
You can’t perform that action at this time.
0 commit comments