-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
165 lines (142 loc) · 3.01 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Rubik', sans-serif;
}
.container {
background-image: url("images/pattern-bg.png");
background-repeat: no-repeat;
background-size: 100% 85%;
position: relative;
height: 300px;
margin: 0 auto;
}
h1 {
font-size: 32px;
padding: 30px;
text-align: center;
color: #ffffff;
font-weight: 500;
}
#search_section {
display: flex;
justify-content: center;
border-radius: 50px;
}
#search_section input::placeholder {
opacity: 0.5;
}
#search_section input {
padding: 12px 0px 12px 20px;
font-size: 16px;
width: 40%;
border: 0;
border-bottom-left-radius: 10px;
border-top-left-radius: 10px;
}
#search_section button {
border: 0;
padding: 15px 20px;
border-bottom-right-radius: 10px;
border-top-right-radius: 10px;
background: #000000;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
#search_section button:hover {
background-color: #313131;
}
.result_container {
display: none;
background-color: #ffffff;
border-radius: 15px;
max-width: 80%;
margin: 0 auto;
margin-top: 44px;
justify-content: space-around;
-webkit-box-shadow: 0px 10px 35px -18px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 10px 35px -18px rgba(0,0,0,0.75);
box-shadow: 0px 10px 35px -18px rgba(0,0,0,0.75);
position: relative;
z-index: 999;
}
.result {
flex: 1 1 25%;
padding: 4% 0%;
margin-left: 35px;
position: relative;
}
.location::before, .time_zone::before, .isp::before {
position: absolute;
height: 35%;
border-left: 1px solid hsl(0, 1%, 74%);
content: ' ';
left: -20px;
margin-top: 12px;
}
.result h3 {
font-size: 11px;
color: hsl(0, 0%, 59%);
line-height: 3;
text-transform: uppercase;
letter-spacing: 1px;
}
.result p {
font-size: 20px;
color: hsl(0, 0%, 17%);
font-weight: 700;
}
.result_container .isp {
border-right: 0;
}
.outer_container{
position: relative;
}
/* leafletjs style */
#mapid {
height: 60vh;
margin-top: -45px;
}
@media screen and (max-width: 768px) {
.container {
background-image: url("images/pattern-bg.png");
background-repeat: no-repeat;
background-size: 100% 80%;
position: relative;
height: 300px;
margin: 0 auto;
}
h1 {
font-size: 26px;
padding: 16px 30px 20px 30px;
}
form input {
padding: 12px 0px 12px 20px;
font-size: 14px;
width: 66%;
}
.result_container {
flex-direction: column;
margin-top: 25px;
text-align: center;
}
.result {
padding: 5px 0px 10px 0px;
margin-left: 0;
}
.location::before, .time_zone::before, .isp::before {
border-left: none;
}
#mapid {
height: 64vh;
margin-top: -60px;
}
}
@media screen and (min-width: 1344px) {
h1 {
padding: 22px;
}
}