Skip to content

Commit

Permalink
Index CSS update
Browse files Browse the repository at this point in the history
Index CSS update
  • Loading branch information
daniel08garcia committed Aug 24, 2024
1 parent 7c38afb commit 1bf70ae
Show file tree
Hide file tree
Showing 3 changed files with 196 additions and 84 deletions.
2 changes: 1 addition & 1 deletion createToC.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function generateHTMLList(structure) {
.join("");
return `<li>${structure.name}<ul>${content}</ul></li>`;
} else if (structure.type === "file" && structure.sermonId !== "undefined") {
return `<li><a href="siglo/${structure.relativePath}">Sermon:${structure.sermonId} ${structure.name} </a></li>`;
return `<li><a href="siglo/${structure.relativePath}"> <b class="sermon-id-index"> Sermon:${structure.sermonId} </b> ${structure.name} </a></li>`;
}
return "";
}
Expand Down
8 changes: 8 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,18 @@ body {
ul {
line-height: 1.5;
}
li::marker {
color: rgb(135, 30, 30);
}
/* Hide the cover page image by default */
.cover-image {
display: none;
}
@media only screen and (max-width: 600px) {
.sermon-id-index {
display: none;
}
}

/* Define styles specifically for printing */
@media print {
Expand Down
Loading

0 comments on commit 1bf70ae

Please sign in to comment.