-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
96 lines (96 loc) · 1.75 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
:root{
--very-dark-gray: hsl(0, 0%, 17%);
--dark-gray: hsl(0, 0%, 59%);
}
body{
box-sizing: border-box;
font-family: 'Rubik', sans-serif;
margin: 0;
}
section{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-image: url(images/pattern-bg.png);
background-size: cover;
background-repeat: no-repeat;
}
p:only-of-type{
color: white;
font-size: 28px;
font-weight: 500;
}
.form{
display: flex;
}
.search-input{
border: none;
border-radius: 11px 0 0 11px;
padding: 1em 2em;
width: 270px;
cursor: pointer;
}
.search-input:focus{
outline: none;
}
button{
cursor: pointer;
width: 60px;
background: black;
color: white;
border: none;
border-radius: 0 11px 11px 0;
}
button:hover{
background: var(--very-dark-gray);
}
.listed-results{
width: 350px;
height: 300px;
display: flex;
flex-direction: column;
justify-content: space-around;
padding: 1em 0;
background: white;
border-radius: 11px;
text-align: center;
}
.card-title{
text-align: center;
text-transform: uppercase;
color: var(--dark-gray);
font-weight: 700;
font-size: 9px;
letter-spacing: .2em;
margin-bottom: .5em;
}
li, input[type=text]{
list-style: none;
color: black;
text-transform: none;
letter-spacing: normal;
font-weight: 400;
font-size: 16px;
}
#map{
/* border: 1px red solid; */
height: 90vh;
width: 100vw;
}
.attribution{
text-align: center;
}
@media (min-width: 900px){
.search-input{
width: 500px;
}
.listed-results{
width: 900px;
flex-direction: row;
height: auto;
}
.card-title{
text-align: left;
}
}