optimized

This commit is contained in:
2023-04-06 00:08:03 +08:00
parent adb74b7441
commit c27d44872b
11 changed files with 314 additions and 91 deletions

View File

@@ -24,7 +24,10 @@ input {
font-family: var(--serif-font-family);
}
code, kbd, pre, samp {
code,
kbd,
pre,
samp {
font-family: var(--mono-font-family);
background-color: var(--hover-color);
padding: 0 10px;
@@ -34,32 +37,43 @@ code {
display: inline-block;
}
pre {
pre,
samp {
font-size: .875em;
}
h2 + code {
h2+code {
margin-left: 70px;
position: relative;
}
h2 + code::before {
h2+code::before {
content: '签名:';
position: absolute;
margin-left: -70px;
}
h3 {
h3,
h4 {
font-family: var(--mono-font-family);
font-size: 1em;
margin-left: 10px;
/* font-weight: bold; */
}
h3 ~ p {
h3~p {
margin-left: 10px;
}
h4 {
font-size: .9em;
margin-block-end: .4em;
}
h4+code {
font-size: .9rem;
}
a {
font-weight: 500;
color: #646cff;
@@ -120,7 +134,7 @@ h1 {
user-select: none;
}
#directory>ul>li.title {
#directory>ul>li.title {
margin: 20px 0 6px;
font-weight: bold;
font-size: 1.25em;