From d07a73c165320675221503f3d195f16a2e7f93db Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Tue, 1 Sep 2026 20:49:46 +0330 Subject: [PATCH] rollng back items --- .../PageTypes/_CatPagePartial.cshtml | 2 +- .../PageTypes/_GenericPagePartial.cshtml | 2 +- .../PageTypes/_PoetPagePartial.cshtml | 2 +- GanjooRazor/wwwroot/css/p8.css | 26 ------------------- 4 files changed, 3 insertions(+), 29 deletions(-) diff --git a/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_CatPagePartial.cshtml b/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_CatPagePartial.cshtml index 26db0334..267bb134 100644 --- a/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_CatPagePartial.cshtml +++ b/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_CatPagePartial.cshtml @@ -23,7 +23,7 @@ } -
@Html.Raw(Model.GanjoorPage.HtmlText)
+ @Html.Raw(Model.GanjoorPage.HtmlText) @* Category Tabs *@ diff --git a/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_GenericPagePartial.cshtml b/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_GenericPagePartial.cshtml index 48903335..43f846a5 100644 --- a/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_GenericPagePartial.cshtml +++ b/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_GenericPagePartial.cshtml @@ -56,7 +56,7 @@ } -
@Html.Raw(Model.GanjoorPage.HtmlText)
+ @Html.Raw(Model.GanjoorPage.HtmlText) @if (Model.GanjoorPage.Id == GanjoorPageModel.GanjoorSlashVaznPageId) { diff --git a/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_PoetPagePartial.cshtml b/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_PoetPagePartial.cshtml index 8cee6384..a48ff486 100644 --- a/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_PoetPagePartial.cshtml +++ b/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_PoetPagePartial.cshtml @@ -42,7 +42,7 @@ } -
@Html.Raw(Model.GanjoorPage.HtmlText)
+ @Html.Raw(Model.GanjoorPage.HtmlText) @* Poet Tabs *@ diff --git a/GanjooRazor/wwwroot/css/p8.css b/GanjooRazor/wwwroot/css/p8.css index ffc60dcd..47911d32 100644 --- a/GanjooRazor/wwwroot/css/p8.css +++ b/GanjooRazor/wwwroot/css/p8.css @@ -3012,29 +3012,3 @@ mark { pointer-events: none; /* Prevents interaction */ transition: opacity 0.3s ease-out; } - -/* ---------- distinct links inside poet/category bio text (matches the - comment-link boxed style on the حاشیه‌ها page, per user request) ---------- */ - -.ganjoor-page-body a { - display: inline-flex; - align-items: center; - justify-content: center; - padding: 2px 6px; - margin: 0 1px; - border-radius: 6px; - background-color: var(--card-inner); - border: 1px solid var(--border-gold); - color: var(--lapis); - -webkit-text-fill-color: var(--lapis); - transition: all 0.2s ease; -} - -.ganjoor-page-body a:hover { - background-color: var(--brand); - border-color: var(--brand); - color: var(--card-paper) !important; - -webkit-text-fill-color: var(--card-paper) !important; - transform: translateY(-1px); - box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12); -}