#410 dark mode (css)

This commit is contained in:
Hamid Reza Mohammadi 2023-10-04 20:11:59 +03:30
parent 0224b8b66c
commit b2ec812503
15 changed files with 105 additions and 31 deletions

View File

@ -14,7 +14,7 @@
<meta name="robots" content="noindex, nofollow" />
<title>پیشنهاد اضافه شدن مصرع‌های جا افتاده</title>
<script src="/lib/jquery/dist/jquery.min.js"></script>
<link href="/css/p8.css?version=56" rel="stylesheet" type="text/css" />
<link href="/css/p8.css?version=57" rel="stylesheet" type="text/css" />
<style>
label {
width: 100px;

View File

@ -15,7 +15,7 @@
گنجور » نمایش خوانش
</title>
<link href="~/dist/skin/pink.flag/css/jplayer.pink.flag.min.css" rel="stylesheet" type="text/css" />
<link href="~/css/p8.css?version=56" rel="stylesheet" type="text/css" />
<link href="~/css/p8.css?version=57" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml" />
<script>

View File

@ -11,7 +11,7 @@
<title>انتخاب قطعهٔ موسیقی مرتبط با شعر از بیپتونز</title>
<meta name="robots" content="noindex, nofollow" />
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
<link href="/css/p8.css?version=56" rel="stylesheet" type="text/css" />
<link href="/css/p8.css?version=57" rel="stylesheet" type="text/css" />
<link href="/css/spotify.css" rel="stylesheet" type="text/css" />
<script src="/lib/jquery/dist/jquery.min.js"></script>

View File

@ -14,7 +14,7 @@
@ViewData["Title"]
</title>
<link href="/css/p8.css?version=56" rel="stylesheet" type="text/css" />
<link href="/css/p8.css?version=57" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml" />

View File

@ -10,7 +10,7 @@
<title>انتخاب قطعه‌ای از برنامهٔ گلها مرتبط با این شعر</title>
<meta name="robots" content="noindex, nofollow" />
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
<link href="/css/p8.css?version=56" rel="stylesheet" type="text/css" />
<link href="/css/p8.css?version=57" rel="stylesheet" type="text/css" />
<link href="/css/spotify.css" rel="stylesheet" type="text/css" />
<script src="/lib/jquery/dist/jquery.min.js"></script>
<script src="~/js/golha.js"></script>

View File

@ -12,7 +12,7 @@
<title>
@Html.Raw(ViewData["Title"])
</title>
<link href="/css/p8.css?version=56" rel="stylesheet" type="text/css">
<link href="/css/p8.css?version=57" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon">
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml">
<script src="/lib/jquery/dist/jquery.min.js"></script>

View File

@ -13,7 +13,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="noindex, nofollow" />
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
<link href="/css/p8.css?version=56" rel="stylesheet" type="text/css" />
<link href="/css/p8.css?version=57" rel="stylesheet" type="text/css" />
</head>
<body class="bk-background">
<div id="hdr">

View File

@ -12,7 +12,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="سخنوران و نویسندگان گنجور روی نقشهٔ جغرافیایی" />
<meta charset="utf-8" />
<link href="/css/p8.css?version=56" rel="stylesheet" type="text/css" />
<link href="/css/p8.css?version=57" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/css/leaflet.css" />
<style>
.leaflet-container {

View File

@ -11,7 +11,7 @@
<title>پیشنهاد شعر مرتبط با تصویر</title>
<meta name="robots" content="noindex, nofollow" />
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
<link href="/css/p8.css?version=56" rel="stylesheet" type="text/css" />
<link href="/css/p8.css?version=57" rel="stylesheet" type="text/css" />
<link href="/css/spotify.css" rel="stylesheet" type="text/css" />
<script src="/lib/jquery/dist//jquery.min.js"></script>

View File

@ -12,7 +12,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="noindex, nofollow" />
<title>اطلاعات رتبه‌بندی خوانش‌های شعر</title>
<link href="/css/p8.css?version=56" rel="stylesheet" type="text/css" />
<link href="/css/p8.css?version=57" rel="stylesheet" type="text/css" />
</head>
<body>

View File

@ -11,7 +11,7 @@
<meta name="robots" content="noindex, nofollow" />
<title>درخواست حذف حاشیه</title>
<script src="/lib/jquery/dist/jquery.min.js"></script>
<link href="/css/p8.css?version=56" rel="stylesheet" type="text/css" />
<link href="/css/p8.css?version=57" rel="stylesheet" type="text/css" />
<style>
label {
width: 100px;

View File

@ -13,7 +13,7 @@
<meta name="robots" content="noindex, nofollow" />
<title>گنجور » گزارش خطا در خوانش</title>
<script src="/lib/jquery/dist/jquery.min.js"></script>
<link href="/css/p8.css?version=56" rel="stylesheet" type="text/css" />
<link href="/css/p8.css?version=57" rel="stylesheet" type="text/css" />
<link href="~/dist/skin/pink.flag/css/jplayer.pink.flag.min.css" rel="stylesheet" type="text/css" />
<style>
label {

View File

@ -14,7 +14,7 @@
@ViewData["Title"]
</title>
<link href="/css/p8.css?version=56" rel="stylesheet" type="text/css" />
<link href="/css/p8.css?version=57" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml" />

View File

@ -15,7 +15,7 @@
@ViewData["Title"]
</title>
<link href="/css/p8.css?version=56" rel="stylesheet" type="text/css" />
<link href="/css/p8.css?version=57" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml" />

View File

@ -983,21 +983,21 @@ ol {
bottom: 25% !important;
}
.w3tooltip .w3tooltiptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #555 transparent transparent transparent;
}
.w3tooltip .w3tooltiptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #555 transparent transparent transparent;
}
.w3tooltip:hover .w3tooltiptext {
visibility: visible;
opacity: 1;
}
.w3tooltip:hover .w3tooltiptext {
visibility: visible;
opacity: 1;
}
.w3tooltiptext {
font-family: Vazir;
@ -1823,9 +1823,9 @@ fieldset {
background-color: darkred;
}
.utilbar{
background:none;
border:none;
.utilbar {
background: none;
border: none;
}
/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
@ -2024,3 +2024,77 @@ fieldset {
.book img {
border: 1px solid black;
}
@media(prefers-color-scheme: dark) {
* {
color: bisque !important;
}
body {
background: rgba(0, 0, 0, 0.9) !important;
}
#main, .poem, .sitem, .related-images-frame, .comments-like-div {
background: rgba(27, 27, 27, 0.6) url('/image/pbk-b.jpg') top center repeat scroll;
border-color: darkgray !important;
background-blend-mode: multiply;
}
.comments-like-div{
background-image: none;
}
div {
border-color: burlywood !important;
border-width: 1px !important;
}
.clear-both,
.tooltip {
background-color: black !important;
}
a {
-webkit-text-fill-color: burlywood !important;
}
.clear-both.utilbar {
background: none !important;
}
.noborder-btn, #comments {
background: none !important;
background-color: none !important;
}
#rpoems > div.century {
background-color: rgb(0, 27, 13) !important;
}
#rpoems {
background-color: none !important;
}
select, input {
color: rgb(5, 173, 145) !important;
background: black !important;
border-color: burlywood !important;
border-width: 1px !important;
}
.notice, td, .commentquote {
background: rgba(0, 0, 0, 0.763) !important;
}
.bnum {
mix-blend-mode: hard-light !important;
}
.clear-both {
background: none !important;
}
}