Make contact form look better on mobile
This commit is contained in:
parent
ef924e201e
commit
ca87cb1480
@ -75,7 +75,7 @@
|
||||
/* "Back Home" media query for mobile */
|
||||
@media only screen and (max-width: 600px) {
|
||||
#back-home {
|
||||
font-size: 3.125vw;
|
||||
font-size: 7vw;
|
||||
padding-top: 4.167vw;
|
||||
width: 90%;
|
||||
display: flex;
|
||||
@ -95,7 +95,7 @@
|
||||
@media only screen and (max-width: 600px) {
|
||||
.container {
|
||||
position: absolute;
|
||||
top: 60%;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
@ -107,6 +107,13 @@
|
||||
margin: 0.521vw;
|
||||
}
|
||||
|
||||
/* Attention media query for mobile */
|
||||
@media only screen and (max-width: 600px) {
|
||||
#attention, #attention a {
|
||||
font-size: 5vw;
|
||||
}
|
||||
}
|
||||
|
||||
#pgp-key, #contact-email {
|
||||
color: #fff;
|
||||
text-decoration: underline;
|
||||
@ -144,7 +151,8 @@
|
||||
@media only screen and (max-width: 600px) {
|
||||
form input, form textarea, form button {
|
||||
width: 70vw;
|
||||
font-size: 1.563vw;
|
||||
font-size: 7vw;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
form button {
|
||||
@ -159,6 +167,13 @@
|
||||
text-align: center;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
/* Response media query for mobile */
|
||||
@media only screen and (max-width: 600px) {
|
||||
.response {
|
||||
font-size: 3.125vw;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/@mojs/curve-editor"></script>
|
||||
|
@ -1,9 +1,3 @@
|
||||
<!-- REMINDER/TODO
|
||||
|
||||
Optimization for tablets and possibly other strange resolution/aspect ratio devices has not been done yet.
|
||||
|
||||
-->
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
Loading…
x
Reference in New Issue
Block a user