From f87578c94fddb92c005887c2132bbdd5c360c09f Mon Sep 17 00:00:00 2001
From: Roman Kelesidis
Date: Wed, 31 Jan 2024 23:59:22 +0700
Subject: [PATCH] Used `modern-normalize` instead of outdated `nornalize-css`
(#1363)
* Used `modern-normalize` instead of outdated `nornalizecss`
* Update filelist.php
* Update page_header.tpl
* Update sidebar1.html
* Update CHANGELOG.md
---
CHANGELOG.md | 3 +-
filelist.php | 21 +-
library/language/source/html/sidebar1.html | 2 -
styles/templates/default/css/main.css | 2 +-
.../default/css/modern-normalize.min.css | 9 +
styles/templates/default/css/normalize.css | 350 ------------------
styles/templates/default/page_header.tpl | 2 +-
7 files changed, 27 insertions(+), 362 deletions(-)
create mode 100644 styles/templates/default/css/modern-normalize.min.css
delete mode 100644 styles/templates/default/css/normalize.css
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0bcfb35f8..ddec173fc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,7 +6,7 @@
**Merged pull requests:**
- Release 2.4.1 🦉 ([belomaxorka](https://github.com/belomaxorka), [kovalensky](https://github.com/kovalensky))
-- Timeline — 2.4.1 [\#1340](https://github.com/torrentpier/torrentpier/pull/1340), [\#1341](https://github.com/torrentpier/torrentpier/pull/1341), [\#1342](https://github.com/torrentpier/torrentpier/pull/1342), [\#1343](https://github.com/torrentpier/torrentpier/pull/1343) ([kovalensky](https://github.com/kovalensky))
+- Timeline — 2.4.1 [\#1340](https://github.com/torrentpier/torrentpier/pull/1340), [\#1341](https://github.com/torrentpier/torrentpier/pull/1341), [\#1342](https://github.com/torrentpier/torrentpier/pull/1342), [\#1343](https://github.com/torrentpier/torrentpier/pull/1343), [\#1362](https://github.com/torrentpier/torrentpier/pull/1362) ([kovalensky](https://github.com/kovalensky))
- [BEP47] sha1 hash files are binary by default [\#1348](https://github.com/torrentpier/torrentpier/pull/1348) ([kovalensky](https://github.com/kovalensky))
- Extend css contrast attributes [\#1349](https://github.com/torrentpier/torrentpier/pull/1349) ([kovalensky](https://github.com/kovalensky))
- Flatten file list for hybrid files [\#1350](https://github.com/torrentpier/torrentpier/pull/1350) ([kovalensky](https://github.com/kovalensky))
@@ -20,6 +20,7 @@
- Added support for fastly cdn [\#1327](https://github.com/torrentpier/torrentpier/pull/1327) ([belomaxorka](https://github.com/belomaxorka), [kovalensky](https://github.com/kovalensky))
- Use `target="_blank"` in admin for profile_url() redirects [\#1330](https://github.com/torrentpier/torrentpier/pull/1330) ([belomaxorka](https://github.com/belomaxorka))
- Used declensions for days in some cases [\#1310](https://github.com/torrentpier/torrentpier/pull/1310) ([belomaxorka](https://github.com/belomaxorka))
+- Used `modern-normalize` instead of outdated `nornalize-css` [\#1363](https://github.com/torrentpier/torrentpier/pull/1363) ([belomaxorka](https://github.com/belomaxorka))
- Used datastore to show statistic for more performance [\#1309](https://github.com/torrentpier/torrentpier/pull/1309) ([belomaxorka](https://github.com/belomaxorka))
- Used `humn_size()` to count average of releases in tr_stats.php [\#1313](https://github.com/torrentpier/torrentpier/pull/1313) ([belomaxorka](https://github.com/belomaxorka))
- Some enhancements in default template [\#1312](https://github.com/torrentpier/torrentpier/pull/1312) ([belomaxorka](https://github.com/belomaxorka))
diff --git a/filelist.php b/filelist.php
index 04b36b3e1..2c64d3d7f 100644
--- a/filelist.php
+++ b/filelist.php
@@ -124,12 +124,18 @@ body {
background-color: #1f1f1f;
}
+hr {
+ border: 0;
+ height: 0;
+ border-bottom: 1px solid #acacac;
+}
+
table {
table-layout: auto;
- border: collapse;
+ border: none;
width: auto;
margin: 20px auto;
- font-family: "Segoe UI","Noto Sans",Helvetica,sans-serif;
+ font-family: "Segoe UI", "Noto Sans", Helvetica, sans-serif;
background-color: #2c2c2c;
}
@@ -154,6 +160,7 @@ p {
}
a {
+ text-decoration: none;
color: #1d9100;
}
@@ -174,7 +181,7 @@ sup {
transition: opacity 0.7s;
width: 400px;
background-color: #111;
- color: #c6c4c4;
+ color: #acacac;
text-align: left;
border-radius: 5px;
padding: 5px;
@@ -185,11 +192,11 @@ sup {
opacity: 0.97;
}
-← Back to the topic
+← Back to the topic
- Name: {$data['name']} | Date: {$data['date']} | Size: {$data['size']}
+ Name: {$data['name']} | Date: {$data['date']} | Size: {$data['size']}
-
Created by: {$data['client']}
+ Created by: {$data['client']}
@@ -208,7 +215,7 @@ sup {
{$allFiles}
-Generated by TorrentPier
+Generated by TorrentPier