-
Notifications
You must be signed in to change notification settings - Fork 3
/
styles.scss
137 lines (136 loc) · 3.06 KB
/
styles.scss
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
html,body{
font-family: 'Rubik', sans-serif;
height: 100%;
margin: 0;
padding: 0;
}
#__next,main{
height: 100%;
}
.upper-container{
height: 37%;
background-image: url("./images/pattern-bg.png");
background-size: cover;
}
.middle-container{
width: 100%;
height: 63%;
position: relative;
#map{
height: 100%;
}
.attribute{
position: absolute;
bottom: 0;
right: 0;
z-index: 9999;
font-size: 11px;
background: rgba(255, 255, 255, 0.7);
}
}
.lower-container{
width: 100%;
position: absolute;
top: 2rem;
z-index: 9999;
.container{
padding:0 24px;
}
}
.form-group{
display: flex;
justify-content: center;
input[type="text"]{
width: 30rem;
height: 3.2rem;
font-size: 18px;
padding-left: 20px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
border-top-left-radius: 12px;
border-bottom-left-radius: 12px;
}
button[type="submit"]{
width: 3rem;
height: 3.2rem;
background-color: black;
color: white;
font-weight: bolder;
font-size:1rem;
outline: none;
border: none;
border-top-right-radius: 12px;
border-bottom-right-radius: 12px;
}
}
.card{
border: none;
border-radius: 12px;
.card-body{
text-align: left;
padding-top: 2rem;
position: relative;
.card-element{
border-left: 1px solid hsl(0, 0%, 59%);
padding-left: 2rem;
h3{
font-size: calc(16px + (22 - 16) * ((100vw - 300px) / (1600 - 300)));
font-weight:700;
}
h6{
font-size: calc(10px + (12 - 10) * ((100vw - 300px) / (1600 - 300)));
font-weight:700;
letter-spacing: 1px;
color:hsl(0, 0%, 59%);
}
}
.card-element:first-child{
border-left: none;
}
}
}
.minimizer{
margin-top: -1rem;
-webkit-box-shadow: 0 8px 6px -6px rgba(0,0,0,.15);
-moz-box-shadow: 0 8px 6px -6px rgba(0,0,0,.15);
box-shadow: 0 8px 6px -6px rgba(0,0,0,.15);
.card-body{
padding: 0.5rem 1rem 0 1rem;
}
}
.leaflet-container .leaflet-control-attribution{
display: none;
}
@media only screen and (max-width: 768px){
.card{
.card-body{
.card-element{
text-align: center;
border-left: none;
}
}
}
}
@media only screen and (max-width: 576px){
.form-group{
input[type="text"]{
width: 17rem;
}
}
.card{
margin-top: -18px;
.card-body{
padding:1.5rem 1rem 0.5em 1rem;
.card-element{
text-align: center;
margin-bottom: 10px;
border-left: none;
}
}
}
.minimizer{
.card-body{
padding: 0.5rem 1rem 0 1rem;
}
}
}