File tree Expand file tree Collapse file tree 3 files changed +49
-6
lines changed Expand file tree Collapse file tree 3 files changed +49
-6
lines changed Original file line number Diff line number Diff line change 22layout: default
33---
44{% 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 ">
77 {{ content }}
88 < form
9+ class ="container-form "
910 action ="https://formspree.io/f/maylovzq "
1011 method ="POST "
1112 >
1213 < label >
1314 Your email:
14- < input type ="text " name ="_replyto ">
15+ < input type ="text " name ="_replyto " placeholder =" Your email address " >
1516 </ label >
1617 < label >
1718 Your message:
18- < textarea name ="message "> </ textarea >
19+ < textarea name ="message " placeholder =" Write something... " > </ textarea >
1920 </ label >
2021
2122 <!-- your other form fields go here -->
2425 </ form >
2526 {% include footer.html %}
2627 </ section >
28+
2729</ main >
Original file line number Diff line number Diff line change @@ -189,6 +189,15 @@ nav > ul > li > a:hover {
189189 margin-top : 90vh ;
190190}
191191
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+
192201.blog-header {
193202 display : contents ;
194203}
@@ -494,3 +503,35 @@ nav > ul > li > a:hover {
494503.site-footer-credits {
495504 color : $blockquote-text-color ;
496505}
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
66permalink : /contact/
77---
88
9- # Contact US !
9+ # Contact us !
1010
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