Hutchy68 / pivot

A MediaWiki mobile skin which "Pivots" seamlessly to any size display.
https://pivot.wikiproject.net
BSD 2-Clause "Simplified" License
37 stars 18 forks source link

In what css is the background color for the pages? #93

Closed ingemarwiklund closed 4 years ago

ingemarwiklund commented 4 years ago

Setup

Issue

I have upgraded to the latest version of Pivot, 2.1, mediawiki is 1.28 - the issue is small. All backgrounds turned light blue after the upgrade. I know I changed it to white when I installed Pivot the very first time some years ago, but right now, I've forgotten where and I'm searching through the different css files to find where to change the bodys background-color. So far, I haven't found it.

I figure, I can't be the only one who wants to changee the colors in the skin, maybe a short note wher to find key elements would be helpful?

dr-starchildren commented 4 years ago

They are in the pivot.css file under pivot/assets/stylesheets. The specific fields for editing the various colors are listed on the project's page. https://pivot.wikiproject.net/wiki/Customizing

ingemarwiklund commented 4 years ago

Nice, just a small tip. Why not put them in The CSS from The very beginning, commented so it is poddible to find them and understa d what the values do. It eould have made at least my life a bit easier.

Thank you very much for telling me. Ill give it a shot tomorrow.

Den tors 2 apr. 2020 20:51dr-starchildren notifications@github.com skrev:

They are in the pivot.css file under pivot/assets/stylesheets. The specific fields for editing the various colors are listed on the project's page. https://pivot.wikiproject.net/wiki/Customizing

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Hutchy68/pivot/issues/93#issuecomment-608041151, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIWSBGBGPXCJPQPLHGMTX5TRKTNELANCNFSM4LVQK7CQ .

ingemarwiklund commented 4 years ago

I tried to change the pivot.css according to: https://pivot.wikiproject.net/wiki/Customizing Now it reads:

/ Here, main window color is supposed to change, it doesn't/

p-cactions {

padding-top: 1.5em;
padding-bottom: .5em;
//background-color: #f6f6f6; original
background-color: #fff;

border-left: 1px solid #ccc; border-right: 1px solid #ccc; }

Still, the background in the main window is the same blue instead of white. Any suggestions? Source: https://www.grundskoleboken.se/wiki/Huvudsida

Den tors 2 apr. 2020 kl 22:53 skrev Ingemar Wiklund < ingemar.wiklund@gmail.com>:

Nice, just a small tip. Why not put them in The CSS from The very beginning, commented so it is poddible to find them and understa d what the values do. It eould have made at least my life a bit easier.

Thank you very much for telling me. Ill give it a shot tomorrow.

Den tors 2 apr. 2020 20:51dr-starchildren notifications@github.com skrev:

They are in the pivot.css file under pivot/assets/stylesheets. The specific fields for editing the various colors are listed on the project's page. https://pivot.wikiproject.net/wiki/Customizing

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Hutchy68/pivot/issues/93#issuecomment-608041151, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIWSBGBGPXCJPQPLHGMTX5TRKTNELANCNFSM4LVQK7CQ .

ingemarwiklund commented 4 years ago

All of a sudden, it work !?

Must have been some kind of delay in the wiki-engine.

So, thanks for your help and sorry to bother you :)

Den lör 4 apr. 2020 kl 12:16 skrev Ingemar Wiklund < ingemar.wiklund@gmail.com>:

I tried to change the pivot.css according to: https://pivot.wikiproject.net/wiki/Customizing Now it reads:

/ Here, main window color is supposed to change, it doesn't/

p-cactions {

padding-top: 1.5em;
padding-bottom: .5em;
//background-color: #f6f6f6; original
background-color: #fff;

border-left: 1px solid #ccc; border-right: 1px solid #ccc; }

Still, the background in the main window is the same blue instead of white. Any suggestions? Source: https://www.grundskoleboken.se/wiki/Huvudsida

Den tors 2 apr. 2020 kl 22:53 skrev Ingemar Wiklund < ingemar.wiklund@gmail.com>:

Nice, just a small tip. Why not put them in The CSS from The very beginning, commented so it is poddible to find them and understa d what the values do. It eould have made at least my life a bit easier.

Thank you very much for telling me. Ill give it a shot tomorrow.

Den tors 2 apr. 2020 20:51dr-starchildren notifications@github.com skrev:

They are in the pivot.css file under pivot/assets/stylesheets. The specific fields for editing the various colors are listed on the project's page. https://pivot.wikiproject.net/wiki/Customizing

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Hutchy68/pivot/issues/93#issuecomment-608041151, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIWSBGBGPXCJPQPLHGMTX5TRKTNELANCNFSM4LVQK7CQ .

Hutchy68 commented 4 years ago

When changing CSS, hard reload the page. CTRL-F5 or CTRL-R depending on browser. Glad you found it.