diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-11-15 06:20:30 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-11-15 06:20:30 +0100 |
| commit | aa1e0e321ad64b72d80efcb7984acdf1cd3d6b7a (patch) | |
| tree | 4abce617ce12dea1ebe9f030d93ebb5f4407cad8 /src/Pages/Index.cshtml | |
| parent | add94527050dc311c4ad117e25dd5e4517b3b887 (diff) | |
| download | lettnytt-aa1e0e321ad64b72d80efcb7984acdf1cd3d6b7a.tar.xz lettnytt-aa1e0e321ad64b72d80efcb7984acdf1cd3d6b7a.zip | |
refactor: Add some styling
Diffstat (limited to 'src/Pages/Index.cshtml')
| -rw-r--r-- | src/Pages/Index.cshtml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/Pages/Index.cshtml b/src/Pages/Index.cshtml index d7599bc..d809043 100644 --- a/src/Pages/Index.cshtml +++ b/src/Pages/Index.cshtml @@ -5,15 +5,17 @@ } @foreach (var article in Model.Source.Articles) { - <section> + <section style="margin-bottom: 8px;display: flex; flex-direction: column"> <a href="/les/@Model.Source.Name?url=@article.Href"> - <h2>@Html.Raw(article.Title)</h2> - <a href="@article.Href" rel="noreferrer">Kilde</a> + <h2 style="font-size: 18px">@Html.Raw(article.Title)</h2> </a> + <a href="@article.Href" style="font-size: 14px;display:flex;justify-content: end" rel="noreferrer">Les på nrk.no</a> </section> } <footer> - <small> - @Model.Source.Attribution © @Model.Source.Name, @(DateTime.UtcNow.Subtract(Model.Source.Created).Minutes) minutter siden - </small> + <p> + <small> + @Model.Source.Attribution © @Model.Source.Name, @(DateTime.UtcNow.Subtract(Model.Source.Created).Minutes) minutter siden + </small> + </p> </footer>
\ No newline at end of file |
