From df3a615a1161f1dea19901e80028d244f852af21 Mon Sep 17 00:00:00 2001 From: filesite Date: Wed, 10 Jul 2024 16:48:05 +0800 Subject: [PATCH] css improve for mobile --- themes/beauty/controller/ListController.php | 2 +- themes/beauty/controller/SiteController.php | 2 +- www/css/beauty.css | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/themes/beauty/controller/ListController.php b/themes/beauty/controller/ListController.php index 8a9749e..7d8cd75 100644 --- a/themes/beauty/controller/ListController.php +++ b/themes/beauty/controller/ListController.php @@ -121,7 +121,7 @@ Class ListController extends Controller { $page = $this->get('page', 1); $pageSize = $this->get('limit', 24); - $pageTitle = !empty($titles) ? $titles[0]['name'] : "FileSite.io - 无数据库、基于文件和目录的Markdown文档、网址导航、图书、图片、视频网站PHP开源系统"; + $pageTitle = !empty($titles) ? $titles[0]['name'] : "FileSite.io"; if (!empty($subcate)) { $pageTitle = "{$subcate['directory']}的照片,来自{$pageTitle}"; if (!empty($subcate['title'])) { diff --git a/themes/beauty/controller/SiteController.php b/themes/beauty/controller/SiteController.php index 30f432e..1a46ea0 100644 --- a/themes/beauty/controller/SiteController.php +++ b/themes/beauty/controller/SiteController.php @@ -116,7 +116,7 @@ Class SiteController extends Controller { $page = $this->get('page', 1); $pageSize = $this->get('limit', 24); - $pageTitle = !empty($titles) ? $titles[0]['name'] : "FileSite.io - 无数据库、基于文件和目录的Markdown文档、网址导航、图书、图片、视频网站PHP开源系统"; + $pageTitle = !empty($titles) ? $titles[0]['name'] : "FileSite.io"; if (!empty($readmeFile['title'])) { $pageTitle = $readmeFile['title']; } diff --git a/www/css/beauty.css b/www/css/beauty.css index 91a801d..6d0d8c1 100644 --- a/www/css/beauty.css +++ b/www/css/beauty.css @@ -140,6 +140,8 @@ a:link{text-decoration:none} .hidden-xs{display:none} .navbar-fixed-left{position:static;width:100%} .img_main{margin-left:0} + + .pagination>li>a, .pagination>li>span{padding:3px 7px} } @keyframes musicTurn {