Skip to content

Commit

Permalink
🎉auto update by Gmeek action
Browse files Browse the repository at this point in the history
  • Loading branch information
cao-gift committed Jun 23, 2024
1 parent fcb521e commit 5d4ea48
Show file tree
Hide file tree
Showing 6 changed files with 118 additions and 135 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
### :page_facing_up: [1](https://cao-gift.github.io/tag.html)
### :speech_balloon: 0
### :hibiscus: 3
### :alarm_clock: 2024-06-22 08:46:37
### :alarm_clock: 2024-06-23 09:39:08
### Powered by :heart: [Gmeek](https://github.com/Meekdai/Gmeek)
83 changes: 39 additions & 44 deletions docs/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,23 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link href="//cdn.staticfile.net/Primer/21.0.7/primer.css" rel="stylesheet" />
<link rel="icon" href="https://bu.dusays.com/2024/04/15/661d2848e143a.jpg">
<!-- 定义页面头部区块,包含元数据和页面特定的样式链接 -->
<meta name="description" content="我是一枚建筑学博士生,正在艰难毕业中。">
<!-- 页面描述 -->
<meta property="og:title" content="关于">
<!-- 社交媒体分享标题 -->
<meta property="og:description" content="我是一枚建筑学博士生,正在艰难毕业中。">
<!-- 社交媒体分享描述 -->
<meta property="og:type" content="article">
<!-- 社交媒体分享类型 -->
<meta property="og:url" content="https://cao-gift.github.io/about.html">
<!-- 社交媒体分享URL -->
<meta property="og:image" content="https://bu.dusays.com/2024/04/15/661d2848e143a.jpg">
<!-- 社交媒体分享图像 -->
<title>关于</title>
<!-- 页面标题 -->

<!-- 根据配置决定是否引入代码高亮样式 -->

</head>
<style>
Expand All @@ -23,53 +32,69 @@

</style>

<!-- 定义页面特定的样式区块 -->
<style>
.postTitle{margin: auto 0;font-size:40px;font-weight:bold;}
<!-- 文章标题样式 -->
.title-right{display:flex;margin:auto 0 0 auto;}
<!-- 标题右侧操作按钮布局 -->
.title-right .circle{padding: 14px 16px;margin-right:8px;}
#postBody{border-bottom: 1px solid var(--color-border-default);padding-bottom:36px;}
<!-- 文章主体内容样式 -->
#postBody hr{height:2px;}
#cmButton{height:48px;margin-top:48px;}
#comments{margin-top:64px;}
.g-emoji{font-size:24px;}
<!-- 分隔线样式 -->
.postTitle{margin: auto 0;font-size:40px;font-weight:bold;}
<!-- 文章标题样式 -->
.title-right{display:flex;margin:auto 0 0 auto;}
<!-- 标题右侧操作按钮布局 -->
.title-right .circle{padding: 14px 16px;margin-right:8px;}
#postBody{border-bottom: 1px solid var(--color-border-default);padding-bottom:36px;}
<!-- 文章主体内容样式 -->
#postBody hr{height:2px;}
<!-- 分隔线样式 -->
@media (max-width: 600px) {
body {padding: 8px;}
.postTitle{font-size:24px;}
}
<!-- 响应式样式,针对小于600px的屏幕 -->
</style>


<!-- 引入页面额外样式 -->


<body>
<div id="header">
<!-- 页面头部内容 -->
<h1 class="postTitle">关于</h1>
<!-- 显示文章标题 -->
<div class="title-right">
<!-- 标题右侧操作按钮区域 -->
<a href="https://cao-gift.github.io" id="buttonHome" class="btn btn-invisible circle" title="首页">
<!-- 首页链接按钮 -->
<svg class="octicon" width="16" height="16">
<path id="pathHome" fill-rule="evenodd"></path>
</svg>
</a>


<a class="btn btn-invisible circle" onclick="modeSwitch();" title="切换主题"style="display:none;">
<svg class="octicon" width="16" height="16" >
<!-- 主题切换按钮 -->
<svg class="octicon" width="16" height="16">
<path id="themeSwitch" fill-rule="evenodd"></path>
</svg>
</a>

