summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2020-04-12 10:47:39 +0800
committerBigCoke233 <hi@guhub.cn>2020-04-12 10:47:39 +0800
commit3a962c3e638bb7b4e951601cede1ccb237829a6b (patch)
tree6e74d114bb80c6cbdacd0e0e7bbb76ebfb2e55c6
parent085fa0a512073d7bb519a390795f6325e6a6e77f (diff)
:pencil2: Perf: 细节优化
-rw-r--r--assets/css/main/special.css2
-rw-r--r--libs/Contents.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/assets/css/main/special.css b/assets/css/main/special.css
index 920ad56..35d8b42 100644
--- a/assets/css/main/special.css
+++ b/assets/css/main/special.css
@@ -17,7 +17,7 @@
.banner-mask {
width: 100%;
height: 100%;
- background: rgba(30,30,30,.25);
+ background: rgba(30,30,30,.15);
z-index: 1;
color: #fff;
display: flex;
diff --git a/libs/Contents.php b/libs/Contents.php
index 45b8f03..31f740f 100644
--- a/libs/Contents.php
+++ b/libs/Contents.php
@@ -92,7 +92,7 @@ class Contents
if (!$dataLink) return $text; //普通文章别匹配!
$http = Typecho_Http_Client::get();
if (false == $http) {
- $text = str_replace($matches[0][0], '<br>对不起, 您的主机不支持 php-curl 扩展而且没有打开 allow_url_fopen 功能, 无法正常使json友链功能', $text);
+ $text = str_replace($matches[0][0], '<br>对不起, 您的主机不支持 php-curl 扩展而且没有打开 allow_url_fopen 功能, 无法正常使 json 友链功能', $text);
return $text;
}
for ($j = 0; $j <= $dataLink; $j++) {