I have Jekyll running locally with a theme I like, no-style-please. Everything is working as expected.
However, on some content, the overall page width is a little smushed. I hunted around in the repo and found the master/_sass/no-style-please.scss file has this in it:
*:target { background: yellow; }
.w {
max-width: 640px;
margin: 0 auto;
padding: 4rem 2rem;
}
Without getting into a tangent on CSS/SCSS/SASS (all of which I can barely spell), A bit of experimentation shows that changing that max-width
setting from 640px is the direction I want to go.
I also know I could download and install the theme locally, but then I would be disconnected from future theme development and improvements doc. SO I would like to override just that setting locally. Is that possible? Or am I just inventing a convenient but impossible solution?
In the Jekyll documentation there is a section about Overriding Theme Defaults, when I created a _sass/no-style-please.css
in my site folder and included only the section of that file I excerpted above I was able to change 640px
to 1640px
and the pages displayed wider, but I lost all of the other formatting.
Must I copy the whole of that no-style-please.css
file in order to override only that setting?