Feat: Dynamic Page Route

动态路由页面 + 404 异常捕获
This commit is contained in:
2023-12-01 23:01:44 +08:00
parent 9391a37b21
commit 9482b2ac18
6 changed files with 154 additions and 3 deletions
@@ -9,6 +9,61 @@
}
}
h2, h3 {
font-size: 1.2em;
}
h1 {
margin-top: 5rem;
font-size: 1.75em;
position: relative;
margin-bottom: 1em;
padding-bottom: .25em;
display: inline-block;
scroll-margin-top: 7em;
&:first-child {
margin-top: 0;
}
&::before {
content: "";
left: 0;
bottom: 0;
position: absolute;
width: 1.5em;
height: 4px;
display: block;
border-radius: 4px;
background-color: rgb(244 114 182 / var(--tw-text-opacity));
}
}
h2 {
margin-top: 2em;
scroll-margin-top: 4em;
&:first-child {
margin-top: 0;
}
}
a {
color:rgb(244 114 182 / var(--tw-bg-opacity));
}
img {
border-radius: .75rem;
}
em {
font-size: smaller;
font-style: normal;
padding: .15rem .5rem;
border-radius: .75rem;
}
pre {
tab-size: 4;
padding: 1em;