133 lines
2.8 KiB
HTML
133 lines
2.8 KiB
HTML
<style>
|
|
/*基础格式部分*/
|
|
|
|
.global {
|
|
font-family: "AlimamaFangYuanTiVF-Thin", sans-serif;
|
|
font-size: var(--font-size);
|
|
margin: 1rem 2rem 2rem 2rem;
|
|
line-height: 2.5rem;
|
|
/* letter-spacing: -0.15rem; */
|
|
}
|
|
|
|
.global h1 {
|
|
line-height: 4rem;
|
|
font-family: "HongLei", sans-serif;
|
|
}
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
--font-size: 2rem;
|
|
}
|
|
/*控件美化部分*/
|
|
|
|
.c_title {
|
|
font-size: 3.5rem;
|
|
color: white;
|
|
background-color: red;
|
|
border: 0.18rem solid red;
|
|
display: inline-flex;
|
|
width: fit-content;
|
|
line-height: 1.5;
|
|
padding: 0.08em 0.24em;
|
|
white-space: normal;
|
|
word-break: break-all;
|
|
font-family: "ZCOOL QingKe HuangYou", sans-serif;
|
|
margin: 2rem 1rem 0rem 2rem;
|
|
border-radius: 0.5rem;
|
|
overflow-wrap: break-word;
|
|
max-width: 21cm;
|
|
}
|
|
|
|
blockquote {
|
|
background-color: #f0f0f0;
|
|
border-left: 0.5rem solid #ccc;
|
|
padding: 0.5rem 1rem;
|
|
margin: 1rem 0;
|
|
color: #666;
|
|
}
|
|
.global img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
border-radius: 12px;
|
|
border: 4px solid linear-gradient(45deg, #e799b1, #44b144, #2f90ba);
|
|
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
|
|
display: block;
|
|
margin: 1rem auto;
|
|
/* color: transparent; */
|
|
overflow: hidden;
|
|
}
|
|
|
|
.global a[href] {
|
|
color: rgb(0, 180, 120);
|
|
text-decoration: none;
|
|
}
|
|
|
|
/*目录美化部分*/
|
|
index h1 {
|
|
font-size: 3.5rem;
|
|
color: white;
|
|
background-color: red;
|
|
border: 0.18rem solid red;
|
|
display: inline-flex;
|
|
width: fit-content;
|
|
line-height: 1.5;
|
|
padding: 0.08em 0.24em;
|
|
white-space: normal;
|
|
word-break: break-all;
|
|
font-family: "ZCOOL QingKe HuangYou", sans-serif;
|
|
margin: 2rem 1rem 0rem 2rem;
|
|
border-radius: 0.5rem;
|
|
overflow-wrap: break-word;
|
|
max-width: 21cm;
|
|
}
|
|
|
|
index a {
|
|
text-decoration: none;
|
|
font-size: var(--font-size);
|
|
display: flex;
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
index ul {
|
|
margin: 1rem 2rem 3rem 2rem;
|
|
/* padding: 0.5rem 1rem; */
|
|
}
|
|
index li {
|
|
list-style: none;
|
|
display: flex;
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
word-break: break-all;
|
|
word-wrap: normal;
|
|
line-height: 1.5;
|
|
}
|
|
index li page_title {
|
|
color: black;
|
|
font-size: var(--font-size);
|
|
font-weight: thin;
|
|
position: static;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
white-space: normal;
|
|
word-break: break-word;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
index li page_num {
|
|
color: black;
|
|
font-size: var(--font-size);
|
|
position: static;
|
|
flex: 0 0 auto;
|
|
min-width: 4ch;
|
|
margin-left: 1rem;
|
|
white-space: nowrap;
|
|
text-align: right;
|
|
font-variant-numeric: tabular-nums;
|
|
font-feature-settings: "tnum" 1;
|
|
}
|
|
</style>
|