User talk:Jonesey95/common.css

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Hi[edit]

Jonesey95 Thank you for making this it's amazing, do you know how to hide the gap/space between the search bar and titles of pages on the new Vector. When I go inspect element on a browser and click on it it's called vector-sitenotice-container. Aaron106 (talk) 16:19, 22 January 2023 (UTC)[reply]

Have you tried copying and pasting the relevant section of my CSS page? I think you are referring to this:
/* Vector 2022: Fix sitenotice padding at top of page. See https://phabricator.wikimedia.org/T325219 */
#siteNotice {
    margin:0
}
If you copy that text to User:Aaron106/vector-2022.css, it may fix the problem that you are seeing. I have tried to document my file well enough that people can copy sections of it for their own use. – Jonesey95 (talk) 17:39, 22 January 2023 (UTC)[reply]
Jonesey95 That did it thank you. Also when you click on articles I would just like to see the contents menu of the article shown first in the sidebar, and the main menu be below it or removed. Can this be possible. Aaron106 (talk) 17:50, 22 January 2023 (UTC)[reply]
Be a bit patient. The page tools part of the left sidebar will be moving to the right side of the page, at which point you can hide the main menu to see the TOC at the top. See https://en.wikipedia.org/wiki/Universe?vectorpagetools=1 for an example.
Jonesey95 If there is a script to close the menu permanently in only articles would fix this problem and then I would only see the contents menu in the article. Aaron106 (talk) 18:03, 22 January 2023 (UTC)[reply]
See comment above. – Jonesey95 (talk) 18:08, 22 January 2023 (UTC)[reply]
/* Vector 2022: Fix sitenotice padding at top of page. See https://phabricator.wikimedia.org/T325219 */
#siteNotice {
    margin:0
}
Jonesey95 Ok awesome, and is it possible to have this script only enabled in articles? That's preferrably where I would like too see it enabled. Aaron106 (talk) 18:13, 22 January 2023 (UTC)[reply]

Line 48 typo?[edit]

On line 48 there appears to be a typo. Specifically there's an extra period after the first selector and a missing thing before the second. My guess is the period should be shifted to the right a bit. Aaron Liu (talk) 23:31, 12 September 2023 (UTC)[reply]

Also, line 57 and similar lines can probably be simplified, e.g. for 57 padding: 0; Aaron Liu (talk) 23:33, 12 September 2023 (UTC)[reply]
Please feel free to use Jonesey's talk page, who is quite enough active to respond to this rather than needing an edit request. Izno (talk) 23:39, 12 September 2023 (UTC)[reply]
Ah, sure. Pinging @Jonesey95 Aaron Liu (talk) 23:40, 12 September 2023 (UTC)[reply]
Fixed the typo. Thanks. I am not inclined to simplify the padding calls, since the CSS is working for me and it's a nest of interactions. – Jonesey95 (talk) 23:49, 12 September 2023 (UTC)[reply]

Broken (Zebra feature flag)[edit]

@Jonesey95 Hey there! Recently, T347712 rolled out and removed the .vector-feature-zebra-design-enabled feature flag, and as a result the entire CSS file is currently broken. What other feature flag should we use now? Aaron Liu (talk) 21:39, 18 January 2024 (UTC)[reply]

My solution for this was to remove all the feature-flagged stuff since at least in my ver., they didn't need that much specificity anyways. Aaron Liu (talk) 00:05, 19 January 2024 (UTC)[reply]
Did you look at my most recent edit of this file? That fixed it for me. It was quite a shock when I logged in this morning though. – Jonesey95 (talk) 06:03, 19 January 2024 (UTC)[reply]
Hahah. Well, it’s probably fixed now. Aaron Liu (talk) 12:02, 19 January 2024 (UTC)[reply]