still cooking like a pro (francesco)
All checks were successful
Deploy / trigger (push) Successful in 22s

This commit is contained in:
2026-05-26 12:43:51 +02:00
parent 0361eba45c
commit bb0e460073
3 changed files with 8 additions and 2 deletions

View File

@@ -8,6 +8,7 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
</head> </head>
<body> <body>

View File

@@ -15,6 +15,10 @@ async function showfile(filename, target) {
container.innerHTML = marked.parse(markdownRaw); container.innerHTML = marked.parse(markdownRaw);
if (window.MathJax) {
MathJax.typesetPromise([container]);
}
} catch (error) { } catch (error) {
container.innerHTML = "<p style='color:red'>Errore nel caricamento dell'appunto.</p>"; container.innerHTML = "<p style='color:red'>Errore nel caricamento dell'appunto.</p>";
} }

View File

@@ -284,7 +284,8 @@ footer a {
} }
} }
/* --- Sezione Divulgativa --- */ /* --- Sezione Divulgativa --- */
.appunti-style ul { .appunti-style ul,
.appunti-style ol {
padding-left: 1.5em; padding-left: 1.5em;
margin-top: 1.5em; margin-top: 1.5em;
margin-bottom: 1.5em; margin-bottom: 1.5em;
@@ -390,7 +391,7 @@ footer a {
} }
.btn-appunto.active { .btn-appunto.active {
background: #4db8ff; background: var(--accent-green);
color: #0b0f19; color: #0b0f19;
} }