-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstylesheet.css
More file actions
174 lines (140 loc) · 2.23 KB
/
stylesheet.css
File metadata and controls
174 lines (140 loc) · 2.23 KB
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
*{
margin:0;
padding:0;
box-sizing:border-box;
}
body{
font-family: "Open Sans", sans-serif;
font-optical-sizing: auto;
font-weight: <weight>;
font-style: normal;
font-variation-settings: "width" 100;
background:#f4f6f8;
}
.container{
max-width:auto;
margin:auto;
padding:30px;
}
#titlesize{
font-size: 20px;
}
#description{
font-size: 15px;
}
#map {
height:700px;
width:100%;
margin-bottom:20px;
border-radius:10px;
margin-top: 20px;
background:#f4f6f8;
}
/* HEADER */
.header{
background:white;
padding:25px;
border-radius:10px;
margin-bottom:40px;
box-shadow:0 4px 10px rgba(0,0,0,0.08);
}
.header h1{
margin-bottom:8px;
}
/* PRIORITY SECTIONS */
.priority{
padding:25px;
border-radius:10px;
margin-bottom:40px;
}
.priority h2{
margin-bottom:20px;
}
/* COLORS */
.high{
background:#ffe5e5;
border-left:8px solid red;
}
.medium{
background:#fff0d6;
border-left:8px solid orange;
}
.low{
background:#fff9db;
border-left:8px solid #f4d35e;
}
/* GRID */
.parish-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:20px;
}
/* PARISH CARD */
.parish-card{
background:white;
padding:20px;
border-radius:10px;
box-shadow:0 4px 10px rgba(0,0,0,0.05);
}
.parish-card h3{
margin-bottom:15px;
}
/* COMMUNITY */
.community{
margin-bottom:10px;
border-radius:6px;
background:#f9f9f9;
}
summary{
padding:10px;
cursor:pointer;
font-weight:bold;
}
summary:hover{
background:#eee;
}
/* COMMUNITY INFO */
.community-info{
padding:10px;
border-top:1px solid #ddd;
}
/* NEEDS */
.needs{
margin-bottom:8px;
}
/* INJURY STATUS */
.injured{
color:red;
font-weight:bold;
}
.none{
color:green;
font-weight:bold;
}
/* RESPONSIVE */
@media(max-width:768px){
.header h1{
font-size:1.6rem;
}
}
/* Drop animation */
@keyframes dropIn {
0% {
transform: translateY(-200px);
opacity: 0;
}
70% {
transform: translateY(10px);
opacity: 1;
}
85% {
transform: translateY(-5px);
}
100% {
transform: translateY(0);
}
}
/* Apply animation to marker */
.leaflet-marker-icon.drop-animation {
animation: dropIn 0.6s ease;
}