-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
134 lines (112 loc) · 2.4 KB
/
index.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
/***************/
/* DIAGRAMAÇÃO */
/***************/
body {
display: grid;
grid-template-columns: 100%;
grid-template-rows: auto auto auto auto auto auto;
grid-template-areas:
'cabecalho'
'pesquisa'
'proposito'
'imoveis'
'conteudo'
'rodape';
}
nav {grid-area: navegacao;}
header {grid-area: cabecalho;}
section.pesquisa {grid-area: pesquisa;}
section.proposito {grid-area: proposito;}
section.imoveis {grid-area: imoveis;}
section.conteudo {grid-area: conteudo;}
footer {grid-area: rodape;}
/************/
/* PESQUISA */
/************/
.pesquisa {
display: flex;
flex-direction: column;
justify-content: center;
background-image: url("apartamento.png");
background-position: bottom;
background-attachment: fixed;
background-size: cover;
}
.pesquisa .form-pesquisa {
margin: 150px auto;
min-width: 70%;
border-radius: 5px;
background-color: rgba(255,255,255,.95);
}
.pesquisa .input {
display: flex;
flex-direction: row;
justify-content: center;
}
.pesquisa .input div,
.pesquisa #mais-filtros fieldset,
.pesquisa .submit div {
padding: 20px 30px;
}
.pesquisa #mais-filtros {
display: none;
flex-direction: row;
justify-content: space-around;
}
.filtros #mais-filtros {
display: none;
flex-direction: column;
justify-content: space-around;
}
.pesquisa .submit {
display: flex;
flex-direction: row;
justify-content: center;
}
.pesquisa #mais-filtros input[type=text],
.pesquisa #mais-filtros input[type=number],
.pesquisa #mais-filtros select {
width: 80px;
}
@media(max-width: 768px) {
.pesquisa .form-pesquisa {
margin: 0 auto;
width: 98%;
}
.pesquisa #mais-filtros {
flex-direction: column;
text-align: center;
}
.pesquisa .input div,
.pesquisa #mais-filtros fieldset,
.pesquisa .submit div {
padding: 20px 5px;
}
.pesquisa .input {
flex-direction: column;
align-items: center;
margin: 15px 0 0 0
}
}
/*************/
/* PROPÓSITO */
/*************/
.proposito {
padding: 30px 0;
background-color: rgb(0,158,170);
}
.proposito div {
margin: 30px auto;
width: 80%;
color: #fff;
text-align: center;
font-size: 1.2em;
}
blockquote {
font-style: italic;
}
.proposito div img {
margin: 0 5px;
width: 14%;
height: auto;
}