Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 48 additions & 38 deletions src/epub/templates/template.css
Original file line number Diff line number Diff line change
@@ -1,56 +1,66 @@

h1, h2, h3, h4, h5 {
color: #666;
font-family: sans-serif;
/* --- Main Song List --- */
#songs {
list-style-type: none;
padding: 0;
margin-top: 1em;
background-color: #ffffff;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

p {
color: #444;
font-family: serif;
font-size: 1.3em;
#songs li {
display: flex;
align-items: center;
border-bottom: 1px solid #e9ecef;
padding: 0.8em 1.5em;
transition: background-color 0.2s ease;
}

a {
text-decoration: none;
color: #1EAEDB;
#songs li:last-child {
border-bottom: none;
}

li {
list-style: decimal;
color: #444;
font-family: sans-serif;
font-size: 1.2em;
line-height: 1.4em;
#songs li:hover {
background-color: #eef2f5;
}

div.comment {
margin-top: 1.2em;
font-style: italic;
#songs li a {
flex-grow: 1;
font-size: 1.1em;
color: #333;
font-weight: 400;
}

div.letters {
margin-top: 2em;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
#songs li a:hover {
text-decoration: none;
color: #0056b3;
}

div.letters a {
font-size: x-large;
margin-left: 0.2em;
margin-right: 0.2em;
/* --- Edit Icon Button --- */
.editicon {
background-color: transparent;
border: none;
cursor: pointer;
padding: 0;
margin-left: auto; /* Pushes the icon to the right */
padding-left: 1em; /* Ensures space between title and icon */
display: inline-flex;
align-items: center;
justify-content: center;
opacity: 0.6;
transition: opacity 0.2s ease;
}

body.index div.letters a {
display: block;
font-size: x-large;
.editicon:hover {
opacity: 1;
}

body.index div.letters {
margin-top: 0;
display: block;
.editicon .material-symbols-outlined {
font-size: 20px;
color: #6c757d;
transition: color 0.2s ease;
}

ul#songbooks a {
margin: 5ex;
}
.editicon:hover .material-symbols-outlined {
color: #007bff;
}