Archived
1
0
Fork 0

Add some responsive

This commit is contained in:
Ethanell 2020-08-14 20:57:19 +02:00
parent 005bbf22bb
commit 33627a7004

View file

@ -6,7 +6,7 @@ html, body {
body { body {
display: flex; display: flex;
align-items: center; align-items: center;
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif; font: large "Lucida Grande", Helvetica, Arial, sans-serif;
background-color: #db970a; background-color: #db970a;
background-image: linear-gradient(white 2px, transparent 2px), background-image: linear-gradient(white 2px, transparent 2px),
linear-gradient(90deg, white 2px, transparent 2px), linear-gradient(90deg, white 2px, transparent 2px),
@ -16,6 +16,12 @@ body {
background-position:-2px -2px, -2px -2px, -1px -1px, -1px -1px; background-position:-2px -2px, -2px -2px, -1px -1px, -1px -1px;
} }
@media (hover: none) and (pointer: coarse) {
body {
font-size: xx-large;
}
}
.card { .card {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -28,7 +34,8 @@ body {
/* overflow-y: scroll; */ /* overflow-y: scroll; */
} }
h1, h2, p{ h1, h2, p, label {
display: block;
text-align: center; text-align: center;
} }
@ -43,25 +50,28 @@ a {
} }
.field { .field {
margin: auto auto 1em auto; margin: 1em auto auto auto;
width: 90%;
} }
.field input { .field input {
box-shadow: 0.5em 0.5em 0.5em rgba(0, 0, 255, .2); box-shadow: 0.5em 0.5em 0.5em rgba(0, 0, 255, .2);
margin: auto;
width: 100%;
font-size: 100%;
} }
.field input[type="text"], .field input[type="list"] { .field input[type="text"], .field input[type="list"] {
margin: auto; height: 2.5vh;
width: 10vw;
border-top: none; border-top: none;
border-left: none; border-left: none;
border-right: none; border-right: none;
border-bottom: 1px gray solid; border-bottom: 1px gray solid;
} }
.field label { .field input[type="submit"] {
display: block; height: 4vh;
text-align: center; border: none;
} }
#command-action { #command-action {