Skip to content

Commit 436ddeb

Browse files
committed
Add scrolling marquee in home
1 parent 7f7ec18 commit 436ddeb

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

home.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,48 @@
11
# Risk Data Library - Country Climate & Disaster Risk Screening Tools
22

3+
<div class="news-container">
4+
<div class="news-ticker">
5+
<span class="news-item"><strong>UPDATE:</strong> Climate Indices Tool released for CMIP6 indicators! </span>
6+
<span class="news-item"><strong>UPDATE:</strong> STORM v4 tropical cyclone global model analysis notebook</span>
7+
<span class="news-item"><strong>ANNOUNCEMENT:</strong> New CCDR dashboard released for interactive exploration of risk </span>
8+
<span class="news-item"><strong>WEBINAR:</strong> Join our upcoming training session on disaster risk screening tools - April 30, 2025 </span>
9+
</div>
10+
</div>
11+
12+
<style>
13+
.news-container {
14+
width: 100%;
15+
background-color: #f0f7fa;
16+
overflow: hidden;
17+
margin: 10px 0 20px 0;
18+
border-radius: 4px;
19+
border-left: 4px solid #118AB2;
20+
}
21+
.news-ticker {
22+
white-space: nowrap;
23+
padding: 10px 0;
24+
animation: ticker 30s linear infinite;
25+
color: #333;
26+
font-size: 14px;
27+
}
28+
@keyframes ticker {
29+
0% { transform: translateX(100%); }
30+
100% { transform: translateX(-100%); }
31+
}
32+
.news-item {
33+
display: inline-block;
34+
padding: 0 30px;
35+
}
36+
.news-item strong {
37+
color: #118AB2;
38+
font-weight: bold;
39+
}
40+
/* Pause animation on hover */
41+
.news-container:hover .news-ticker {
42+
animation-play-state: paused;
43+
}
44+
</style>
45+
346
This documentation offers guidance on risk screening and provides pythons tools to quickly produce natual hazards' risk screening at the national or sub-national level. The tools have originally being created for the World Bank's [**Country Climate and Development Report**](https://www.worldbank.org/en/publication/country-climate-development-reports) risk screening activities (2022/2024) and then furtherly developed within the [**Risk Data Library project**](docs/rdl.md).
447

548
The CCDR toolkit allow to perform spatial analytics of disaster risk based on global datasets.

0 commit comments

Comments
 (0)