Skip to content

Commit 9a2be9d

Browse files
committed
doc
1 parent 8c61521 commit 9a2be9d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/mathfield/01-introduction.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,8 @@ p {
368368
color: #999;
369369
}
370370

371-
button {
371+
/* We add #features-section so that this rule does not apply to the global menu button in the header */
372+
#features-section button {
372373
appearance: none;
373374
border: none;
374375
background: var(--primary-color);
@@ -379,22 +380,22 @@ button {
379380
margin-bottom: 1rem;
380381
}
381382

382-
button:hover {
383+
#features-section button:hover {
383384
background: var(--primary-color-dark);
384385
transition: background-color 0.3s ease-in-out;
385386
}
386387

387-
[data-theme="dark"] button:hover {
388+
[data-theme="dark"] #features-section section button:hover {
388389
background: var(--primary-color-light);
389390
}
390391

391-
.pod button:active {
392+
#features-section button:active {
392393
background: var(--primary-color-dark);
393394
scale: 1.05;
394395
transition: background-color 0.3s ease-in-out;
395396
}
396397

397-
[data-theme="dark"] button:active {
398+
[data-theme="dark"] #features-section button:active {
398399
background: var(--primary-color-light);
399400

400401
}

0 commit comments

Comments
 (0)