I'm using minimal-mistakes to make a website. Hon Can I reduce the fontsize for all pages?
- User
I'm using minimal-mistakes to make a website. Hon Can I reduce the fontsize for all pages?
- Assistant
Yes, you can reduce the font size across all pages when using the Minimal Mistakes Jekyll theme by customizing the theme's SCSS variables or adding your own styles. Here's how to do it:
- Override Font Size via Custom SCSS If you haven’t already, create a file at: bashCopyEdit/assets/css/main.scss
Add the following to that file: scssCopyEdit---
@import "minimal-mistakes/skins/default"; // or your active skin @import "minimal-mistakes"; // Import the core theme
// Override base font size html { font-size: 14px; // Change this to your desired base size }
This changes the root font-size, which cascades to the rest of the site.
🔧 Tip: The default is 16px, so setting it to 14px gives a slightly smaller, but still readable layout.
- Ensure Your _config.yml Includes Your Custom CSS Make sure your _config.yml includes: yamlCopyEditsass: style: compressed
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.