Comments (2)
@ashutoshmjain Long time no see :)
When I design this theme I didn't take blog font size into consideration, but it's not easy for you to read, so I found an open source solution: Markdown CSS. But it needs some edit before we use it. For changing font size I have the following code for reference:
.article p {
font-size: 1.3em;
margin-bottom: 1.3rem;
}
.article li {
font-size: 1.3em;
}
.article code {
font-size: 1.3em;
}
.article h1,
.article h2,
.article h3,
.article h4 {
margin: 1.414rem 0 .5rem;
font-weight: inherit;
line-height: 1.42;
}
.article h1 {
margin-top: 0;
font-size: 4.398rem;
}
.article h2 {
font-size: 3.11rem;
}
.article h3 {
font-size: 2.199rem;
}
.article h4 {
font-size: 1.555rem;
}
.article h5 {
font-size: 1.233rem;
}
.article h6 {
font-size: .968rem;
}
.article small {
font-size: .778em;
}
You can create a file *static/css/blog.css, and link it at _layouts/post.html line 4. If the font size is not satisfied, you can change it.
from jalpc.
Wow .. It worked like a charm .. Many thanks .
from jalpc.
Related Issues (20)
- the page is text only HOT 1
- Cannot create tables in posts HOT 2
- Changing Favicon HOT 1
- Page couldn't be reached HOT 1
- How can I set a redirect from *.github.io to *.github.io/Jalpc? HOT 2
- Can i change syntax highlighter?
- Post is shown in latest blogs page and not shown in particular category.
- How to modify code to have more than two banner images, which line of code we need to add and while line of code we need to comment to have 3 dots and 3 header_images?? HOT 1
- I hosted my blog online in the link <https://dnmanveet.github.io/> the error "There isn't a GitHub Pages site here"problem
- Markdown support for tables
- Transitions with scrolling
- Adding a 3rd career doesn't work HOT 1
- centering blog post images
- How to add static page?
- icon in "About me" section don't appear in Firefox
- Yet another issue with -> CSS not loading <- (Sorry)
- Yet another issue with CSS not loading HOT 2
- Is there a way to have Multilingual Blog and not only Home page?
- How do I fix "GitHub Pages failed to build your site?" Pictures attached
- Issue getting the website live
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jalpc.