update styles

This commit is contained in:
James Shiffer 2020-06-12 02:10:56 -07:00
parent be37e16795
commit 80b8a28c36
3 changed files with 9 additions and 6 deletions

View File

@ -22,9 +22,9 @@
{#if user.author} {#if user.author}
<h1>HowFeed Publisher Dashboard</h1> <h1>HowFeed Publisher Dashboard</h1>
<p><a href="/cms/create">Publish a new article</a></p> <p><a href="/cms/create">Publish a new article</a></p>
<p><a href="/cms/update">Edit an existing article</a></p> <p><strike><a href="/cms/update">Edit an existing article</a></strike> Coming soon!</p>
<p><a href="/cms/delete">Delete an article</a></p> <p><a href="/cms/delete">Delete an article</a></p>
{:else} {:else}
<FakeTweet message="We're watching you" author="Caltrans HQ" verified likes=0 replies=2 date={new Date(2019, 8, 21)} handle="CaltransHQ" avatar="/ct.jpg" /> <p>Welcome to your account. Contact the webmaster if your account needs publisher privileges.</p>
{/if} {/if}
</div> </div>

View File

@ -55,7 +55,7 @@
background-size: cover; background-size: cover;
position: fixed; position: fixed;
height: 24rem; height: 24rem;
width: 100vw; width: 100%;
z-index: 0; z-index: 0;
filter: blur(5px); filter: blur(5px);
} }
@ -65,7 +65,7 @@
position: absolute; position: absolute;
z-index: 1; z-index: 1;
margin: 0 auto; margin: 0 auto;
width: 100vw; width: 100%;
} }
h1.welcome, h2.desc { h1.welcome, h2.desc {
color: whitesmoke; color: whitesmoke;
@ -84,6 +84,9 @@
div.article-list { div.article-list {
box-shadow: 0 0 5px #000; box-shadow: 0 0 5px #000;
} }
div.article-meta {
font-weight: bold;
}
</style> </style>
<svelte:head> <svelte:head>
@ -106,7 +109,8 @@
</div> </div>
</a> </a>
{:else} {:else}
<FakeTweet message="No articles found. SAD!" author="Donald J. Trump" verified likes=1488 replies=6969 handle="realDonaldTrump" avatar="/realDonaldTrump.jpg" /> <p>No articles have been published yet :(</p>
<p>Come back soon!</p>
{/each} {/each}
</div> </div>
</div> </div>

View File

@ -90,7 +90,6 @@ div.article-meta {
margin-right: 0; margin-right: 0;
padding: 0.75rem; padding: 0.75rem;
line-height: 1; line-height: 1;
font-weight: bold;
flex: 1 0 0; flex: 1 0 0;
} }
.article-title { .article-title {