-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
104 lines (100 loc) · 2.05 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
@import url('https://fonts.googleapis.com/css2?family=Arima:wght@300&family=Dosis:wght@200;400&family=Great+Vibes&family=Hind&family=Jost&family=Kaushan+Script&family=La+Belle+Aurore&family=Lobster&family=Pacifico&family=Poppins:wght@200;300;400;500;600&family=Shadows+Into+Light&family=Ubuntu:wght@300&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #5F1EBE;
}
.container{
background-color: #fff;
width: 90vmin;
padding: 80px 50px;
border-radius: 10px;
box-shadow: 0 20px 40px rgba(38, 33, 61, 0.2);
}
.wrapper{
width: 100%;
height: 100%;
}
.search-box{
width: 100%;
display: flex;
justify-content: space-between;
}
.search-box input{
padding: 5px;
width: 70%;
border: none;
outline: none;
border-bottom: 3px solid #5F1EBE;
font-size: 16px;
}
.search-box button{
padding: 15px 0;
width: 25%;
font-size: 15px;
background-color: #5F1EBE;
border: none;
outline: none;
color: #fff;
border-radius: 5px;
cursor: pointer;
}
.result{
position: relative;
margin-top: 10px;
}
.result h3{
font-size: 25px;
color: #1f194c;
}
.result .details{
border-left: 3px solid;
padding: 0 0 0 10px;
border-color: #5F1EBE;
margin-top: 15px;
}
.pincode-map{
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.mapouter {
position: relative;
text-align: right;
width: 100%;
height: 200px;
}
.gmap_canvas {
overflow: hidden;
background: none !important;
width: 100%;
height: 200px;
}
.gmap_iframe {
height: 200px !important;
}
.details span{
font-weight: 500;
}
@media only screen and (max-width: 450px){
.container{
padding: 50px 30px;
}
}
@media only screen and (max-width: 600px){
.pincode-map{
flex-direction: column;
}
.map-area{
width: 100%;
}
}