Skin talk:Vector

Jump to navigation Jump to search

About this board

New menu on French and Farsi Wikipedia

2
79.249.153.11 (talkcontribs)

I have noticed that the French and Farsi Wikipedia have new side menus (the left column navigation menus) that can be shown/hidden.

Majavah (talkcontribs)

Yes, it's a part of the desktop improvements projects. The wikis you mentioned (plus some more) have the improvements deployed early. Logged-in users can opt-in/out on all wikis from the "Appearance" tab in Special:Preferences.

Reply to "New menu on French and Farsi Wikipedia"

How to remove the gradient from the top of the Vector skin?

5
Cabalamat2 (talkcontribs)

I am editing MediaWiki:Vector.css to alter the look of the vector skin. What CSS do I need to enter to remove the gradients from the top of each page?

Pangaearocks (talkcontribs)

This is the only mention I have seen of this issue anywhere, so I hope somebody are able to fix it for us. I'm working on a wiki redesign and there is a gradient effect on the wiki's logo in the top left corner (and maybe the whole top for all I know). I've looked high and low both in various .css files and using Firefox's code inspector, but I can't find anything. Doing my head in. Can anybody help out? How do I remove it? Here is a screenshot that shows it: Imgur screenshot ~~~~

Davecotter (talkcontribs)

@Cabalamat2 how did you get permissions to edit that file? I find i'm unable to edit Vector.css, no permission!

2001:16B8:1093:5E00:5E9:9350:5AE8:18C5 (talkcontribs)

@Davecotter: You either are in an admin user group so that you can edit interface messages for all users. Without such special rights you will still be able to adjust CSS styles for your own user account by editing a Vector.css page in your user space. See Help:User style!

2001:16B8:1093:5E00:5E9:9350:5AE8:18C5 (talkcontribs)
Reply to "How to remove the gradient from the top of the Vector skin?"

Why pdf thumbnails causes problem with any section after it?

1
Farvardyn (talkcontribs)

When I use Mediawiki's `CommentStreams` extension with code below:

   == Guide ==
File:TerraformingMars.pdf
راهنمای فارسی - سایت: بازی نوین، مترجم: نیما مسقدی
   == Comments ==
   <comment-streams/>

Why does it look bad as here: [![enter image description here][1]][1] But if I move Guide section below Comments it works fine? How to fix it? It seems it causes problem with any extension after it? Screenshot is here: https://stackoverflow.com/questions/61636062/why-pf-thubnails-cause-page-bad-looking

Reply to "Why pdf thumbnails causes problem with any section after it?"

Collapsible p-personal possible?

1
2001:16B8:6006:4300:5978:3FA8:1621:D3E7 (talkcontribs)

I'm using the Vector skin on my wiki - I would use the Timeless skin (I like it more), but it doesn't have the collapsible sidebar which I also want to have. I think I can edit most of the layout with CSS to make it look like I want it to be.

But there's one thing I really can't stand on Vector and I don't know how to edit that: The p-personal in the top right corner of the page. I would love it if it's possible to have it look like on Timeless (where it's called user-tools, I think). Is there some way to make the p-personal collapsible? So that everything in the top right corner is in a dropdown menu. If so, how do I accomplish it?

Thank for the help in advance! :)

Reply to "Collapsible p-personal possible?"

"Enlarge" image just links to the file page, rather than enlarging the image

2
Blinkingline (talkcontribs)
Blinkingline (talkcontribs)

Weirdly, I had a misconfigured Media Viewer. Fixed that and this works fine now.

Reply to ""Enlarge" image just links to the file page, rather than enlarging the image"

add header banner as in monobook?

1
Davecotter (talkcontribs)

how can i add back the header banner background image, as in monobook?

Reply to "add header banner as in monobook?"
69.40.59.197 (talkcontribs)

Does anyone have any thoughts/ideas on how one might lock the mw-page-base to stay at the top, so that only the content scrolls in Vector?

Reply to "Lock mw-page-base?"
Stefen moss (talkcontribs)

So I have been working on the Vector skin, and I have it change how I want, but I can't seem to find h1 to change the font color.

Quiddity (talkcontribs)

You want the class .mw-body h1 I believe.

Although just h1 should work fine?

Personally, I use #content {color: black !important;}, but that might cause unexpected problems.

Stefen moss (talkcontribs)

Which file is this located in?

Quiddity (talkcontribs)

Oh, I thought you were referring to your personal stylesheet (e.g. Special:MyPage/common.css) or a browser extension that does CSS overrides (e.g. I use Stylus).

Are you working on a 3rd party wiki? Or trying to change the default for a single Wikimedia wiki? or for all Wikimedia wikis? If you have any relevant links (sites, discussions, examples, etc), they always help!

Stefen moss (talkcontribs)

I am working on my own wiki. I downloaded the MediaWiki file and I have the site up, it just that I can edit everything else by going to the css file, but I did not see a .h1 section in the file in question.

Quiddity (talkcontribs)

Local overrides are usually just created in MediaWiki:Common.css E.g. m:MediaWiki:Common.css - that way you're not changing anything that needs to be auto-updated later (IIUC, i am not a dev).

For the origin, I believe they're in either https://github.com/wikimedia/mediawiki-skins-Vector/blob/master/components/common.less or in https://github.com/wikimedia/mediawiki/blob/master/resources/src/mediawiki.skinning/elements.css -- You might be able to find more with https://codesearch.wmflabs.org

HTH!

Reply to "Changing H1 Font Colors"
46.80.252.5 (talkcontribs)

Hi, can anyone help me out to find the right file and line to make th info table float on the right side? i wasn't able to find the right less(file?)

46.80.252.5 (talkcontribs)

i mean the class wikitable

Dinoguy1000 (talkcontribs)

Just use style="float:right;". If you want all wikitables to float right (not something I'd recommend, to be honest), add the rule .wikitable { float: right; } to your wiki's MediaWiki:Common.css page.

Reply to "infotable float right"

Moving div elements around the screen

1
Tiptup300 (talkcontribs)

Hello, the Vector skin has been working for well for me, with some serious css modifications. I'm getting to the point where my wiki is almost exactly how I want it, but some of the ways the elements are arranged are causing problems for me.


Is there any way to add additional elements or move the elements around, for example, adding an addition DIV, having the logo section, the search bar, then the sidebar, then the view edit and user options.


Sort of just rearranging the way things are put out. I just haven't been able to find where the order of these html elements are put out.

Reply to "Moving div elements around the screen"