Wikipedia

UserCSS style for Wikipedia

Vous devrez installer une extension telle que Tampermonkey, Greasemonkey ou Violentmonkey pour installer ce script.

Vous devrez installer une extension telle que Tampermonkey pour installer ce script.

Vous devrez installer une extension telle que Tampermonkey ou Violentmonkey pour installer ce script.

Vous devrez installer une extension telle que Tampermonkey ou Userscripts pour installer ce script.

Vous devrez installer une extension telle que Tampermonkey pour installer ce script.

Vous devrez installer une extension de gestionnaire de script utilisateur pour installer ce script.

(J'ai déjà un gestionnaire de scripts utilisateur, laissez-moi l'installer !)

Vous devrez installer une extension telle que Stylus pour installer ce style.

Vous devrez installer une extension telle que Stylus pour installer ce style.

Vous devrez installer une extension telle que Stylus pour installer ce style.

Vous devrez installer une extension du gestionnaire de style pour utilisateur pour installer ce style.

Vous devrez installer une extension du gestionnaire de style pour utilisateur pour installer ce style.

Vous devrez installer une extension du gestionnaire de style pour utilisateur pour installer ce style.

(J'ai déjà un gestionnaire de style utilisateur, laissez-moi l'installer!)

/* ==UserStyle==
@name        Wikipedia
@version     1.0.0
@namespace   https://www.wikipedia.org
@description UserCSS style for Wikipedia
@license     CC-BY-SA-4.0
==/UserStyle== */

