Skip to content

Commit 31a7164

Browse files
authored
engine: add css rule to modify cursor on images (#822)
1 parent 3854627 commit 31a7164

File tree

2 files changed

+12
-15
lines changed

2 files changed

+12
-15
lines changed

docs/.vuepress/styles/index.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,3 +145,7 @@ div[style*="z-index: 2147483647"] {
145145
.vp-highlight-title {
146146
font-size: 1.4rem;
147147
}
148+
149+
figure:hover {
150+
cursor: pointer;
151+
}

docs/.vuepress/styles/palette.scss

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,10 @@ html[data-theme="dark"] {
158158
--theme-color-dark: #{$theme-color-dark};
159159
--theme-color-mask: #{$theme-color-mask};
160160
--end-gradient: #{$main-color};
161+
--vp-c-bg: #080b0d;
162+
--vp-c-bg-elv-soft: #080b0d;
163+
--vp-c-text: #d1dce0;
164+
--vp-c-text-mute: white;
161165
}
162166

163167
html[data-theme="light"] {
@@ -169,28 +173,17 @@ html[data-theme="light"] {
169173
--theme-color-light: #{$theme-color-light};
170174
--theme-color-dark: #{$theme-color-dark};
171175
--theme-color-mask: #{$theme-color-mask};
176+
--vp-c-bg: #fff;
177+
--vp-c-bg-elv-soft: #fff;
178+
--vp-c-text: #000;
179+
--vp-c-text-mute: black;
172180
}
173181

174-
$vp-c-bg: (
175-
light: #fff,
176-
dark: #080b0d,
177-
);
178-
179-
$vp-c-bg-elv-soft: (
180-
light: #fff,
181-
dark: #080b0d,
182-
);
183-
184182
$font-body: 15px;
185183

186184
/* Override Code Block Background */
187185
$sidebar-width: 18rem;
188186

189-
$vp-c-text: (
190-
light: #000,
191-
dark: #9fbbc5,
192-
);
193-
194187
.hint-container.important a,
195188
.hint-container.info a,
196189
.hint-container.note a,

0 commit comments

Comments
 (0)