Fix font-override in blog and docs (#3448)

This prevents it from overriding font for code blocks and helps retain monosapce font for them.

<!-- PR description-->

---

#### Does this PR need a docs update or release note?

- [ ]  Yes, it's included
- [ ] 🕐 Yes, but in a later PR
- [x]  No

#### Type of change

<!--- Please check the type of change your PR introduces: --->
- [ ] 🌻 Feature
- [ ] 🐛 Bugfix
- [x] 🗺️ Documentation
- [ ] 🤖 Supportability/Tests
- [ ] 💻 CI/Deployment
- [ ] 🧹 Tech Debt/Cleanup

#### Issue(s)

<!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. -->
* #<issue>

#### Test Plan

<!-- How will this be tested prior to merging.-->
- [x] 💪 Manual
- [ ]  Unit test
- [ ] 💚 E2E
This commit is contained in:
Abin Simon 2023-05-18 22:05:50 +05:30 committed by GitHub
parent 2f368326e2
commit 489ab6f1c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,8 +6,8 @@ CUSTOM TO THE NEW HOME PAGE
@import "icons.scss"; @import "icons.scss";
@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');
* { :root {
font-family: 'Nunito', sans-serif !important; --ifm-font-family-base: 'Nunito', sans-serif;
} }
html { html {