Skip to content

contact us page #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 108 additions & 0 deletions contact.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
<html>
<style>
@import url(https://fonts.googleapis.com/css?family=Merriweather);
$red: #e74c3c;

*,
*:before,
*:after {
@include box-sizing(border-box);
}

html, body {
background: #f1f1f1;
font-family: 'Merriweather', sans-serif;
padding: 1em;
}

h1 {
text-align: center;
color: #a8a8a8;
@include text-shadow(1px 1px 0 rgba(white, 1));
}

form {
max-width: 600px;
text-align: center;
margin: 20px auto;

input, textarea {
border:0; outline:0;
padding: 1em;
@include border-radius(8px);
display: block;
width: 100%;
margin-top: 1em;
font-family: 'Merriweather', sans-serif;
@include box-shadow(0 1px 1px rgba(black, 0.1));
resize: none;

&:focus {
@include box-shadow(0 0px 2px rgba($red, 1)!important);
}
}

#input-submit {
color: white;
background: $red;
cursor: pointer;

&:hover {
@include box-shadow(0 1px 1px 1px rgba(#aaa, 0.6));
}
}

textarea {
height: 126px;
}
}


.half {
float: left;
width: 48%;
margin-bottom: 1em;
}

.right { width: 50%; }

.left {
margin-right: 2%;
}


@media (max-width: 480px) {
.half {
width: 100%;
float: none;
margin-bottom: 0;
}
}


/* Clearfix */
.cf:before,
.cf:after {
content: " "; /* 1 */
display: table; /* 2 */
}

.cf:after {
clear: both;
}
</style>
<body>
<h1> Contact Us</h1>
<form class="cf">
<div class="half left cf">
<input type="text" id="input-name" placeholder="Name">
<input type="email" id="input-email" placeholder="Email address">
<input type="text" id="input-subject" placeholder="Subject">
</div>
<div class="half right cf">
<textarea name="message" type="text" id="input-message" placeholder="Message"></textarea>
</div>
<input type="submit" value="Submit" id="input-submit">
</form>
</body>
</html>