Skip to content

Commit b929261

Browse files
committed
Update docs
1 parent 1fc291b commit b929261

16 files changed

+884
-0
lines changed

docs/_quarto.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ website:
1111
favicon: images/favicon.png
1212
site-url: https://bennyistanto.github.io/precip-index
1313
repo-url: https://github.com/bennyistanto/precip-index
14+
repo-actions: [source, issue]
1415
back-to-top-navigation: true
1516
page-navigation: true
1617

docs/styles-dark.css

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,48 @@ a:hover {
5252
.callout {
5353
background-color: #2a2a2a;
5454
}
55+
56+
/* Navigation - dark theme */
57+
.navbar {
58+
box-shadow: 0 2px 4px rgba(0,0,0,0.3);
59+
}
60+
61+
/* Navbar logo - slightly brighter backdrop for dark theme */
62+
.navbar .navbar-brand img,
63+
.navbar-logo img {
64+
background-color: rgba(255, 255, 255, 0.1);
65+
border-radius: 6px;
66+
padding: 4px;
67+
max-height: 48px;
68+
}
69+
70+
/* Sidebar active link - dark theme */
71+
.sidebar nav[role=doc-toc] ul > li > a.active {
72+
border-left-color: #66b3ff;
73+
color: #66b3ff;
74+
}
75+
76+
/* Feature card heading - dark theme */
77+
.feature-card h3 {
78+
color: #66b3ff;
79+
}
80+
81+
/* Figures - dark theme */
82+
figcaption {
83+
color: #999;
84+
}
85+
86+
/* Footer - dark theme */
87+
.footer {
88+
border-top-color: #3a3a3a;
89+
}
90+
91+
/* Badges - dark theme adjustments */
92+
.badge-python {
93+
background-color: #3388dd;
94+
}
95+
96+
.badge-status {
97+
background-color: #e6ad00;
98+
color: #000;
99+
}

docs/styles.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,15 @@ code {
160160
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
161161
}
162162

163+
/* Make navbar logo more visible against primary background */
164+
.navbar .navbar-brand img,
165+
.navbar-logo img {
166+
background-color: rgba(255, 255, 255, 0.15);
167+
border-radius: 6px;
168+
padding: 4px;
169+
max-height: 48px;
170+
}
171+
163172
/* Sidebar */
164173
.sidebar nav[role=doc-toc] ul > li > a.active {
165174
border-left-color: #0066CC;

output/csv/drought_events_bali.csv

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
event_id,start_idx,end_idx,start_date,end_date,duration,magnitude,intensity,peak,peak_idx,peak_date,interarrival
2+
1,44,54,1961-09-01,1962-07-01,11,4.158311367034912,0.37802830609408294,-1.9767407178878784,46,1961-11-01,49.0
3+
2,93,96,1965-10-01,1966-01-01,4,1.5631792545318604,0.3907948136329651,-1.8837605714797974,94,1965-11-01,84.0
4+
3,177,179,1972-10-01,1972-12-01,3,1.0602052211761475,0.35340174039204914,-1.761784553527832,178,1972-11-01,49.0
5+
4,226,239,1976-11-01,1977-12-01,14,3.0156633853912354,0.2154045275279454,-1.726251244544983,238,1977-11-01,43.0
6+
5,269,274,1980-06-01,1980-11-01,6,0.8423449993133545,0.14039083321889242,-1.5389187335968018,272,1980-09-01,29.0
7+
6,298,308,1982-11-01,1983-09-01,11,4.622329235076904,0.4202117486433549,-2.2248146533966064,302,1983-03-01,56.0
8+
7,354,358,1987-07-01,1987-11-01,5,2.3811168670654297,0.47622337341308596,-1.7955036163330078,356,1987-09-01,10.0
9+
8,364,368,1988-05-01,1988-09-01,5,0.6012024879455566,0.12024049758911133,-1.4482706785202026,366,1988-07-01,39.0
10+
9,403,405,1991-08-01,1991-10-01,3,0.7814936637878418,0.2604978879292806,-1.601405382156372,404,1991-09-01,130.0
11+
10,533,539,2002-06-01,2002-12-01,7,2.373208999633789,0.3390298570905413,-1.9673033952713013,537,2002-10-01,35.0
12+
11,568,570,2005-05-01,2005-07-01,3,0.21271812915802002,0.07090604305267334,-1.38907790184021,570,2005-07-01,109.0
13+
12,677,683,2014-06-01,2014-12-01,7,3.3137354850769043,0.4733907835824149,-1.9056628942489624,680,2014-09-01,114.0
14+
13,791,793,2023-12-01,2024-02-01,3,0.22149181365966797,0.07383060455322266,-1.3515187501907349,793,2024-02-01,4.0
15+
14,795,800,2024-04-01,2024-09-01,6,1.324794888496399,0.22079914808273315,-1.5726383924484253,799,2024-08-01,

output/csv/drought_timeseries_bali.csv

Lines changed: 805 additions & 0 deletions
Large diffs are not rendered by default.

output/csv/wet_events_bali.csv

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
event_id,start_idx,end_idx,start_date,end_date,duration,magnitude,intensity,peak,peak_idx,peak_date,interarrival
2+
1,128,135,1968-09-01,1969-04-01,8,2.0907363891601562,0.26134204864501953,1.6188935041427612,130,1968-11-01,61.0
3+
2,189,197,1973-10-01,1974-06-01,9,2.1154625415802,0.23505139350891113,1.6198562383651733,190,1973-11-01,18.0
4+
3,207,219,1975-04-01,1976-04-01,13,7.253527641296387,0.5579636647151067,1.9947786331176758,211,1975-08-01,79.0
5+
4,286,293,1981-11-01,1982-06-01,8,1.7918004989624023,0.2239750623703003,1.6319478750228882,291,1982-04-01,202.0
6+
5,488,500,1998-09-01,1999-09-01,13,11.949838638305664,0.9192183567927434,2.6339974403381348,497,1999-06-01,144.0
7+
6,632,643,2010-09-01,2011-08-01,12,12.105968475341797,1.0088307062784831,2.445220470428467,639,2011-04-01,73.0
8+
7,705,716,2016-10-01,2017-09-01,12,9.51069450378418,0.7925578753153483,2.2916712760925293,711,2017-04-01,72.0
9+
8,777,781,2022-10-01,2023-02-01,5,0.5730084180831909,0.11460168361663818,1.5353130102157593,777,2022-10-01,
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

output/netcdf/spei_12_bali.nc

-9 Bytes
Binary file not shown.
-100 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)