Skip to content

Commit b52e125

Browse files
committed
fix: resolve CSS syntax errors restoring custom pencil cursor on contribution page
1 parent f2225ee commit b52e125

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

‎frontend/css/contributing.css‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -708,8 +708,6 @@ body {
708708
}
709709

710710
*:hover {
711-
html,
712-
body {
713711
cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24'><path fill='%23ffca3a' d='M4.42 20.58a1 1 0 0 0 1.41 0L15.24 11.2l-2.44-2.44L3.42 18.17a1 1 0 0 0 0 1.41zM17.36 9.08l-2.44-2.44 2.12-2.12a2 2 0 0 1 2.83 0l1.77 1.77a2 2 0 0 1 0 2.83z'/><path stroke='%23ffca3a' stroke-width='1.5' d='M2 22l4-1'/></svg>") 0 24, pointer !important;
714712
}
715713

@@ -1593,7 +1591,6 @@ body {
15931591

15941592
/* PENCIL CURSOR ANIMATION */
15951593

1596-
body.landing-page {
15971594
html,
15981595
body {
15991596
cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%235d4037" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17 3a2.83 2.83 0 1 1 4 4L7.5 20.5a4 4 0 0 1-2.5.88H2v-4.5a4 4 0 0 1 .88-2.5L17 3"></path></svg>') 5 1, auto;
@@ -1706,9 +1703,8 @@ body {
17061703
}
17071704

17081705
/* Pencil cursor for dark mode */
1709-
[data-theme="night"] body.landing-page {
1710-
html,
1711-
body {
1706+
[data-theme="night"] html,
1707+
[data-theme="night"] body {
17121708
cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23d9c0a7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17 3a2.83 2.83 0 1 1 4 4L7.5 20.5a4 4 0 0 1-2.5.88H2v-4.5a4 4 0 0 1 .88-2.5L17 3"></path></svg>') 5 1, auto;
17131709
}
17141710

0 commit comments

Comments
 (0)