@-moz-document domain("wikipedia.org"), domain("wikimedia.org"), domain("wiktionary.org"), domain("wikiquote.org"), domain("wikibooks.org"), domain("wikisource.org"), domain("wikinews.org"), domain("wikiversity.org"), domain("wikimediafoundation.org"), domain("mediawiki.org"), domain("wikivoyage.org"), domain("wiki.openstreetmap.org"), domain("wikidata.org"), domain("translatewiki.net") {

#toc.toc > tbody, #toc.toc > ul, #toctitle,
/* most of the page */ .noprint, .noprint > div, .noprint > div > div,
/* #mw-head */ #p-personal, #left-navigation, /* #right-navigation */ #p-views, #p-cactions,
/* #mw-panel */ [id="mw-panel"] > .portal,
/* fundraising */ #siteNotice, #centralNotice,
/* notes */ .metadata.plainlinks,
/* edit links */ .editsection,
/* ToC toggle */ .toctoggle,
/* search image */ #searchButton > img,
/* "from Wikipedia" */ #siteSub,
/* javascript feedback */ div[id^="mw-articlefeedback"],
/* edit toolbar while scrolling */ .ve-ui-toolbar-floating .ve-ui-toolbar-bar,
/* homepage */ body > .bookshelf-container, body > .langlist, .search-container > h5
{ display: none !important; }

/* display block */ #content, #mw-head, #mw-panel, #mw-navigation, #p-logo, #right-navigation, #p-search, #toc.toc, #toc.toc:hover > tbody, #toc.toc:hover > ul, #toc.toc:hover > #toctitle, #p-logo > a { display: block !important; }
/* display like none */ #mw-head, #mw-panel, #p-logo { min-height: 0 !important; height: 0 !important; padding: 0 !important; }

/* font size */ html { font-size: larger !important; background: #eed; }
/* background fix */ body, #column-content, #mw-mf-page-center { background: none !important; }
/* main layout */ #content { width: auto !important; margin: 0 auto !important; padding: 0.5em 0.5em 0.5em !important; border-width: 0 !important; border-style: solid !important; border-color: #666; background: #fff; }
div[id="content"] { border-color: #666 !important; }
/* small screens */ body.mediawiki { padding-right: 0 !important; padding-left: 0 !important; }
/* blog.wikimedia.org */ #column-content { padding: 1em 0 0 !important; border: 0 !important; }

/* list bullets */
ul { list-style: disc inside none !important; }
/*ul[id],*/ #toc ul, form ul, .search-types > ul, .searchresults > ul, .results-info > ul, .plainlist ul, #pagehistory, #mw-subcategories ul, /* related portals */ #plainSister, /* mobile */ .mobile ul[id], .suggestions-result { list-style-type: none !important; }

/* rounded corners */ #content, #p-search #simpleSearch, #toc.toc:hover { border-radius: 0 !important; }

/* search box */ body.mediawiki #p-search #simpleSearch { display: none !important; }
#simpleSearch #searchButton, #simpleSearch #mw-searchButton { display: none !important; }
/* search suggestions */ html > body > .suggestions { display: none !important; }
/* fix for color sets */ .suggestions-results, .suggestions-special { display: none !important; }

/* table of contents */
#bodyContent { z-index: auto !important; }
#toc.toc { position: fixed !important; top: 0 !important; right: 0 !important; bottom: auto !important; left: auto !important; z-index: 9999 !important; height: 22px !important; width: 22px !important; overflow: hidden !important; -moz-box-sizing: content-box !important; box-sizing: content-box !important; margin: 0 !important; padding: 0 !important; border: 0 !important; cursor: default !important; }
#toc.toc:hover { width: auto !important; height: auto !important; max-height: 500px !important; overflow-y: auto !important; padding: 8px !important; border: 2px solid !important; opacity: 0.94 !important; background: #fff !important; }
#toc td > ul { padding: 0 !important; }
.toc ul ul { margin-left: 1.2em !important; }
#toc.toc { background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1gEJEy8JPXuuSAAABEFJREFUOMudlV1sFFUUx/937nzsTmfbbveDUqpVW4FQkEohaUARRGrUalIj5QF9IOFBTQwh6oMk+uCTMZLVYNSElY1CYtA0RhQlPqCIIRRDoWXBAHGlQLv92O+dnZ2dmTvXB9cEqrsQ/8nJzcnJ/Z1/zs29l6CGtu/YJQLkRULlpznny+HaYQjSLCEkzpn1LcA/iUUjTq39pAb0YQjS5+s3blrYtaRb0TQViixBL5lIZfL488pFc/T0yRnXqbwQi0ZO3BF4+45djwTDrd9vHtiq2tSD+EQOmhdgnLkV23Fcl/Cl7X6xvUmmw4cOlpOTN56IRSPH64K379i1EIIYf2nn6y2XkxauzmWwqsvvah6RcXCHc7ipQsWMT2StgM+jbVq+UNv7/p6caZS6Y9FI8maWcGsbYefglm1NKZ0jfm0OGx8Is1CTYjZ4xJLmlUs+r1RsD6qVFp+cThfK+oUbeePxgUENRNg537FwK1fqbw6G6djVHNrDsk0pMQkhZUEgJUpIkVJSkESh0KCIKZ8qzU3njHznvR2cUHHzfLB4c8JdZ4nH48Fs/hoEwVsE4BICQxCIQQkxCSFWTq+kNa+kuxxOwbCEkL8xzJmztC4YgpjMFoqdjapsOC7Pz+TKZqtftSVKDMZ5TjfspOWwos8ryw7jRAAJlMpmRaB0qu4oAH4ik57lC5q9lkeipVWdwZZQk0fM6JVLWd0616CIqd6uYM9DyxasNy1GFwU1Oj0zawI4Vd8xsyJjJ3/a+uTQ8+LF63mLCoSFm9WOjpDWBQIQwHU5ypbNJu4OadM994Qf27v3Q9d17I/ng+nNybnRUzP3L+0JU/CVfb3LxaxemQg0KupYIrPHcdwfi6Z9oFGVVuumc1yVPAOnR05ZZ0ZHD+/ft+ej24wCgOu8NvrbyJXMzKSXucQxKmxK84oEBFPNqmwDiIOLbdlU0jpy5Ltplzmv/NfN+xc4Fo3YnDlD3wwPS0Gft3X89z8ShcxcCxWIc20iEYjHL/xMibD24IGDLS5jW2PRiHlH4Co8YZTLyamp6w0UxqNnRn54Wc+d/eLs2WMfqA3iG0U9axaLxWQsGknUeoSEWgXXsV89PHyoTeA00N//rBzwrxQ2bHzOw5i0aH/ss7sYY2+ijsRahQs3lFSrniaXLh+DUbT+diEA07PA5ORVIRbd93U9cE3Hp4++M7LuwQp8SpyvWzeADRuewrJlKxBopujsILidaL1iW5vfUJRQv0ivQ1ZklPQ8fj0xjvPnE2+Njyd++V+jAEC7u+97t6+vFT2rnoGsyJCkFHp7TQ7gbQDvAbAAsDv9QRQAKgB19erFKwYH1x4YGysFg6EmzM6k9TVrQtru3Z/2McbSAMoADAClapO64IZqqABaAISGhrYczWZzl/3+5sVffvnVNgApAHMAslVwBoBz2z+veqgyAG91larBqgC76tacD/xHfwGv5OG6CIeA6AAAAABJRU5ErkJggg==") center no-repeat !important; }
button.mw-mmv-options-button, button.mw-mmv-close, button.mw-mmv-fullscreen { margin-top: 30px; }

#p-logo > a { display: none !important; }

}