更新样式

This commit is contained in:
aaron 2025-03-02 14:00:38 +08:00
parent fec7f3dd5a
commit 8c712223b9
2 changed files with 34 additions and 16 deletions

View File

@ -190,6 +190,23 @@ onBeforeUnmount(() => {
@apply prose prose-gray max-w-none bg-white rounded-lg p-8 shadow-sm;
}
/* 修改标题样式,保持与内容一致的字体大小,只做加粗 */
.privacy-content h1 {
@apply text-base font-bold;
font-size: inherit;
}
.privacy-content h2 {
@apply font-bold;
font-size: inherit;
}
/* 修改副标题样式,保持与内容一致的字体大小,只做加粗 */
.privacy-content h3 {
@apply font-medium;
font-size: inherit;
}
@media (max-width: 640px) {
.privacy-container {
@apply px-4 py-6;
@ -198,13 +215,5 @@ onBeforeUnmount(() => {
.privacy-content {
@apply p-4;
}
h1 {
@apply text-base;
}
h2 {
@apply text-sm;
}
}
</style>

View File

@ -164,6 +164,23 @@ onBeforeUnmount(() => {
@apply prose prose-gray max-w-none bg-white rounded-lg p-8 shadow-sm;
}
/* 修改标题样式,保持与内容一致的字体大小,只做加粗 */
.privacy-content h1 {
@apply text-base font-bold;
font-size: inherit;
}
.privacy-content h2 {
@apply font-bold;
font-size: inherit;
}
/* 修改副标题样式,保持与内容一致的字体大小,只做加粗 */
.privacy-content h3 {
@apply font-medium;
font-size: inherit;
}
@media (max-width: 640px) {
.privacy-container {
@apply px-4 py-6;
@ -172,13 +189,5 @@ onBeforeUnmount(() => {
.privacy-content {
@apply p-4;
}
h1 {
@apply text-base;
}
h2 {
@apply text-sm;
}
}
</style>