Skip to content

Commit

Permalink
fix footer css
Browse files Browse the repository at this point in the history
  • Loading branch information
morizunzhu committed Jul 6, 2020
1 parent c549145 commit 877a577
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,7 @@ public static function personalConfig(Typecho_Widget_Helper_Form $form){}
*/
public static function footer()
{
// 你能留下我的信息, 我会很高兴的 ^_^
echo "<script>console.log('%c SkyMo v1.1 %c by Alomerry | www.alomerry.com ','color:#444;background:#eee;padding:5px 0;','color:#eee;background:#448bff;padding:5px 0;');</script>";
echo "<script>console.log('%c SkyMo v1.1 %c by Alomerry | https://www.alomerry.com ','color:#fff; background: linear-gradient(to right , #7A88FF, #d27aff); padding:5px; border-radius: 10px;','color:#fff; background: linear-gradient(to right , #7A88FF, #d27aff); padding:5px; border-radius: 10px;');</script>";

$SkyMo = Helper::options()->plugin('SkyMo');
$path = self::STATIC_DIR;
Expand All @@ -173,7 +172,7 @@ public static function footer()
//页脚
if($SkyMo->footStyle == 'open'){
echo "<link rel='stylesheet' type='text/css' href='" . $path . "/css/foot/foot-require.css' />";
echo "<link rel='stylesheet' type='text/css' href='" . $path . "/css/" .$SkyMo->footCSS."' />";
echo "<link rel='stylesheet' type='text/css' href='" . $path . "/css/foot/" .$SkyMo->footCSS."' />";
echo "<script src='" . $path . "/js/footer.js'></script>";
}

Expand Down

0 comments on commit 877a577

Please sign in to comment.