Skip to content

Commit 95fe3dc

Browse files
committed
行内代码样式调整
1 parent c8a460e commit 95fe3dc

1 file changed

Lines changed: 5 additions & 11 deletions

File tree

src/assets/styles/app.css

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,30 +87,24 @@ starlight-tabs {
8787
font-size: 0.9em !important;
8888
font-weight: 500 !important;
8989
border-radius: 0.25rem !important;
90-
padding: 0.1rem 0.35rem !important;
90+
padding: 0.25rem 0.375rem !important;
91+
margin: 0.125rem 0 !important;
92+
background-color: hsl(var(--secondary)) !important;
9193
border: 1px solid hsl(var(--border)) !important;
92-
background-color: hsl(140 20% 92%) !important;
93-
background-image:
94-
repeating-linear-gradient(45deg, transparent, transparent 1.5px, hsl(140 18% 86%) 1.5px, hsl(140 18% 86%) 3px),
95-
repeating-linear-gradient(-45deg, transparent, transparent 1.5px, hsl(140 18% 86%) 1.5px, hsl(140 18% 86%) 3px) !important;
96-
background-size: 4px 4px !important;
9794
color: hsl(var(--foreground)) !important;
9895
display: inline-block !important;
9996
box-decoration-break: clone !important;
10097
-webkit-box-decoration-break: clone !important;
10198
line-height: 1.6 !important;
99+
vertical-align: baseline !important;
102100
&::before, &::after {
103101
content: '' !important;
104102
}
105103
}
106104

107105
html.dark .prose :where(:not(pre) > code):not(:where(.not-prose, .not-prose *)) {
106+
background-color: hsl(var(--secondary)) !important;
108107
border-color: hsl(var(--border)) !important;
109-
background-color: hsl(140 15% 18%) !important;
110-
background-image:
111-
repeating-linear-gradient(45deg, transparent, transparent 1.5px, hsl(140 12% 26%) 1.5px, hsl(140 12% 26%) 3px),
112-
repeating-linear-gradient(-45deg, transparent, transparent 1.5px, hsl(140 12% 26%) 1.5px, hsl(140 12% 26%) 3px) !important;
113-
background-size: 4px 4px !important;
114108
color: hsl(var(--foreground)) !important;
115109
}
116110

0 commit comments

Comments
 (0)