improve style of contact
This commit is contained in:
parent
52f36b4ba4
commit
474c65d154
|
@ -6,25 +6,35 @@ weight = 2
|
||||||
disable_toc = true
|
disable_toc = true
|
||||||
+++
|
+++
|
||||||
|
|
||||||
## Get in touch
|
<div class="contact-form">
|
||||||
|
<div class="first-container">
|
||||||
Send a mail to [hello.vumwi@aleeas.com](mailto:hello.vumwi@aleeas.com)
|
<div class="info-container">
|
||||||
|
<div><img class="icon" />
|
||||||
Or use the form bellow:
|
<h3>Address</h3>
|
||||||
|
<p>Mada Center 8th floor, 379 Hudson St, New York, NY 10018 US</p>
|
||||||
|
</div>
|
||||||
<form class="contact-form">
|
<div> <img class="icon" />
|
||||||
<h2>Contact Form</h2>
|
<h3>Lets Talk</h3>
|
||||||
<div class="input-fields">
|
<p>+1 800 1236879</p>
|
||||||
<input type="text" class="input" placeholder="Your Name"\>
|
</div>
|
||||||
<input type="text" class="input" placeholder="Your Emaill "\>
|
<div><img class="icon" />
|
||||||
<input type="text" class="input" placeholder="Your Phone "\>
|
<h3>General Support</h3>
|
||||||
|
<p>contact@example.com</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="msg">
|
<div class="second-container">
|
||||||
<textarea placeholder="Message *"></textarea>
|
<h2>Send Us A Message</h2>
|
||||||
|
<form>
|
||||||
|
<div class="form-group"><label for="name-input">Tell us your name*</label><input id="name-input" type="text"
|
||||||
|
placeholder="First name" required="required" /><input type="text" placeholder="Last name"
|
||||||
|
required="required" /></div>
|
||||||
|
<div class="form-group"><label for="email-input">Enter your email*</label><input id="email-input" type="text"
|
||||||
|
placeholder="Eg. example@email.com" required="required" /></div>
|
||||||
|
<div class="form-group"><label for="phone-input">Enter phone number*</label><input id="phone-input" type="text"
|
||||||
|
placeholder="Eg. +1 800 000000" required="required" /></div>
|
||||||
|
<div class="form-group"><label for="message-textarea">Message</label><textarea id="message-textarea"
|
||||||
|
placeholder="Write us a message"></textarea></div><button>Send message</button>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
</div>
|
||||||
<button disabled> Send message</button>
|
|
||||||
</div>
|
|
||||||
<small> Form backend under construction</small>
|
|
||||||
</form>
|
|
||||||
|
|
28
content/software.md
Normal file
28
content/software.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
+++
|
||||||
|
title = "Software"
|
||||||
|
description = "Software Development Consulting"
|
||||||
|
weight = 1
|
||||||
|
+++
|
||||||
|
|
||||||
|
## Get in touch
|
||||||
|
|
||||||
|
Send a mail to [hello.vumwi@aleeas.com](mailto:hello.vumwi@aleeas.com)
|
||||||
|
|
||||||
|
Or use the form bellow:
|
||||||
|
|
||||||
|
|
||||||
|
<form class="contact-form">
|
||||||
|
<h2>Contact Form</h2>
|
||||||
|
<div class="input-fields">
|
||||||
|
<input type="text" class="input" placeholder="Your Name"\>
|
||||||
|
<input type="text" class="input" placeholder="Your Emaill "\>
|
||||||
|
<input type="text" class="input" placeholder="Your Phone "\>
|
||||||
|
</div>
|
||||||
|
<div class="msg">
|
||||||
|
<textarea placeholder="Message *"></textarea>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<button disabled> Send message</button>
|
||||||
|
</div>
|
||||||
|
<small> Form backend under construction</small>
|
||||||
|
</form>
|
225
sass/form.scss
225
sass/form.scss
|
@ -1,71 +1,186 @@
|
||||||
form {
|
/* @import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap'); */
|
||||||
/* width: 100%; */
|
|
||||||
margin: 0 auto;
|
|
||||||
text-align: center;
|
|
||||||
border-top: 5px solid var(--primary-color);
|
|
||||||
background-color: var(--toc-background-color);
|
|
||||||
padding: 1em;
|
|
||||||
|
|
||||||
h2 {
|
$bg: #f2f2f2;
|
||||||
color: var(--primary-text-color);
|
$white: #fff;
|
||||||
text-transform: capitalize;
|
$black: #333;
|
||||||
font-size: 1.5em;
|
$gray: #999;
|
||||||
|
$green: #00b3aa;
|
||||||
|
$border: 1px solid #e6e6e6;
|
||||||
|
|
||||||
|
* {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
outline: none;
|
||||||
|
/* font-family: 'Poppins', sans-serif; */
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
/* height: 100vh; */
|
||||||
|
/* display: flex; */
|
||||||
|
/* justify-content: center; */
|
||||||
|
/* align-items: flex-start; */
|
||||||
|
/* background: $bg; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
max-width: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.contact-form {
|
||||||
|
width: 80vw;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
background: var(--primary-color);
|
||||||
|
padding-top: 10px;
|
||||||
|
margin: 50px 0;
|
||||||
|
|
||||||
|
&>* {
|
||||||
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {}
|
.first-container {
|
||||||
}
|
background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("https://colorlib.com/etc/cf/ContactFrom_v17/images/bg-01.jpg") center center / cover no-repeat;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
button {
|
.info-container {
|
||||||
padding: 1em 1.3em;
|
div {
|
||||||
/* color: #ffffff; */
|
margin: 24px 0;
|
||||||
/* text-transform: uppercase; */
|
|
||||||
border: 1px solid var(--primary-link-color);
|
|
||||||
/* background: blue; */
|
|
||||||
/* cursor: pointer; */
|
|
||||||
/* border-radius: 3px; */
|
|
||||||
/* margin-right: 40px; */
|
|
||||||
/* margin-top: 15px; */
|
|
||||||
}
|
|
||||||
|
|
||||||
button:hover {
|
h3 {
|
||||||
/* border: 1px solid --var(toc)-highlight-text-color; */
|
color: $white;
|
||||||
background: var(--primary-link-color);
|
|
||||||
/* background: blue; */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
font: {
|
||||||
|
size: 18px;
|
||||||
|
weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
line-height: 1.2;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.input-fields {
|
&:first-of-type p {
|
||||||
width: 45%;
|
max-width: 260px;
|
||||||
float: left;
|
color: $gray;
|
||||||
overflow: hidden;
|
}
|
||||||
margin-right: 1em;
|
|
||||||
margin-top: 2.5em;
|
|
||||||
|
|
||||||
input {
|
p {
|
||||||
/* width: 354px; */
|
font-size: 16px;
|
||||||
padding: 0.6em 1.3em;
|
line-height: 1.6;
|
||||||
margin-bottom: 1em;
|
color: $green;
|
||||||
border: 0;
|
}
|
||||||
/* border-radius: 3px; */
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.second-container {
|
||||||
|
padding: 30px;
|
||||||
|
background: var(--toc-background-color);
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font: {
|
||||||
|
size: 30px;
|
||||||
|
weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
line-height: 1.2;
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
form {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
.form-group {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
|
||||||
|
* {
|
||||||
|
min-height: 55px;
|
||||||
|
border: $border;
|
||||||
|
padding: 0 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
border: $border;
|
||||||
|
font-size: 16px;
|
||||||
|
/* color: $black; */
|
||||||
|
text-transform: uppercase;
|
||||||
|
margin-top: -1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:first-of-type input {
|
||||||
|
width: 50.1%;
|
||||||
|
margin-right: -5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
width: 100%;
|
||||||
|
font-size: 15px;
|
||||||
|
margin-top: -2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
input::placeholder,
|
||||||
|
textarea::placeholder {
|
||||||
|
color: $gray;
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
width: 100%;
|
||||||
|
min-height: 80px;
|
||||||
|
resize: none;
|
||||||
|
padding: 10px 20px;
|
||||||
|
margin-top: -1px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
width: 200px;
|
||||||
|
height: 50px;
|
||||||
|
background: $green;
|
||||||
|
color: $white;
|
||||||
|
|
||||||
|
font: {
|
||||||
|
size: 17px;
|
||||||
|
weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
text-transform: uppercase;
|
||||||
|
border: 0;
|
||||||
|
position: relative;
|
||||||
|
left: calc(50% - 100px);
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background: $black;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.msg {
|
@media screen and (max-width: 800px) {
|
||||||
width: 45%;
|
.contact-form {
|
||||||
float: left;
|
width: 90vw;
|
||||||
overflow: hidden;
|
}
|
||||||
margin-right: 1em;
|
}
|
||||||
margin-top: 2.5em;
|
|
||||||
|
|
||||||
textarea {
|
@media screen and (max-width: 700px) {
|
||||||
width: 354px;
|
.contact-form {
|
||||||
padding: 10px 20px;
|
flex-direction: column-reverse;
|
||||||
margin-bottom: 20px;
|
|
||||||
height: 160px;
|
&>* {
|
||||||
border: 0;
|
width: 100%;
|
||||||
/* border-radius: 3px; */
|
}
|
||||||
/* resize: none; */
|
|
||||||
|
.first-container {
|
||||||
|
padding: 40px 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue