Skip to content

Wikipedia and sister projects: black, minimal by vitaly-zdanevich

Imported and mirrored from https://github.com/vitaly-zdanevich/wikipedia-userstyle-dark-minimum/raw/master/wikipedia-black.user.css

Screenshot of Wikipedia and sister projects: black, minimal

Details

Authorvitaly-zdanevich

LicenseApache License 2.0

CategoryWikimedia

Created

Updated

Size52 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Black, with removed elements that I do not need.

Notes

It is possible to use this CSS without any browser extension - for that remove

/* For use with Wikimedia backend, without brawse extension - remove these lines /
@-moz-document domain("wikisource.org"),
domain("wikimedia.org"),
domain("wikipedia.org"),
domain("wiktionary.org"),
domain("wikidata.org")
{
/
End of lines for removing, also remove "}" at the end of this file */

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name           Wikipedia and sister projects: black, minimal
@namespace      https://github.com/vitaly-zdanevich/wikipedia-userstyle-dark-minimum
@version        1.1.19
@description    Black, with removed elements that I do not need.
@author         Vitaly Zdanevich
==/UserStyle== */

/* For use with Wikimedia backend, without brawse extension - remove these lines */
@-moz-document domain("wikisource.org"),
domain("wikimedia.org"),
domain("wikipedia.org"),
domain("wiktionary.org"),
domain("wikidata.org")
{
/* End of lines for removing, also remove "}" at the end of this file */

a,
.vector-menu-dropdown .mw-list-item a,
.mw-parser-output .main-box:not(:hover) .main-box-header a:not(:focus), /* https://ru.wikipedia.org/wiki/Заглавная_страница */
.mw-parser-output .module-clickable-button-3.module-clickable-button-quiet a, /* https://ru.wikipedia.org/wiki/Заглавная_страница */
#xtools_result a,
.popup_mainlink a, /* Gadget */
.contributing a
{
	color: #37d;
}

.mw-parser-output .wmf-navbar-body-row1-links ul li a, /* https://meta.wikimedia.org/wiki/Grants:Project/Rapid */
.term a, /* https://meta.wikimedia.org/wiki/Grants:Project/Rapid#Timeline */
.cr-learn-link a /* https://meta.wikimedia.org/wiki/Grants:Project/Rapid#Eligibility_requirements */
{
	color: #37d !important;
}

a:visited {
	color: #b2b !important;
}

input,
.unsolved,
.summaryButtons button, /* Wikipedia: editing source: buttons to set Summary text */
.ts-Врезка, /* Quote at the right https://ru.wikipedia.org/wiki/Калибр_(игра) */
[style='margin-bottom: 1em; border: 1px solid #AAA; background-color: ivory; padding: 0.5em; display: flex; align-items: center;'],
[style='border-bottom:1px solid #fad67d; background-color:#faecc8; padding:0.2em 0.5em 0.2em 0.5em; font-size:100%; font-weight: ;'], /* Titles at https://be.wikipedia.org/wiki/Вікіпедыя:Даведка  */
[style='border-bottom:1px solid #abd5f5; background-color:#d0e5f5; padding:0.2em 0.5em 0.2em 0.5em; font-size:100%; font-weight: ;'] /* Titles at https://be.wikipedia.org/wiki/Вікіпедыя:Даведка  */
{
	background: #000 !important;
	color: #ddd !important;
	border-color: #555 !important;
}

#p-personal {
	top: 15px !important;
	left: 180px;
}

hr,
a[title='Log out'],
#coordinates,
#mw-indicator-mw-helplink, /* Help link on diff */
#mw-indicator-0-coord,
#siteNotice, /* Banners with internal ad */
#p-cactions, /* Dropdown menu at the left from input search */
#p-views, /* Separator vertical line - at the left of search input */
.mw-specialpage-summary, /* Text line "Please visit Commons:Help desk if you need to ask questions about uploading files." */
.footer-content, /* Mobile pages */
#editpage-copywarn,
.oo-ui-icon-reload, /* Because full block is clickable, and with Reload text */
.mw-preview-loading-elements span:nth-child(2), /* Redundant text */
#ct-popup, /* https://be.wikisource.org/wiki/Новая_зямля_(1923)/I when mouse hover on page number, to drop vertical scroll */
#editpage-copywarn2, /* "Калі ласка, не капіюйце тэксты з крыніц, якія ахоўваюцца аўтарскімі правамі (з кніг, сайтаў і іншых), бо такія матэрыялы будуць выдаленыя */
#editpage-copywarn3, /* Editing page: "Do not copy text from other websites without permission. It will be deleted. */
.mwe-upwiz-metadata-notice, /* "EXIF metadata in this file may contain location or other personal data automatically added by your camera" */
.mwe-upwiz-license-metadata, /* Commons uploading: step Describe: bottom of the page - block about captions license (always the same text) */
.sister-projects-wmf, /* Commons main page: logo of Wikimedia */
.sister-projects-family, /* Commons main page: text "Wikimedia Commons is part of the non-profit, multilingual, free-content Wikimedia family */
.mwe-upwiz-thirdparty-fields:last-child, /* "I confirm that this work does not include material restricted by copyright, such as logos, posters, album covers, etc" */
#histlegend span[style="white-space:nowrap;"]:first-child, /* History page: "араўнаньне: адзначце пунктамі дзьве вэрсіі для параўнаньня і націсьніце «ўвод» альбо кнопку ўнізе." https://be-tarask.wikipedia.org/w/index.php?title=Шаблён:Беларускія_пэрыядычныя_выданьні&action=history */
#histlegend li:first-child, /* History page: drop help texts */
#histlegend li:nth-child(2),
#histlegend li:nth-child(3),
.wd-mp-headerimage img, /* Wikidata main page: remove big white image */
#talkheader tr:first-child, /* https://en.wikipedia.org/wiki/Talk:Warcraft_III:_Reign_of_Chaos */
.talkheader-policies, /* https://en.wikipedia.org/wiki/Talk:Warcraft_III:_Reign_of_Chaos */
[style='margin: 20px auto; clear:both; padding-top: 15px; border-top:3px double #CCC; color:#222; line-height:120%; width: 80%;'], /* Wikidata main page: bottom block about the project */
[style='background:#f0f8ff; border:1px dotted #8bcbff; padding:10px; margin-top:10px'], /* Каб пазбегнуць паломак старонак, дзе ўжыты гэты шаблон, пажадана эксперыментаваць у сваёй асабістай прасторы. https://be.wikipedia.org/wiki/Шаблон:Картка/Вікісховішча */
[src$='Blue-bg_rounded.svg/350px-Blue-bg_rounded.svg.png'], /* be.wikipedia.org main page */
[src$='Yellow-bg_rounded.svg/350px-Yellow-bg_rounded.svg.png'],
[style='background:#d0f5e5; border:1px solid #a6c4b5; text-align:left; margin:1px; margin-bottom: 1px; padding:3px;'], /* Bottom https://be.wikisource.org/wiki/Галоўная_старонка */
[style='background:#ffe9a6; border:1px solid #dcbe73; text-align:left; margin:1px; margin-bottom: 1px; padding:3px;'], /* Bottom https://be.wikisource.org/wiki/Галоўная_старонка */
.mw-newarticletext div[style*='background:#F8FFFF']:first-child /* Help text in Wiktionary edit screen */
{
	display: none !important;
}

.mwe-upwiz-ownwork-purpose { /* Commons: uploading: "This work provides knowledge, instructions, or information to others." that checked by my JS */
	opacity: 0;
}

.documentation,
.iw-resultset,
.mw-parser-output .divbox-gray,
.mwe-upwiz-license-metadata,
figure[typeof~="mw:File/Thumb"],
.page-actions-menu,
footer,
.last-modified-bar,
#filetoc, /* https://commons.wikimedia.org/wiki/File:Сердце_смилович.jpg links above image "Download", "Use this file"... */
li.gallerybox div.thumb, /* https://commons.wikimedia.org/wiki/Category:Historical_images_of_Pryłuki */
#mw-content-text .flaggedrevs_editnotice, /* Wikipedia editing source code: texts "The stable version was checked on...", "Notice: Some of the pending changes affect the area of the page you are editing" */
.mw-editTools div, /* Wikipedia editing source code: fast strings at the bottom */
[style*='white'], /* Talk page, for example https://meta.wikimedia.org/w/index.php?title=Talk:Pageviews_Analysis&diff=next&oldid=26270848 */
.mw-mmv-image-metadata, /* Commons media viewer: bottom part with description, after scroll too https://commons.wikimedia.org/wiki/Category:Complex_Numbers_(musical_group):_%D0%A0%D1%83%D1%81%D0%B0%D0%BB%D0%BE%D1%87%D0%BA%D0%B0#/media/File:The-little-mermaid--info.tif */
.mw-newarticletext [style='border:1px solid #CCC; padding:7px;'], /* Commons: creating new category */
[style='height: 16pt; background-color: #D2D2F0; border: 0px; border-bottom: 1px #AAAAC8; border-style: solid; font: 11pt; font-weight: bolder; position: relative;']
{
	background-color: #000 !important;
	border: 0 !important;
}
.documentation-startbox,
.mw-parser-output .sister-projects, /* Commons: main page, near the text "Wikimedia Commons is part of the non-profit, multilingual, free-content Wikimedia family" */
.mw-heading, /* Talk page - line between comment title and comment body */
.sdms-page-result, /* Commons SERP */
.filled + .filled, /* Commons: uploading: separation between files */
.mw-parser-output .wpvg-sidebar-header-cont, /* Right https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Video_games */
.oo-ui-panelLayout-framed /* Preferences */
{
    border: 0 !important;
}

.mw-diff-table-prefix {
	/* Diff page: drop horizontal scrollbar https://meta.wikimedia.org/w/index.php?title=Talk:Pageviews_Analysis&diff=next&oldid=26270848 */
	margin-right: 5px;
}

/* https://be.wikipedia.org/wiki/Галоўная_старонка */
.MainPageBG [style="padding:0.2em 0.6em; font-size:95%; overflow: hidden;"],
[style="padding:0.2em 0.6em;; font-size:95%;"]
{
	padding-top: 50px !important;
}

#mw-fr-reviewnotice,
.navbox,
.navbox-group {
	background-color: #000 !important;
	color: #888;
	border: none !important;
}
#p-page {
	position: absolute;
	left: 175px;
	top: -15px;
}
#p-user {
	position: absolute;
	left: 230px;
	top: -13px;
}

#searchform {
	position: absolute;
	top: -9px;
	right: 0;
}

#mw-head .vector-menu-content-list {
	position: absolute;
	top: -16px;
	left: 0;
}
.vector-menu-tabs-legacy li {
	/* Without this - on pages like https://meta.wikimedia.org/wiki/User:Vitaly_Zdanevich/global.js "User Page", "Discussion" will use more space */
	height: initial;
}
#left-navigation .vector-menu-content-list { /* Buttons "Page", "Discussion" */
	filter: invert();
}

/* "Спампацаць" button on Wikisource
 * https://be.wikisource.org/wiki/Новая_зямля_(1923)
 *
 * https://en.wikisource.org/wiki/Alice's_Adventures_in_Wonderland_(1907)/Chapter_8
 *
 * https://en.wikisource.org/wiki/Popular_Science_Monthly/Volume_54/December_1898/General_Notices
 */
.mw-indicators {
	top: 100px;
}

.mw-special-MediaSearch .mw-indicators {
	top: 156px;
}

body,
[style*="#CFFF9F;"],
.mw-echo-notifications-badge, 
.mw-highlight,
aside li, /* related articles */
.NavHead,
.mw-parser-output .main-top-left, /* https://ru.wikipedia.org/wiki/Заглавная_страница */
[style*="#CFFF9F;"],
div.vectorTabs,
div.vectorTabs span,
#mw-head .vectorMenu h3,
#wdinfoboxcaption, /* Infobox category https://commons.wikimedia.org/wiki/Category:1995_in_Lithuania */
#editpage-specialchars a,
tr,
.quotebox,
.sistersitebox,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button,
.mw-advancedSearch-fieldContainer,
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled,
.mw-advancedSearch-namespace-selection,
.wikibase-toolbar-wrapper,
.wikibase...

Reviews

No reviews yet.