diff --git a/README.md b/README.md
index 5b34891..2af8df4 100644
--- a/README.md
+++ b/README.md
@@ -1,15 +1,17 @@
無名の主页
-一个小主页,原来的看够了,重新弄一个
+简单的小主页,原来的看够了,重新弄一个
+>主页的名称字体已经过压缩,若用名称以外的字母会变回默认字体,这里是 [完整字体](https://cdn.jsdelivr.net/gh/imsyy/file/font/Pacifico-Regular.ttf)
+
### 功能
- [x] 站点简介
-- [x] 一言展示
-- [x] 年月日及时间展示
+- [x] Hitokoto 一言
+- [x] 日期及时间
- [x] 天气信息
-- [x] 时间胶囊 *时光进度条*
+- [x] 时光进度条
* [ ] 音乐插件
* [ ] 没想好
@@ -18,7 +20,7 @@
* [Bootstrap](https://getbootstrap.com/)
* [iziToast](https://izitoast.marcelodolza.com/)
-* [iconfont](https://www.iconfont.cn/)
+* [Iconfont](https://www.iconfont.cn/)
* [Font Awesome](https://fontawesome.com/)
* [jQuery](https://jquery.com/)
@@ -28,4 +30,4 @@
* [天气 API](https://www.tianqiapi.com/)
* [Hitokoto - 一言](https://hitokoto.cn/)
-
+
diff --git a/css/style.css b/css/style.css
index baf55c6..21f43bd 100644
--- a/css/style.css
+++ b/css/style.css
@@ -161,10 +161,11 @@ i.iconfont.icon-yinhao-copy {
margin: 0px 10px;
}
+/*
.social .link i:hover {
- color: #707070;
+ font-size: 2.5rem;
}
-
+*/
#link-text {
display: none;
flex: 1;
diff --git a/index.html b/index.html
index 7322b0e..2052f72 100644
--- a/index.html
+++ b/index.html
@@ -25,25 +25,13 @@
-
+
-
-
+
-
-
-
+
無名
+ 無名 &
+
+ Made by imsyy
diff --git a/js/main.js b/js/main.js
index cb03700..1e4efb7 100644
--- a/js/main.js
+++ b/js/main.js
@@ -13,14 +13,16 @@ iziToast.settings({
iconColor: '#efefef',
});
+//百度统计
+var _hmt = _hmt || [];
+(function () {
+ var hm = document.createElement("script");
+ hm.src = "https://hm.baidu.com/hm.js?14e9f35ff8bc67fd4bcb5f07a6e6655a";
+ var s = document.getElementsByTagName("script")[0];
+ s.parentNode.insertBefore(hm, s);
+})();
+
//控制台输出
-/*
-let date = '2021-09-27 21:32'
-let a = 'background: #606060; color: #fff; border-radius: 3px 0 0 3px;'
-let b = 'background: #1475B2; color: #fff; border-radius: 0 3px 3px 0;'
-console.log(`%c Update Time %c ${date} `, a, b)
-*/
-/* 样式代码 */
var styleTitle1 = `
font-size: 20px;
font-weight: 600;
@@ -35,8 +37,6 @@ font-weight: 400;
var styleContent = `
color: rgb(30,152,255);
`
-
-/* 内容代码 */
var title1 = '無名の主页'
var title2 = 'imsyy.top'
var content = `
@@ -319,22 +319,22 @@ document.oncontextmenu = function () {
//自动变灰
var myDate = new Date;
- var mon = myDate.getMonth() + 1;
- var date = myDate.getDate();
- var days = ['4.4', '5.12', '7.7', '9.9', '9.18', '12.13'];
- for (var day of days) {
+var mon = myDate.getMonth() + 1;
+var date = myDate.getDate();
+var days = ['4.4', '5.12', '7.7', '9.9', '9.18', '12.13'];
+for (var day of days) {
var d = day.split('.');
if (mon == d[0] && date == d[1]) {
- document.write(
- ''
- )
- $("#change").html("Silence in silence");
- $("#change1").html("今天是国家纪念日,全站已切换为黑白模式");
- iziToast.info({
- timeout: 14000,
- icon: 'fad fa-candle-holder',
- title: '今天是国家纪念日',
- message: '历史不会忘记,人民永远铭记!'
- });
+ document.write(
+ ''
+ )
+ $("#change").html("Silence in silence");
+ $("#change1").html("今天是国家纪念日,全站已切换为黑白模式");
+ iziToast.info({
+ timeout: 14000,
+ icon: 'fad fa-candle-holder',
+ title: '今天是国家纪念日',
+ message: '历史不会忘记,人民永远铭记!'
+ });
}
- }
\ No newline at end of file
+}
\ No newline at end of file