Skip to content

Commit 2f6673d

Browse files
authored
chore: optimize css syntax (#1126)
1 parent 2ea55a5 commit 2f6673d

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

packages/plugin-container-syntax/container.css

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@
7777
font-size: 13px;
7878
}
7979

80+
.rspress-doc .rspress-directive a {
81+
font-weight: 500;
82+
transition: color 0.25s;
83+
}
84+
8085
.rspress-doc .rspress-directive.tip,
8186
.rspress-doc .rspress-directive.note,
8287
.rspress-doc .rspress-directive.info {
@@ -100,9 +105,7 @@
100105
.rspress-doc .rspress-directive.tip a,
101106
.rspress-doc .rspress-directive.note a,
102107
.rspress-doc .rspress-directive.info a {
103-
font-weight: 500;
104108
color: var(--rp-container-info-text);
105-
transition: color 0.25s;
106109
}
107110

108111
.rspress-doc .rspress-directive.tip a:hover,
@@ -126,9 +129,7 @@
126129
}
127130

128131
.rspress-doc .rspress-directive.warning a {
129-
font-weight: 500;
130132
color: var(--rp-container-warning-text);
131-
transition: color 0.25s;
132133
}
133134

134135
.rspress-doc .rspress-directive.warning a:hover {
@@ -154,9 +155,7 @@
154155

155156
.rspress-doc .rspress-directive.caution a,
156157
.rspress-doc .rspress-directive.danger a {
157-
font-weight: 500;
158158
color: var(--rp-container-danger-text);
159-
transition: color 0.25s;
160159
}
161160

162161
.rspress-doc .rspress-directive.caution a:hover,
@@ -179,9 +178,7 @@
179178
}
180179

181180
.rspress-doc .rspress-directive.details a {
182-
font-weight: 500;
183181
color: var(--rp-container-details-link);
184-
transition: color 0.25s;
185182
}
186183

187184
.rspress-doc .rspress-directive.details a:hover {

0 commit comments

Comments
 (0)