Skip to content

Commit 79d5bfa

Browse files
committed
Update home.md
1 parent 309d347 commit 79d5bfa

File tree

1 file changed

+171
-3
lines changed

1 file changed

+171
-3
lines changed

home.md

Lines changed: 171 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,178 @@ The map shows countries that have been already covered by the risk analytics. Cl
166166

167167
<iframe src="docs/maps/CCDR_map.html" height="500" width="100%"></iframe>
168168

169+
<style>
170+
.ccdr-countries-table {
171+
width: 100%;
172+
border-collapse: collapse;
173+
margin: 2rem 0;
174+
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
175+
border-radius: 12px;
176+
overflow: hidden;
177+
background: white;
178+
}
179+
180+
.ccdr-countries-table th {
181+
color: white;
182+
padding: 1.5rem 1rem;
183+
text-align: center;
184+
font-size: 1.1rem;
185+
font-weight: 600;
186+
border: none;
187+
}
188+
189+
.ccdr-countries-table th:nth-child(1) {
190+
background: linear-gradient(to bottom, #0b3860 0%, #1e4a6b 100%);
191+
}
192+
193+
.ccdr-countries-table th:nth-child(2) {
194+
background: linear-gradient(to bottom, #1e5a8a 0%, #2d6b99 100%);
195+
}
196+
197+
.ccdr-countries-table th:nth-child(3) {
198+
background: linear-gradient(to bottom, #2a6ba3 0%, #3a7bb5 100%);
199+
}
200+
201+
.ccdr-countries-table th:nth-child(4) {
202+
background: linear-gradient(to bottom, #4682b4 0%, #5693c4 100%);
203+
}
204+
205+
.ccdr-countries-table td {
206+
padding: 1.5rem 1rem;
207+
vertical-align: top;
208+
border: none;
209+
border-right: 1px solid #e8f4f8;
210+
background-color: #fafcfd;
211+
}
212+
213+
.ccdr-countries-table td:last-child {
214+
border-right: none;
215+
}
216+
217+
.ccdr-countries-table tr:nth-child(even) td {
218+
background-color: #f8fbfc;
219+
}
220+
221+
.country-list {
222+
list-style: none;
223+
padding: 0;
224+
margin: 0;
225+
}
226+
227+
.country-list li {
228+
padding: 0.4rem 0;
229+
position: relative;
230+
padding-left: 1.2rem;
231+
}
232+
233+
.country-list li:before {
234+
content: "";
235+
color: #fe5f86;
236+
font-weight: bold;
237+
position: absolute;
238+
left: 0;
239+
}
240+
241+
.country-list li.sub-country {
242+
padding-left: 2.4rem;
243+
font-size: 0.95rem;
244+
color: #666;
245+
}
246+
247+
.country-list li.sub-country:before {
248+
content: "";
249+
color: #999;
250+
left: 1.2rem;
251+
}
252+
253+
.country-list a {
254+
color: #0b3860;
255+
text-decoration: none;
256+
font-weight: 600;
257+
border-bottom: 2px solid transparent;
258+
transition: all 0.2s ease;
259+
}
260+
261+
.country-list a:hover {
262+
color: #fe5f86;
263+
border-bottom-color: #fe5f86;
264+
}
265+
266+
@media (max-width: 768px) {
267+
.ccdr-countries-table {
268+
font-size: 0.9rem;
269+
}
270+
271+
.ccdr-countries-table th,
272+
.ccdr-countries-table td {
273+
padding: 1rem 0.5rem;
274+
}
275+
276+
.ccdr-countries-table th {
277+
font-size: 1rem;
278+
}
279+
}
280+
</style>
281+
169282
<!-- Table of CCDR Countries -->
170-
| South & South-East Asia | Africa | Latin America & Caribbean | East Asia and Pacific |
171-
|-------------------------|--------------------------------|------------------------|----------------------------|
172-
| - Pakistan<br>- Nepal<br>- Bangladesh<br>- [**Cambodia**](https://github.com/GFDRR/CCDR-tools/blob/dev_push/reports/KHM_RSK.pdf)<br>- India<br>- Thailand<br>- Malaysia<br>- Philippines<br>- Mongolia | - Ghana<br>- Burkina Faso<br>- Mali<br>- Niger<br>- Chad<br>- Mauritania<br>- Guinea-Bissau<br>- Nigeria<br>- [**Senegal**](https://github.com/GFDRR/CCDR-tools/blob/dev_push/reports/SEN_RSK.pdf)<br>- Ethiopia | - Dominican Republic<br>- [**OECS countries**](https://github.com/GFDRR/CCDR-tools/blob/dev_push/reports/OECS_RSK.pdf)<br>&nbsp;&nbsp;- Antigua & Barbuda<br>&nbsp;&nbsp;- Dominica<br>&nbsp;&nbsp;- Saint Kitts & Nevis<br>&nbsp;&nbsp;- Saint Lucia<br>&nbsp;&nbsp;- Grenada<br>&nbsp;&nbsp;- Saint Vincent & Grenadines | - Fiji |
283+
<table class="ccdr-countries-table">
284+
<thead>
285+
<tr>
286+
<th>South & South-East Asia</th>
287+
<th>Africa</th>
288+
<th>Latin America & Caribbean</th>
289+
<th>East Asia and Pacific</th>
290+
</tr>
291+
</thead>
292+
<tbody>
293+
<tr>
294+
<td>
295+
<ul class="country-list">
296+
<li>Pakistan</li>
297+
<li>Nepal</li>
298+
<li>Bangladesh</li>
299+
<li><a href="https://github.com/GFDRR/CCDR-tools/blob/dev_push/reports/KHM_RSK.pdf"><strong>Cambodia</strong></a></li>
300+
<li>India</li>
301+
<li>Thailand</li>
302+
<li>Malaysia</li>
303+
<li>Philippines</li>
304+
<li>Mongolia</li>
305+
</ul>
306+
</td>
307+
<td>
308+
<ul class="country-list">
309+
<li>Ghana</li>
310+
<li>Burkina Faso</li>
311+
<li>Mali</li>
312+
<li>Niger</li>
313+
<li>Chad</li>
314+
<li>Mauritania</li>
315+
<li>Guinea-Bissau</li>
316+
<li>Nigeria</li>
317+
<li><a href="https://github.com/GFDRR/CCDR-tools/blob/dev_push/reports/SEN_RSK.pdf"><strong>Senegal</strong></a></li>
318+
<li>Ethiopia</li>
319+
</ul>
320+
</td>
321+
<td>
322+
<ul class="country-list">
323+
<li>Dominican Republic</li>
324+
<li><a href="https://github.com/GFDRR/CCDR-tools/blob/dev_push/reports/OECS_RSK.pdf"><strong>OECS countries</strong></a></li>
325+
<li class="sub-country">Antigua & Barbuda</li>
326+
<li class="sub-country">Dominica</li>
327+
<li class="sub-country">Saint Kitts & Nevis</li>
328+
<li class="sub-country">Saint Lucia</li>
329+
<li class="sub-country">Grenada</li>
330+
<li class="sub-country">Saint Vincent & Grenadines</li>
331+
</ul>
332+
</td>
333+
<td>
334+
<ul class="country-list">
335+
<li>Fiji</li>
336+
</ul>
337+
</td>
338+
</tr>
339+
</tbody>
340+
</table>
173341

174342
```{note}
175343
This documentation reflects the approches and methods adopted for the CCDR disaster risk screening following the [**CCDR guidance note**](https://github.com/GFDRR/CCDR-tools/blob/main/docs/CCDR_notes/CCDR%20Tools%20and%20Approaches.pdf). They are based on the most typical DRM framework, yet there are many alternative approaches that could be adopted for similar purposes.

0 commit comments

Comments
 (0)