diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-11-16 09:56:42 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-11-16 09:56:42 +0100 |
| commit | 4285f48864c3eed297bddae7dbba6765d0b26373 (patch) | |
| tree | 479a812ea8955309cc2a971d25f46ae0569f8d5d | |
| parent | fe3b27dcefb5934cc3f564232028ec3647e4d703 (diff) | |
| download | lettnytt-4285f48864c3eed297bddae7dbba6765d0b26373.tar.xz lettnytt-4285f48864c3eed297bddae7dbba6765d0b26373.zip | |
refactor: Use classes to style frontpage
| -rw-r--r-- | src/Pages/Index.cshtml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Pages/Index.cshtml b/src/Pages/Index.cshtml index d809043..f01b263 100644 --- a/src/Pages/Index.cshtml +++ b/src/Pages/Index.cshtml @@ -5,11 +5,11 @@ } @foreach (var article in Model.Source.Articles) { - <section style="margin-bottom: 8px;display: flex; flex-direction: column"> + <section class="news-link"> <a href="/les/@Model.Source.Name?url=@article.Href"> - <h2 style="font-size: 18px">@Html.Raw(article.Title)</h2> + <h2>@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> + <a href="@article.Href" class="source-link" rel="noreferrer">Les på nrk.no</a> </section> } <footer> |
