-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
79 lines (67 loc) · 1.12 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/* mobile version*/
@media (max-width:530px){
html * { font-size: 1em; }
input { width: 100%; }
#map {
width: 100%;
height: 60%;
height: -webkit-calc(100% - 275px);
height: -moz-calc(100% - 275px);
height: calc(100% - 275px);
margin: 20px 0px;
}
.inputText {
text-align: center;
}
button {
padding: 10px;
margin: 10px 0px;
}
}
/* desktop version*/
@media (min-width:530px){
#map {
width: 100%;
height: 60%;
height: -webkit-calc(100% - 154px);
height: -moz-calc(100% - 154px);
height: calc(100% - 154px);
margin: 20px 0px;
}
.inputText {
display: inline-block;
}
button {
padding: 5px;
margin: 0px 0px;
}
}
html,body {
height:100%;
padding:0;
margin:0;
}
body {
padding: 0px 10px;
}
h1 {
margin: 0px;
padding: 6px;
}
input {
text-align: center;
}
footer {
bottom: 10px;
position: absolute;
}
button {
border-radius: 10px;
background: linear-gradient(whitesmoke,lightgray);
border: 1px solid gray;
color: black;
cursor: pointer;
}
button:hover {
background: linear-gradient(lightgray,whitesmoke);
}