Skip to content

Refactor of Scoped CSS #413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@
@bind-Value="@model.Content"></MarkdownTextArea>
<ValidationMessage For="() => model.Content"></ValidationMessage>

<div class="btn-group position-absolute bottom-0 end-0 m-5 extra-buttons">
<div class="btn-group position-absolute bottom-0 end-0 m-5 admin-extra-buttons">
<button class="btn btn-primary btn-outlined btn-sm dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
More
</button>

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +0,0 @@
.actions {
float:right;
}

.actions * {
margin-left: 5px;
margin-top: 25px;
width: 125px;
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
@using Microsoft.AspNetCore.StaticFiles
@if (string.IsNullOrEmpty(PreviewImageUrlFallback))
{
<img src="@PreviewImageUrl" alt="Preview image blogpost" loading="@LazyLoadTag" decoding="@DecodingTag" />
<img class="preview-img" src="@PreviewImageUrl" alt="Preview image blogpost" loading="@LazyLoadTag" decoding="@DecodingTag" />
}
else
{
<picture>
<source srcset="@PreviewImageUrl" type="@GetMimeType()"/>
<img src="@PreviewImageUrlFallback" alt="Preview image blogpost" loading="@LazyLoadTag" decoding="@DecodingTag" />
<img class="preview-img" src="@PreviewImageUrlFallback" alt="Preview image blogpost" loading="@LazyLoadTag" decoding="@DecodingTag" />
</picture>
}

This file was deleted.

197 changes: 0 additions & 197 deletions src/LinkDotNet.Blog.Web/Features/Components/ShortBlogPost.razor.css

This file was deleted.

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions src/LinkDotNet.Blog.Web/Features/Home/Components/NavMenu.razor.css

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 5 additions & 0 deletions src/LinkDotNet.Blog.Web/Pages/_Layout.cshtml
Original file line number Diff line number Diff line change
@@ -26,6 +26,11 @@
<link rel="preload" href="css/fonts/icons.woff" as="font" type="font/woff" crossorigin />
<link href="css/basic.css" rel="stylesheet" />
<link href="css/icons.css" rel="stylesheet" />
<link href="css/aboutme.css" rel="stylesheet" />
<link href="css/admin.css" rel="stylesheet" />
<link href="css/components.css" rel="stylesheet" />
<link href="css/home.css" rel="stylesheet" />
<link href="css/blogpost.css" rel="stylesheet" />
<link rel="preload" href="LinkDotNet.Blog.Web.styles.css" as="style">
<link href="LinkDotNet.Blog.Web.styles.css" rel="stylesheet"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
665 changes: 664 additions & 1 deletion src/LinkDotNet.Blog.Web/wwwroot/css/basic.css

Large diffs are not rendered by default.

117 changes: 0 additions & 117 deletions src/LinkDotNet.Blog.Web/wwwroot/css/icons.css

This file was deleted.