Browse Source

--mail

master
Maxim Likhachev 2 years ago
parent
commit
eaa48dd74e
  1. 19
      css/aksento.css
  2. 12
      index.html

19
css/aksento.css

@ -79,25 +79,6 @@ input[type="submit"]:active {
text-decoration: none;
}
#mailForm {
display: none;
margin-top: 5em;
text-align: center;
}
#mailButton {
position: fixed;
border: none;
/* left: 50%; */
left: 20px;
bottom: 20px;
/* transform: translate(-50%, -50%); */
margin: 0 auto;
font-size: 2em;
color: gray;
background-color: transparent;
}
.button-wide {
width: 70% !important;
}

12
index.html

@ -44,18 +44,6 @@
</div>
</div>
<div id="mailForm" style="display: none;">
<form action="https://formspree.io/envrm@yandex.ru" method="POST">
<input type="text" name="name" placeholder="Имя" required="">
<input type="email" name="email" placeholder="Адрес электронной почты">
<textarea name="message" placeholder="Текст сообщения"></textarea>
<input class="button-wide" type="submit" value="Отправить" />
<!-- <input type="hidden" name="_next" value="{{ '/mail_success' | absolute_url }}" /> -->
</form>
</div>
<button id="mailButton" onclick="showMailForm()"></button>
<script>
$('#phrase').keyboard({
layout: 'ms-Greek',

Loading…
Cancel
Save