summaryrefslogtreecommitdiffstats
path: root/includes/head.php
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2020-07-15 00:18:04 +0800
committerBigCoke233 <hi@guhub.cn>2020-07-15 00:18:04 +0800
commit08e6e289626620abd5dea49c0485fa80dc011e79 (patch)
tree1bfb0f7746ca207bded81616f18782d5eb9871c9 /includes/head.php
parent0615f62964b26f5d2f54da3c9262a1ea17df41ce (diff)
:poop: Add: 初步实现多语言功能,并使用 hint.css 添加 tooltip
Diffstat (limited to 'includes/head.php')
-rw-r--r--includes/head.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/head.php b/includes/head.php
index 41f143d..3a9c475 100644
--- a/includes/head.php
+++ b/includes/head.php
@@ -45,7 +45,7 @@ if($GLOBALS['miraclesIfCompressHTML']=='on') ob_start(); //ob 截取开始 ?>
<?php $this->options->headerEcho(); ?>
<!-- css -->
<?php
- $css_files=array("codestyle","owo.min","nprogress","gazeimg","main/miracles.min");
+ $css_files=array("codestyle","owo.min","nprogress","gazeimg","hint.min","main/miracles.min");
if($this->options->customCDN): $custom=$this->options->customCDN; else: $custom=Helper::options()->themeUrl("","Miracles"); endif;
Utils::addRequires($css_files,"css",$this->options->CDN,$custom);
?>
@@ -61,6 +61,7 @@ if($GLOBALS['miraclesIfCompressHTML']=='on') ob_start(); //ob 截取开始 ?>
endif; ?>
<!-- Font CDN -->
<link href="<?php echo $theme_font_url; ?>" rel="stylesheet">
- <?php endif; ?><style>.body-dark .pio-action .pio-home{background-image: url(<?php Utils::indexTheme('images/icons/home.png'); ?>);}.body-dark .pio-action .pio-close{background-image: url(<?php Utils::indexTheme('images/icons/remove.png'); ?>);}.body-dark .pio-action .pio-skin{background-image: url(<?php Utils::indexTheme('images/icons/skin.png'); ?>);}.body-dark .pio-action .pio-info{background-image: url(<?php Utils::indexTheme('images/icons/info.png'); ?>);}.body-dark .pio-action .pio-night{background-image: url(<?php Utils::indexTheme('images/icons/night.png'); ?>);}@media (min-width:992px) {.search{background-image:url(<?php Utils::indexTheme('images/search.png'); ?>);}.login{background-image:url(<?php Utils::indexTheme('images/login.png'); ?>)}}.search {background-position: bottom right;background-repeat: no-repeat}.login {background-position: bottom left;background-repeat:no-repeat}<?php $this->options->cssEcho(); ?></style>
+ <?php endif; ?><style>.body-dark .pio-action .pio-home{background-image: url(<?php Utils::indexTheme('images/icons/home.png'); ?>);}.body-dark .pio-action .pio-close{background-image: url(<?php Utils::indexTheme('images/icons/remove.png'); ?>);}.body-dark .pio-action .pio-skin{background-image: url(<?php Utils::indexTheme('images/icons/skin.png'); ?>);}.body-dark .pio-action .pio-info{background-image: url(<?php Utils::indexTheme('images/icons/info.png'); ?>);}.body-dark .pio-action .pio-night{background-image: url(<?php Utils::indexTheme('images/icons/night.png'); ?>);}@media (min-width:992px) {.search{background-image:url(<?php Utils::indexTheme('images/search.png'); ?>);}.login{background-image:url(<?php Utils::indexTheme('images/login.png'); ?>)}}.search {background-position: bottom right;background-repeat: no-repeat}.login {background-position: bottom left;background-repeat:no-repeat}
+ .comment-by-author > .comment-body-inner > .comment-main > .comment-meta > .comment-date:before {content: '<?php gtecho('commentListTexts','byAuthor'); ?>'!important}<?php $this->options->cssEcho(); ?></style>
</head>
<body class="<?php if($this->options->bodyFonts && $this->options->bodyFonts=1): ?>body-serif<?php endif; ?>"> \ No newline at end of file