</div>
<!-- 结束标题右侧操作按钮区域 -->
</div>
<div id="content">
<!-- 页面主体内容 -->
<div class="markdown-body" id="postBody"><p>我是一枚建筑学博士生,正在艰难毕业中。。。。<br>
方向是参数化设计</p></div>
<!-- 显示文章正文 -->
<div style="font-size:small;margin-top:8px;float:right;"></div>
<button class="btn btn-block" type="button" onclick="openComments()" id="cmButton">评论</button>
<div class="comments" id="comments"></div>
<!-- 底部提示信息 -->
</div>
<div id="footer">Copyright © <span id="year"></span><a href="https://cao-gift.github.io"> 诗源笔记 </a>
<p><a href="https://beian.miit.gov.cn/" target="_blank">沪ICP备2023029031号-1</a>
<span id="runday"></span>Powered by <a href="https://meekdai.com/Gmeek.html" target="_blank">Gmeek</a>
</p>

<script>
Expand All @@ -92,44 +117,14 @@ <h1 class="postTitle">关于</h1>
console.log("\n %c Gmeek last https://github.com/Meekdai/Gmeek \n\n","padding:5px 0;background:#02d81d;color:#fff");
</script>

<!-- 页面脚本部分 -->
<script>
document.getElementById("pathHome").setAttribute("d",IconList["home"]);
<!-- 设置首页图标路径 -->
document.getElementById("pathIssue").setAttribute("d",IconList["github"]);

function openComments(){
cm=document.getElementById("comments");
cmButton=document.getElementById("cmButton");
cmButton.innerHTML="loading";
span=document.createElement("span");
span.setAttribute("class","AnimatedEllipsis");
cmButton.appendChild(span);

script=document.createElement("script");
script.setAttribute("src","https://utteranc.es/client.js");
script.setAttribute("repo","cao-gift/cao-gift.github.io");
script.setAttribute("issue-term","title");

script.setAttribute("theme","dark-blue");

script.setAttribute("crossorigin","anonymous");
script.setAttribute("async","");
cm.appendChild(script);

int=self.setInterval("iFrameLoading()",200);
}

function iFrameLoading(){
var utterances=document.getElementsByClassName('utterances');
if(utterances.length==1){
if(utterances[0].style.height!=""){
utterancesLoad=1;
int=window.clearInterval(int);
document.getElementById("cmButton").style.display="none";
console.log("utterances Load OK");
}
}
}
<!-- 设置源码图标路径 -->
</script>

<!-- 引入页面特定脚本 -->

</html>
1 change: 0 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ <h1>
</div>
<div id="footer">Copyright © <span id="year"></span><a href="https://cao-gift.github.io"> 诗源笔记 </a>
<p><a href="https://beian.miit.gov.cn/" target="_blank">沪ICP备2023029031号-1</a>
<span id="runday"></span>Powered by <a href="https://meekdai.com/Gmeek.html" target="_blank">Gmeek</a>
</p>

<script>
Expand Down
83 changes: 39 additions & 44 deletions docs/link.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,25 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link href="//cdn.staticfile.net/Primer/21.0.7/primer.css" rel="stylesheet" />
<link rel="icon" href="https://bu.dusays.com/2024/04/15/661d2848e143a.jpg">
<!-- 定义页面头部区块,包含元数据和页面特定的样式链接 -->
<meta name="description" content="推荐网站:
">
<!-- 页面描述 -->
<meta property="og:title" content="友情链接">
<!-- 社交媒体分享标题 -->
<meta property="og:description" content="推荐网站:
">
<!-- 社交媒体分享描述 -->
<meta property="og:type" content="article">
<!-- 社交媒体分享类型 -->
<meta property="og:url" content="https://cao-gift.github.io/link.html">
<!-- 社交媒体分享URL -->
<meta property="og:image" content="https://bu.dusays.com/2024/04/15/661d2848e143a.jpg">
<!-- 社交媒体分享图像 -->
<title>友情链接</title>
<!-- 页面标题 -->

<!-- 根据配置决定是否引入代码高亮样式 -->

</head>
<style>
Expand All @@ -25,52 +34,68 @@

</style>

