mtyeh411 / mediawiki-bootstrap

A customizable responsive Bootstrap MediaWiki skin.
GNU General Public License v2.0
78 stars 19 forks source link

Provide LESS source #10

Closed sitelle closed 11 years ago

sitelle commented 11 years ago

Hi,

Thanks for your project that is really interesting.

Is it possible to provide the LESS source files so that I can adapt the CSS to my needs?

Thanks a lot!

EV.

mtyeh411 commented 11 years ago

Thanks for the interest!

So for this skin, I wanted to minimize dependencies as much as possible in order to accommodate as many different people and scenarios as I could. That being said, I'm using CSS pre-compiled from the Bootstrap LESS files.

As to your question, this project does contain Bootstrap as a git submodule. All you will need to do is initialize the submodule and update it to grab all the Bootstrap files from that particular submodule commit. For more information, you can check out [http://git-scm.com/book/en/Git-Tools-Submodules#Cloning-a-Project-with-Submodules](how to clone a git project with submodules). From there, you have access to the LESS files and customize to your hearts content.

Just be sure to overwrite the CSS files in the assets directory -- specifically for bootstrap.css, bootstrap-responsive.css, and mediawiki.css (I'm letting ResourceLoader handled minification).

I hope that helps!

sitelle commented 11 years ago

All Right, I thought you adapted a bit the LESS bootstrap sources before including them into your project.

Thanks for your quick answer and for your help!