-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
129 lines (110 loc) · 2.28 KB
/
styles.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.6;
background-color: #f5f7fa;
color: #333;
}
header {
background-color: #10b981;
color: white;
text-align: center;
padding: 2rem;
margin-bottom: 2rem;
}
header h1 {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
#properties-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1.3rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.property-card {
background: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.2s;
}
.property-card:hover {
transform: translateY(-4px);
}
.property-details {
padding: 1.5rem;
}
.property-title {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: #1f2937;
}
.property-description {
color: #6b7280;
margin-bottom: 1rem;
}
.property-info {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
margin-bottom: 1rem;
font-size: 0.875rem;
}
.property-info span {
display: flex;
align-items: center;
gap: 0.5rem;
}
.coordinates {
font-size: 0.875rem;
color: #6b7280;
margin-bottom: 1rem;
}
.show-greenery-btn {
width: 100%;
padding: 0.75rem;
background-color: #10b981;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-weight: 500;
transition: background-color 0.2s;
}
.show-greenery-btn:hover {
background-color: #059669;
}
.show-greenery-btn:disabled {
background-color: #9ca3af;
cursor: not-allowed;
}
.greenery-results {
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px solid #e5e7eb;
}
.greenery-percentage {
font-size: 1.25rem;
font-weight: 600;
color: #10b981;
margin-bottom: 1rem;
}
.greenery-image {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 4px;
}
.error-message {
color: #ef4444;
margin-top: 0.5rem;
font-size: 0.875rem;
}