shblog/public/posts/chat.html
Charlie Root 1cd8e4243b PUSH
2025-02-23 18:27:11 +00:00

165 lines
2.9 KiB
HTML

<!DOCTYPE html>
<html lang="zh">
<head>
<title>我的第一篇博客</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Your Description" >
<meta name="author" content="unknown">
<link rel="canonical" href="https://ityspace.github.io">
<style>
:root {
--color: #333333;
--border: #8b8b8b;
--bg: #fff;
--block-bg: #f5f5f5;
--brightness: 1;
--invert: 70%;
--description: #595959;
}
@media (prefers-color-scheme:dark) {
:root {
color-scheme: dark;
--color: #c7c7c7;
--border: #a1a1a1;
--bg: #1b1b1b;
--block-bg: #2b2b2b;
--brightness: .8;
--invert: 0%;
--description: #bbbbbb;
}
}
body {
font-family: sans-serif;
color: var(--color);
background: var(--bg);
line-height: 1.4;
margin: 1rem auto;
max-width: 72ch;
width: 85%;
}
.avatar { width: 4rem;filter: invert(var(--invert)); }
h1 {
margin-block-start: 0.67rem;
margin-block-end: 0.67rem;
font-size: 2.00rem;
font-weight: bold;
}
article h1:first-of-type {
margin-block-start: 1.67rem;
}
h2 {
margin-block-start: 0.83rem;
margin-block-end: 0.83rem;
font-size: 1.50rem;
font-weight: bold;
}
h3 {
margin-block-start: 1rem;
margin-block-end: 1rem;
font-size: 1.17em;
font-weight: bold;
}
h4 {
margin-block-start: 1.33rem;
margin-block-end: 1.33rem;
font-size: 1.00rem;
font-weight: bold;
}
article h1+h4:first-of-type {
margin-block-start: 0rem;
}
h5 {
margin-block-start: 1.67rem;
margin-block-end: 1.67rem;
font-size: 0.83rem;
font-weight: bold;
}
h6 {
margin-block-start: 2.33rem;
margin-block-end: 2.33rem;
font-size: 0.67rem;
font-weight: bold;
}
a {
text-decoration: none;
color: inherit;
}
a:hover {
background: var(--block-bg);
}
img {
width: 100%;
height: auto;
filter: brightness(var(--brightness));
}
blockquote {
border-left: 3px solid var(--block-bg);
padding: 0 1rem;
margin-left: 0;
margin-right: 0;
}
hr {
border: none;
height: 1px;
background: var(--small-text-color);
}
pre, code, kbd, samp { font-family: monospace, monospace; }
code { overflow-wrap: break-word; background: var(--transparent); border-radius: 5px; }
pre { font-size: 95%; white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
pre>code { white-space: pre-wrap; }
small {
font-size: .95rem;
color: var(--description);
}
.header ul {
list-style-type: none;
padding-left: 0;
}
.header li {
display: inline;
font-size: 1.2rem;
margin-right: 1.2rem;
}
.postlistdiv ul {
list-style-type: none;
padding-left: 0;
}
.footer {
color: var(--small-text-color);
}
</style>
</head>
<body>
<header class="header"><ul><li><a href="/index.html">Home</a></li><li><a href="/archive.html">Archive</a></li><li><a href="/feed.xml">RSS</a></li></ul></header>
<article class="content">
<h1>我的第一篇博客</h1>
<h4>2025/02/23 </h4>
<p>
当然是 2025 年的第一篇啦~
</p>
</article><footer class="footer">
<p>ITY &copy; 2025 - now | <a href="https://git.nixos.world/ity/shblog">shblog</a></p></footer></body></html>