Skip to content

Commit

Permalink
feat: style references
Browse files Browse the repository at this point in the history
  • Loading branch information
xnought committed Nov 28, 2023
1 parent 2d696c5 commit 422a082
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions frontend/src/lib/References.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@

{#if bib}
{#each bib.entries_raw as entry, i}
<div class="mt-2" id={`#${entry._id}`}>
<div style="font-size: 12px;">
[{entry._id}]
<div class={i > 0 ? "mt-5" : ""} id={`#${entry._id}`}>
<div class="bg-gray-100">
[<span style="font-size: 15px;">{entry._id}</span>]
</div>
<div>
<div class="border-l-2 border-gray-400 pl-2">
<div style="font-size: 17px;">
{#if entry.getFieldAsString("url")}
<a href={`${entry.getFieldAsString("url")}`}>
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/routes/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ p {
}

a {
color: var(--color-theme-1);
text-decoration: none;
color: #ef562f;
}

a:hover {
Expand Down

0 comments on commit 422a082

Please sign in to comment.