Metadata viewer minor layout tweaks
This commit is contained in:
+3
-5
@@ -78,9 +78,7 @@
|
||||
|
||||
<p class="authors">
|
||||
@for (author of book?.metadata!.authors; track $index; let isLast = $last) {
|
||||
<a class="author-link" (click)="goToAuthorBooks(author)">
|
||||
{{ author }}
|
||||
</a>
|
||||
<a class="author-link" (click)="goToAuthorBooks(author)">{{ author }}</a>
|
||||
@if (!isLast) {
|
||||
<span class="author-separator">, </span>
|
||||
}
|
||||
@@ -192,7 +190,7 @@
|
||||
<div class="tag-container">
|
||||
@for (category of book.metadata!.categories; track category) {
|
||||
<a (click)="goToCategory(category)" class="tag-clickable">
|
||||
<app-tag color="rose" size="xs">{{ category }}</app-tag>
|
||||
<app-tag color="red" size="xs">{{ category }}</app-tag>
|
||||
</a>
|
||||
}
|
||||
</div>
|
||||
@@ -222,7 +220,7 @@
|
||||
<div class="tag-container">
|
||||
@for (tag of book.metadata!.tags; track tag) {
|
||||
<a (click)="goToTag(tag)" class="tag-clickable">
|
||||
<app-tag color="cyan" size="xs">{{ tag }}</app-tag>
|
||||
<app-tag color="green" size="xs">{{ tag }}</app-tag>
|
||||
</a>
|
||||
}
|
||||
</div>
|
||||
|
||||
+13
-11
@@ -126,14 +126,15 @@
|
||||
}
|
||||
|
||||
.series-link {
|
||||
color: #3e9aee;
|
||||
color: var(--primary-color);
|
||||
cursor: pointer;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 500;
|
||||
font-style: italic;
|
||||
transition: color 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
color: #72b3ee;
|
||||
color: var(--primary-hover-color);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
@@ -197,13 +198,14 @@
|
||||
}
|
||||
|
||||
.author-link {
|
||||
color: #3e9aee;
|
||||
color: cornflowerblue;
|
||||
cursor: pointer;
|
||||
transition: color 0.2s ease;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.author-link:hover {
|
||||
color: #72b3ee;
|
||||
color: dodgerblue;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@@ -216,7 +218,6 @@
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
align-items: center;
|
||||
padding: 0.5rem 0;
|
||||
|
||||
@media (min-width: 640px) {
|
||||
flex-direction: row;
|
||||
@@ -302,7 +303,7 @@
|
||||
.tags-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.tag-row {
|
||||
@@ -367,7 +368,7 @@
|
||||
@media (min-width: 768px) {
|
||||
.metadata-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: 0.625rem;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -403,11 +404,12 @@
|
||||
color: var(--primary-text-color);
|
||||
cursor: pointer;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
font-weight: 500;
|
||||
|
||||
.metadata-link:hover {
|
||||
color: var(--primary-hover-color);
|
||||
text-decoration: underline;
|
||||
&:hover {
|
||||
color: var(--primary-hover-color);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.edit-icon {
|
||||
|
||||
Reference in New Issue
Block a user