<!-- 定义页面特定的样式区块 -->
<style>
.postTitle{margin: auto 0;font-size:40px;font-weight:bold;}
<!-- 文章标题样式 -->
.title-right{display:flex;margin:auto 0 0 auto;}
<!-- 标题右侧操作按钮布局 -->
.title-right .circle{padding: 14px 16px;margin-right:8px;}
#postBody{border-bottom: 1px solid var(--color-border-default);padding-bottom:36px;}
<!-- 文章主体内容样式 -->
#postBody hr{height:2px;}
#cmButton{height:48px;margin-top:48px;}
#comments{margin-top:64px;}
.g-emoji{font-size:24px;}
<!-- 分隔线样式 -->
.postTitle{margin: auto 0;font-size:40px;font-weight:bold;}
<!-- 文章标题样式 -->
.title-right{display:flex;margin:auto 0 0 auto;}
<!-- 标题右侧操作按钮布局 -->
.title-right .circle{padding: 14px 16px;margin-right:8px;}
#postBody{border-bottom: 1px solid var(--color-border-default);padding-bottom:36px;}
<!-- 文章主体内容样式 -->
#postBody hr{height:2px;}
<!-- 分隔线样式 -->
@media (max-width: 600px) {
body {padding: 8px;}
.postTitle{font-size:24px;}
}
<!-- 响应式样式,针对小于600px的屏幕 -->
</style>


<!-- 引入页面额外样式 -->


<body>
<div id="header">
<!-- 页面头部内容 -->
<h1 class="postTitle">友情链接</h1>
<!-- 显示文章标题 -->
<div class="title-right">
<!-- 标题右侧操作按钮区域 -->
<a href="https://cao-gift.github.io" id="buttonHome" class="btn btn-invisible circle" title="首页">
<!-- 首页链接按钮 -->
<svg class="octicon" width="16" height="16">
<path id="pathHome" fill-rule="evenodd"></path>
</svg>
</a>


<a class="btn btn-invisible circle" onclick="modeSwitch();" title="切换主题"style="display:none;">
<svg class="octicon" width="16" height="16" >
<!-- 主题切换按钮 -->
<svg class="octicon" width="16" height="16">
<path id="themeSwitch" fill-rule="evenodd"></path>
</svg>
</a>

</div>
<!-- 结束标题右侧操作按钮区域 -->
</div>
<div id="content">
<!-- 页面主体内容 -->
<div class="markdown-body" id="postBody"><p>推荐网站:</p></div>
<!-- 显示文章正文 -->
<div style="font-size:small;margin-top:8px;float:right;"></div>
<button class="btn btn-block" type="button" onclick="openComments()" id="cmButton">评论</button>
<div class="comments" id="comments"></div>
<!-- 底部提示信息 -->
</div>
<div id="footer">Copyright © <span id="year"></span><a href="https://cao-gift.github.io"> 诗源笔记 </a>
<p><a href="https://beian.miit.gov.cn/" target="_blank">沪ICP备2023029031号-1</a>
<span id="runday"></span>Powered by <a href="https://meekdai.com/Gmeek.html" target="_blank">Gmeek</a>
</p>

<script>
Expand All @@ -93,44 +118,14 @@ <h1 class="postTitle">友情链接</h1>
console.log("\n %c Gmeek last https://github.com/Meekdai/Gmeek \n\n","padding:5px 0;background:#02d81d;color:#fff");
</script>

<!-- 页面脚本部分 -->
<script>
document.getElementById("pathHome").setAttribute("d",IconList["home"]);
<!-- 设置首页图标路径 -->
document.getElementById("pathIssue").setAttribute("d",IconList["github"]);

function openComments(){
cm=document.getElementById("comments");
cmButton=document.getElementById("cmButton");
cmButton.innerHTML="loading";
span=document.createElement("span");
span.setAttribute("class","AnimatedEllipsis");
cmButton.appendChild(span);

script=document.createElement("script");
script.setAttribute("src","https://utteranc.es/client.js");
script.setAttribute("repo","cao-gift/cao-gift.github.io");
script.setAttribute("issue-term","title");

script.setAttribute("theme","dark-blue");

script.setAttribute("crossorigin","anonymous");
script.setAttribute("async","");
cm.appendChild(script);

int=self.setInterval("iFrameLoading()",200);
}

function iFrameLoading(){
var utterances=document.getElementsByClassName('utterances');
if(utterances.length==1){
if(utterances[0].style.height!=""){
utterancesLoad=1;
int=window.clearInterval(int);
document.getElementById("cmButton").style.display="none";
console.log("utterances Load OK");
}
}
}
<!-- 设置源码图标路径 -->
</script>

<!-- 引入页面特定脚本 -->

</html>
Loading

0 comments on commit 5d4ea48

Please sign in to comment.