My GitHub Pages site looks like this:
I don't like how thin the body is (it's padded with blank space on both sides, each making up 33% of the page). This is theme-independent, as it was happening before I activated my current Jekyll theme. I can't find any information on how to expand the part of the body that actually has content.
As is usual with Jekyll, I use Markdown for the webpages, so I can't manually edit any HTML to remove the whitespace.
How can I make the amount of blank space on the sides of the body smaller?
You are requesting a file served over HTTP while your website (GitHub pages) is using HTTPS. This is not allowed by browsers for security purposes. Because of that, the yui CSS file is not loaded, and your layout breaks.
GitHub Pages source repositories have a recommended limit of 1 GB. For more information, see "What is my disk quota?" Published GitHub Pages sites may be no larger than 1 GB. GitHub Pages sites have a soft bandwidth limit of 100 GB per month.
Even if the repository is private, the site is still publicly available on the internet — so the developer should always check for any sensitive data before deployment. Naturally, sending sensitive data (e.g. passwords or credit card information) is also unsafe.
Under your repository name, click Settings. In the "Code and automation" section of the sidebar, click Pages. To see your published site, under "GitHub Pages", click your site's URL. Note: It can take up to 10 minutes for changes to your site to publish after you push the changes to GitHub.
Create a file /docs/assets/style.scss
with this content at the top of the file:
---
---
@import "{{ site.theme }}";
.inner {
max-width: 75%;
}
Change 75%
to the desired width of the body.
Found with help from ceejayoz.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With