feat: update code

This commit is contained in:
tim
2025-07-08 16:53:52 +08:00
parent 867892e4f2
commit 4e6f86a5d3
3 changed files with 14 additions and 33 deletions

View File

@@ -60,17 +60,6 @@ body {
/************************* /*************************
* Markdown 渲染样式 * Markdown 渲染样式
*************************/ *************************/
.info-content-text h1,
.info-content-text h2,
.info-content-text h3,
.info-content-text h4,
.info-content-text h5,
.info-content-text h6 {
margin-top: 1em;
margin-bottom: 0.5em;
font-weight: bold;
}
.info-content-text ul, .info-content-text ul,
.info-content-text ol { .info-content-text ol {
padding-left: 1.5em; padding-left: 1.5em;
@@ -87,13 +76,13 @@ body {
background-color: #f6f8fa; background-color: #f6f8fa;
padding: 8px 12px; padding: 8px 12px;
border-radius: 4px; border-radius: 4px;
overflow: auto; line-height: 1.0;
} }
.info-content-text code { .info-content-text code {
font-family: 'Courier New', monospace; font-family: 'Courier New', monospace;
background-color: rgba(27, 31, 35, 0.05); font-size: 13px;
padding: 2px 4px; /* background-color: rgba(27, 31, 35, 0.05); */
border-radius: 4px; border-radius: 4px;
} }
@@ -104,15 +93,4 @@ body {
.info-content-text a:hover { .info-content-text a:hover {
text-decoration: underline; text-decoration: underline;
} }
.info-content-text table {
width: 100%;
border-collapse: collapse;
}
.info-content-text th,
.info-content-text td {
border: 1px solid #d0d7de;
padding: 6px 12px;
}

View File

@@ -25,4 +25,13 @@ export default {
} }
</script> </script>
<!-- 此组件不包含样式使用方可根据需要自行定义 --> <style scoped>
.article-tags-container {
display: flex;
flex-direction: row;
gap: 10px;
}
</style>

View File

@@ -454,12 +454,6 @@ export default {
align-items: center; align-items: center;
} }
.article-tags-container {
display: flex;
flex-direction: row;
gap: 10px;
}
.article-info-item { .article-info-item {
display: flex; display: flex;
flex-direction: row; flex-direction: row;