Browse Source

css improve for mobile

master
filesite 5 months ago
parent
commit
df3a615a11
  1. 2
      themes/beauty/controller/ListController.php
  2. 2
      themes/beauty/controller/SiteController.php
  3. 2
      www/css/beauty.css

2
themes/beauty/controller/ListController.php

@ -121,7 +121,7 @@ Class ListController extends Controller {
$page = $this->get('page', 1); $page = $this->get('page', 1);
$pageSize = $this->get('limit', 24); $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)) { if (!empty($subcate)) {
$pageTitle = "{$subcate['directory']}的照片,来自{$pageTitle}"; $pageTitle = "{$subcate['directory']}的照片,来自{$pageTitle}";
if (!empty($subcate['title'])) { if (!empty($subcate['title'])) {

2
themes/beauty/controller/SiteController.php

@ -116,7 +116,7 @@ Class SiteController extends Controller {
$page = $this->get('page', 1); $page = $this->get('page', 1);
$pageSize = $this->get('limit', 24); $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'])) { if (!empty($readmeFile['title'])) {
$pageTitle = $readmeFile['title']; $pageTitle = $readmeFile['title'];
} }

2
www/css/beauty.css

@ -140,6 +140,8 @@ a:link{text-decoration:none}
.hidden-xs{display:none} .hidden-xs{display:none}
.navbar-fixed-left{position:static;width:100%} .navbar-fixed-left{position:static;width:100%}
.img_main{margin-left:0} .img_main{margin-left:0}
.pagination>li>a, .pagination>li>span{padding:3px 7px}
} }
@keyframes musicTurn { @keyframes musicTurn {

Loading…
Cancel
Save