Skip to content

Commit 9859531

Browse files
committed
feat: updated liturgical calendar (.kald v6)
1 parent ad119c4 commit 9859531

4 files changed

Lines changed: 63 additions & 3260 deletions

File tree

app/liturgical-calendar/app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
const APP_ROOT = '/app/liturgical-calendar/'
88

9-
const WASM_URL = `${APP_ROOT}liturgical_calendar_wasm.wasm`
10-
const KALD_URL = `${APP_ROOT}romanus_universale.kald`
11-
const LITS_URL = `${APP_ROOT}romanus_universale_la.lits`
9+
const WASM_URL = `${APP_ROOT}liturgical_calendar_wasm.wasm?v=20260519`
10+
const KALD_URL = `${APP_ROOT}romanus_universale.kald?v=20260519`
11+
const LITS_URL = `${APP_ROOT}romanus_universale_la.lits?v=20260519`
1212

1313
const KAL_ENGINE_OK = 0
1414
const KAL_ERR_BUILD_ID_MISMATCH = -22

app/liturgical-calendar/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
<link rel="icon" type="image/png" href="/favicons/favicon.png" />
1313
<link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon.png" />
1414
<link rel="mask-icon" href="/favicons/safari-pinned-tab.svg" color="#5bbad5" />
15-
<link rel="stylesheet" href="main.css" media="screen" />
15+
<link rel="stylesheet" href="../../styles/main.css" media="screen" />
16+
<link rel="stylesheet" href="liturgical-calendar.css?v=20260519" media="screen" />
1617
</head>
1718
<body class="type-index">
1819
<a class="sr-only" href="#main">Aller au contenu</a>
@@ -61,6 +62,6 @@ <h1 class="main-heading" id="h1">Calendarium Romanum Generale</h1>
6162
</div>
6263
</noscript>
6364
</div>
64-
<script type="module" src="/app/liturgical-calendar/app.js?v=20260517"></script>
65+
<script type="module" src="/app/liturgical-calendar/app.js?v=20260519"></script>
6566
</body>
6667
</html>
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
table.liturgical-calendar {
2+
& > * > :first-child,
3+
& > * > :nth-child(2) {
4+
width: 3em;
5+
}
6+
th {
7+
text-align: start;
8+
}
9+
.feasts {
10+
padding-block: 0;
11+
p {
12+
margin-block: 0.5em;
13+
&::before {
14+
content: '';
15+
display: inline-flex;
16+
vertical-align: 0;
17+
aspect-ratio: 1;
18+
height: 0.75em;
19+
background-color: var(--colorG13);
20+
margin-inline-end: 0.5em;
21+
}
22+
}
23+
24+
.color-albus::before {
25+
background-color: hsl(35, 45%, 84%);
26+
}
27+
28+
.color-viridis::before {
29+
background-color: hsl(120, 100%, 25%);
30+
}
31+
32+
.color-violaceus::before {
33+
background-color: hsl(297, 78%, 37%); /* hsl(300, 100%, 25%); */
34+
}
35+
36+
.color-rubeus::before {
37+
background-color: #d40000; /* #ff0000, #bf2329 */
38+
}
39+
40+
.color-rosaceus::before {
41+
background-color: hsl(330, 100%, 71%);
42+
}
43+
44+
/*
45+
.color-black::before {
46+
background-color: hsl(0, 0%, 0%);
47+
}
48+
49+
.color-gold {
50+
background-color: hwb(51 0% 0%);
51+
}
52+
*/
53+
}
54+
.doy a {
55+
scroll-margin-top: 3.5em;
56+
}
57+
}

0 commit comments

Comments
 (0)