Comments (6)
If you still need it, I made it work:
https://github.com/mambax/mambax/blob/a6c364c0a0866b8d422446f44eb5207315636951/assets/css/style.scss#L1
Pay attention, the double lines
---
---
are needed, otherwise it does not apply.
from minimal.
@fabian-stoeckl, I am trying to edit the width of my right frame to make it wider on PC, but can't seem to to figure out how. Any help is greatly appreciated!
Following the README, I created an assets/css/styles.css
file with the following code:
---
---
@import "{{ site.theme }}";
.wrapper {
width:1110px;
margin:0 auto;
}
section {
width:750px;
float:right;
padding-bottom:50px;
}
This did not result in any change at all though. I also tried moving the wrapper and section code before the @import
, but this did not matter either.
Sorry for the noob question, and thanks for your help!
from minimal.
Check my demo here. I modified this theme and put it in another repo. Checking the changes here and here.
from minimal.
from minimal.
I recomend use media queries to adress with this kind of things.
Take a look at:
- https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries
- https://css-tricks.com/a-complete-guide-to-css-media-queries/
from minimal.
The solution given here which was cited above didn't work for me, unfortunately. Incorrect layout for mobile devices persisted.
It seems it's better not to touch css/style which imports settings from the jekyll css file in _sass. What worked was to go to that css and change settings for wrapper and for section manually. I am entirely sure why this makes such a difference (mb having to do with overriding the initial css file settings?), but perhaps someone has a similar problem.
from minimal.
Related Issues (20)
- required_ruby_version in gemspec HOT 1
- Adjusting Width of page HOT 4
- How do I specify the address of home page md file? HOT 1
- Changes to /assets/css/style.scss not affecting page HOT 2
- The homepage not change HOT 2
- issue with scss file -- import not found or unreadable: minimal HOT 8
- The instruction to preview on a local computer doesn't work HOT 1
- Help about logo
- Add index.html file instead of index.md file and keep the two columns HOT 1
- How to change theme from default `minima` to this? HOT 2
- How to add Favicon to your site? HOT 3
- [Bug] Large Image - Broken HOT 1
- error ci.yaml - exit code 126
- Footer floats over side content
- yml arguments
- Updated the _config.yml file, but no change seen on front-end
- How do you link to 'another page' from '_layouts/default.html' section of the theme? HOT 1
- Breakpoint response to style.css text-align overrides
- how to add my theme on github pages-themes?
- Do you have plans to continue maintaining this project? HOT 1
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 minimal.