Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @namespace url(http://www.w3.org/1999/xhtml);
- @-moz-document domain("fr.wikipedia.org") {
- /*
- Version: 1.0
- *** INSTALL NOTICE ***
- This CSS has been tested in Pale Moon and Waterfox Classic. It might work
- flawlessly in Firefox, but will very likely have bugs in a Chrome-type
- browser. Code suggestions are welcome.
- You can copy this code starting from line 3 ("@-moz-document ...") into
- your user.css file in a Firefox-type browser. (More technical but doesn't
- require addons)
- You can also install a userstyles addon and install this code in it as a
- new user style. (Less technical but requires installing addons)
- Recommended user styles addons are Stylus for Firefox and Waterfox Current,
- Stylem for Palemoon, Stylish 2.1.1 for Waterfox Classic. Stylish 2.1.1 can
- be downloaded via Classic Addons Archive, and auto-updating Stylish should
- be disabled as newer versions contain spyware.
- *** POST INSTALL INSTRUCTIONS ***
- PALE MOON
- You're good to go.
- WATERFOX CLASSIC
- Find the line containing:
- margin-top: 2.48em;
- Change this text to:
- margin-top: 2.53em;
- FIREFOX, CHROMIUM, CHROME, OPERA, EDGE, IE
- Not tested; I don't use these browsers. Please report if it works.
- Suggestions to make the fix work with these and other browsers are welcome!
- *** COMMENTS, SUGGESTIONS, BUG REPORTS & FIXES ***
- Feel free to send suggestions for improvement, code suggestions, bug
- reports, ideas how to fix bugs and other comments to my e-mail or preferably
- to my talk page on MediaWiki:
- <https://www.mediawiki.org/wiki/User_talk:Vectorman007>
- I'm not a professional web developer, merely a (hopefully talented) amateur.
- I've decided to fully revert to "Legacy" Vector because when removing
- max-width text, the sidebar gets in the way of article text in a way that I
- don't know how to fix. Unfortunately some things are still broken, such as
- the blue border of the "Article" button. Help will be much appreciated.
- For any accepted contributions, the contributor will retain copyright.
- Please donate to Free Software Foundation, World Wildlife Fund, Wikipedia
- or Amnesty International if you wish to help out my causes.
- *** LICENSE ***
- Parts of this code, license text and accompanying notices that have been
- contributed by Vectorman are (c) 2020 Vectorman.
- All rights reserved unless noted otherwise below.
- By installing, using, reproducing, distributing, modifying, or scrolling
- past the license notice, you agree to the terms of this license.
- You may install, reproduce, distribute and/or modify this code under the
- conditions that i) it retains this license notice intact, and ii) the
- resultant code does not restrict the width of text to any fixed amount or
- to less than 80% of the screen width at 1920px wide or wider displays.
- You may not sell this code, nor charge for reproduction and/or distribution
- thereof; this applies to any manner of distribution, sale and/or
- reproduction, including but not limited to being part of other software,
- being part of a web document, or offered as a paid web service. You may not
- request donations for distributing this code.
- Any part of this license may be waived, and rights may be granted at
- author's discretion. If any part(s) of this license is/are null and void, or
- otherwise unenforceable, the enforceable part(s) shall hold regardless.
- Any parts that have not been contributed by Vectorman, should they
- exist, are copyright by their rightful owners.
- */
- .skin-vector-max-width .mw-content-container {
- /*min-width: none !important;*/
- max-width: none !important;
- padding: 0;
- }
- .skin-vector-max-width .mw-workspace-container {
- /*min-width: none !important;*/
- max-width: none !important;
- padding: 0;
- }
- .skin-vector-max-width .mw-sidebar-container {
- left: -162px;
- }
- .skin-vector-max-width .mw-page-container {
- margin-left: 177px;
- max-width: none !important;
- margin-top: -1px;
- border-top: 1px solid #a7d7f9 !important;
- border-right: 1px solid #a7d7f9 !important;
- border-left: 1px solid #a7d7f9 !important;
- border-top-width: 1px;
- border-right-width: 0px;
- border-bottom-width: 0px;
- border-left-width: 1px;
- border-top-style: solid;
- border-right-style: solid;
- border-bottom-style: solid;
- border-left-style: solid;
- border-top-color: rgb(167, 215, 249);
- border-right-color: rgb(167, 215, 249);
- border-bottom-color: rgb(167, 215, 249);
- border-left-color: rgb(167, 215, 249);
- -moz-border-top-colors: none;
- -moz-border-right-colors: none;
- -moz-border-bottom-colors: none;
- -moz-border-left-colors: none;
- border-image-source: none;
- border-image-slice: 100% 100% 100% 100%;
- border-image-width: 1 1 1 1;
- border-image-outset: 0 0 0 0;
- border-image-repeat: stretch stretch;
- border-left: 1px solid #a7d7f9 !important;
- }
- /*.skin-vector-max-width.skin-vector-search-header-legacy #mw-sidebar-checkbox:not(:checked) ~ .mw-header .mw-sidebar, .skin-vector-max-width.skin-vector-search-header #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar {
- transform: translateX(0px);
- }*/
- .skin-vector-search-header-legacy #mw-sidebar-checkbox:not(:checked) ~ .mw-header .mw-sidebar, .skin-vector-search-header #mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar {
- visibility: visible;
- opacity: 100;
- }
- .mw-logo {
- transform: translateX(-170px);
- display: block;
- }
- .skin-vector-max-width {
- /*background-color: #efefef;*/
- background-color: #f6f6f6;
- }
- #mw-panel {
- border-right: inherit !important;
- background-color: inherit !important;
- background-image: none !important;
- }
- .mw-logo-icon {
- /*background-position: center center;
- background-repeat: no-repeat;*/
- display: block;
- width: 160px;
- height: 160px;
- padding-left: 160px;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background: url(https://en.wikipedia.org/static/images/project-logos/frwiki.png) no-repeat !important;
- }
- .mw-logo-container {
- display:none;
- }
- #mw-sidebar-button::before, #mw-sidebar-button::after, #mw-sidebar-button {
- visibility: hidden; display:none;
- }
- .skin-vector-search-header-legacy #mw-panel {
- top: 9.6875em;
- }
- #mw-page-base {
- background-color: #fbfbfb;
- background-image: -webkit-gradient(linear,right top,right bottom,color-stop(50%,#ffffff),color-stop(100%,#f6f6f6));
- background-image: -webkit-linear-gradient(top,#ffffff 50%,#f6f6f6 100%);
- background-image: -moz-linear-gradient(top,#ffffff 50%,#f6f6f6 100%);
- background-image: linear-gradient(to bottom,#ffffff 50%,#f6f6f6 100%);
- background-position: bottom left;
- height: 5em;
- margin-left: -193px;
- padding-left: 193px;
- }
- .vector-menu-tabs li {
- background-image: url(/w/skins/Vector/resources/skins.vector.styles/images/tab-normal-fade.png?1cc52);
- background-image: linear-gradient(to top,#77c1f6 0,#e8f2f8 1px,#ffffff 100%);
- background-position: left bottom;
- background-repeat: repeat-x;
- float: left;
- display: block;
- height: 100%;
- margin: 0;
- padding: 0;
- line-height: 1.125em;
- white-space: nowrap;
- }
- .skin-vector-max-width.skin-vector-search-header-legacy .mw-article-toolbar-container {
- margin-top: 2.48em;
- }
- .skin-vector-max-width .mw-page-container {
- padding: 0 15px !important;
- }
- .skin-vector-max-width .mw-page-container {
- padding: 0 15px;
- }
- #left-navigation > #p-namespaces> div.body.vector-menu-content > ul.vector-menu-content-list {
- transform: translateX(-15px);
- }
- .skin-vector-max-width .mw-footer-container {
- background-color: #f6f6f6;
- /* padding-left: 0px !important;*/
- transform: translateX(-16px);
- margin-left: -193px;
- margin-right: -32px;
- /* padding-right: 17px !important;*/
- /*
- border-image-slice: 100% 100% 100% 100%;
- border-image-width: 1 1 1 1;
- border-image-outset: 0 0 0 0;
- border-image-repeat: stretch stretch;
- border-right-width: 0;
- border-bottom-width: 0;
- border-left-width: 0;
- border-top: 1px solid #a7d7f9 !important;
- */
- }
- .skin-vector-max-width .mw-footer-container > .mw-content-container {
- padding-left: 193px;
- }
- .skin-vector-max-width .mw-footer {
- border-top: 1px solid #a7d7f9;
- padding: 22px 17px 1.25em 17px;
- }
- .skin-vector-max-width .mw-header {
- z-index: 0;
- }
- }
Add Comment
Please, Sign In to add comment