From 08f815006447e4fac156812d9d3e705d74b98599 Mon Sep 17 00:00:00 2001 From: "Janus C. H. Knudsen" Date: Tue, 3 Feb 2026 15:55:44 +0100 Subject: [PATCH] Refactors page styles into separate CSS files Extracts inline styles from Razor pages into modular CSS files Adds new CSS files for components and specific page styles Improves code organization and maintainability by separating styling concerns Updates layout to include new CSS files and optional style sections --- Pages/Azure/Container.cshtml | 120 +--------------------- Pages/Azure/Index.cshtml | 78 +-------------- Pages/Forgejo/Actions.cshtml | 72 +------------ Pages/Forgejo/Index.cshtml | 161 +----------------------------- Pages/Forgejo/Repositories.cshtml | 72 +------------ Pages/Index.cshtml | 76 +------------- Pages/Shared/_Layout.cshtml | 2 + wwwroot/css/components.css | 135 +++++++++++++++++++++++++ wwwroot/css/pages/azure.css | 120 ++++++++++++++++++++++ wwwroot/css/pages/backup.css | 89 +++++++++++++++++ wwwroot/css/pages/dashboard.css | 55 ++++++++++ wwwroot/css/pages/forgejo.css | 152 ++++++++++++++++++++++++++++ 12 files changed, 577 insertions(+), 555 deletions(-) create mode 100644 wwwroot/css/components.css create mode 100644 wwwroot/css/pages/azure.css create mode 100644 wwwroot/css/pages/backup.css create mode 100644 wwwroot/css/pages/dashboard.css create mode 100644 wwwroot/css/pages/forgejo.css diff --git a/Pages/Azure/Container.cshtml b/Pages/Azure/Container.cshtml index 0bbd365..e10ccf0 100644 --- a/Pages/Azure/Container.cshtml +++ b/Pages/Azure/Container.cshtml @@ -4,6 +4,10 @@ ViewData["Title"] = $"Container: {Model.Name}"; } +@section Styles { + +} +