diff options
author | kartofen <mladenovnasko0@gmail.com> | 2022-08-28 00:08:07 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2022-08-28 00:08:07 +0300 |
commit | 35b06b4fc851192916e000ad5e7e2f458846448c (patch) | |
tree | f9a1536aae76a5058d26f8b82ddcf63e83f500cc /src/components/Thread.svelte | |
parent | 8f5278eb443864910dd9c2131c992d71e3af2d20 (diff) |
working on thread uploading
Diffstat (limited to 'src/components/Thread.svelte')
-rw-r--r-- | src/components/Thread.svelte | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/components/Thread.svelte b/src/components/Thread.svelte index 8e07c9f..fee1a78 100644 --- a/src/components/Thread.svelte +++ b/src/components/Thread.svelte @@ -21,10 +21,10 @@ {#if thread.id != "rules"} <div class="threadbox" id="{thread.id}"> <span style="line-height: 2rem;"> - <a href="/board/{board}/{thread.id}">{thread.id}</a> + <a href="/board/{board}/{thread.id}" style="font-family: mono">{thread.id}</a> at {formatTime(thread.creationDate)} <br> - -> <span style="{creatorColor(thread.threadCreator )}"> + -> <span style="{creatorColor(thread.threadCreator )}; font-family: mono"> {thread.threadCreator} </span > <br> @@ -33,8 +33,8 @@ {#each replies as id} <a href="/board/{board}/{thread.id}#{id}" onmouseover="document.getElementById('{id}').classList.add('targeted')" onmouseleave="document.getElementById('{id}').classList.remove('targeted')">>>{id}</a>  {/each} - </span> <hr> - {/if} + </span> <hr> + {/if} </span> @@ -60,15 +60,15 @@ {/if} <style> -.threadbox { + .threadbox { width: 600px; border: 10px solid green; padding: 10px; margin: 10px; margin-left: 0px; background-color: white; -} -:target, .targeted { + } + :target, .targeted { background-color: #ffa; -} + } </style> |