Files
blog/themes/Ying/layouts/partials/head.html
T

145 lines
3.9 KiB
HTML
Raw Normal View History

2024-07-11 08:59:32 +08:00
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>{{ .Title }}</title>
2024-10-20 11:51:55 +08:00
<!-- RSS Feed -->
2025-04-13 19:08:41 +08:00
<link rel="alternate" type="application/rss+xml" title="{{ site.Title }}" href="/rss.xml">
2024-10-20 11:51:55 +08:00
<!-- Favicon -->
2024-07-11 08:59:32 +08:00
<link rel="icon" type="image/x-icon" href="/favicon.ico">
2026-01-18 23:09:07 +08:00
<script>
(function () {
try {
var theme = localStorage.getItem('theme');
if (!theme) {
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
theme = 'dark';
} else {
theme = 'light';
}
}
document.documentElement.setAttribute('data-theme', theme);
} catch (e) {}
})();
</script>
2024-10-20 11:51:55 +08:00
<!-- Stylesheets -->
2024-07-28 21:17:19 +08:00
<link rel='stylesheet' href='/css/main.css'>
2024-07-11 08:59:32 +08:00
<link rel="stylesheet" href="/css/normalize.css">
<link rel="stylesheet" href="/css/remixicon.css">
<link rel="stylesheet" href="/css/uikit.min.css">
<link rel="stylesheet" href="/css/nprogress.min.css">
2024-10-20 11:51:55 +08:00
<link rel="stylesheet" href="/css/Artalk.css">
2024-09-27 20:04:22 +08:00
<style>
@media only screen and (max-width: 768px) {
.items {
grid-template-columns: repeat(1, 1fr) !important;
grid-gap: 10px;
}
2024-09-27 20:31:41 +08:00
.link-des,.link-name{
right: 13px;
2024-09-27 20:13:18 +08:00
}
2024-09-27 20:04:22 +08:00
}
/* 新版友链样式 */
.items {
/* padding: 10px; */
width: 100%;
height: 100%;
/* background-color: #f5f5f6; */
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 10px;
/* 网格之间的间距 */
justify-content: space-between;
}
.item-box {
background-color: white;
border-radius: 5px;
padding: 8px;
/* width: 47%; */
height: 300px;
/* border: 1px solid #333; */
2024-09-27 20:31:41 +08:00
box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
2024-09-27 20:04:22 +08:00
}
.website-img {
margin: 0 auto;
width: 90%;
}
.website-img img {
width: 100%;
height: 150px;
object-fit: contain;
}
.website-go-button {
margin: 0 auto;
width: 95%;
border-radius: 5px;
font-size: 14px;
padding: 5px;
text-align: center;
background-color: black;
color: white;
}
.link-info {
padding: 8px;
width: 100%;
height: 90px;
display: flex;
justify-content: center;
align-items: center;
}
.link-avatar {
width: 40%;
/* 设置弹性布局 */
display: flex;
/* justify-content: center; */
align-items: center;
}
.link-avatar img {
position: relative;
left: 5px;
width: 50px;
height: 50px;
}
.link-text-main {
width: 55%;
display: flex;
flex-direction: column;
}
.link-name {
position: relative;
right: 10px;
bottom: 5px;
width: 100%;
height: 50%;
font-weight: 600;
}
.link-des {
position: relative;
right: 10px;
top: 1px;
width: 100%;
height: 50%;
}
</style>
2024-07-11 08:59:32 +08:00
<script src="/js/jquery.min.js"></script>
2024-07-30 09:35:12 +08:00
<script src="/js/barrage.min.js"></script>
2024-07-11 08:59:32 +08:00
<script src="/js/jquery.scrollUp.min.js"></script>
2024-07-30 12:57:30 +08:00
<script src="/js/instantpage.min.js" type="module" defer></script>
2024-07-11 08:59:32 +08:00
<script src="/js/pjax.js"></script>
2024-07-13 11:42:38 +08:00
{{ if or (eq .Type "about") (eq .Type "post") }}
2024-07-28 21:17:19 +08:00
<link rel="stylesheet" href="/css/mywaline.css" />
2024-07-13 11:42:38 +08:00
{{ end }}
2024-07-11 08:59:32 +08:00
<script>console.log("\n %c Amigo Theme %c https://usj.cc \n", "color: #fadfa3; background: #030307; padding:3px; font-size:12px;", "color: #ffffff;background: #16171a; padding: 3px; font-size: 12px;");</script>
<meta name="keywords" content="大学,教程,blog,优世界,优设计,博客,大学生博客,生活,文案," />
2024-07-28 21:17:19 +08:00
<meta name="template" content="Amigo" />
2026-01-18 23:09:07 +08:00
</head>