User:Mandarax/common.css

/* ======== WATCHLIST ======== */

/* Remove rollback from watchlist, recent changes, & user contribs */ .page-Special_Watchlist .mw-rollback-link, .page-Special_RecentChanges .mw-rollback-link {display:none;} /* body.mw-special-Contributions .mw-rollback-link {display:none;} */

/* Hide thank from wl,hist&rc */ .page-Special_Watchlist a.mw-thanks-thank-link, .action-history a.mw-thanks-thank-link, .page-Special_RecentChanges a.mw-thanks-thank-link {display:none;} span:has(.mw-thanks-thank-link)::before, /* Hide "(" & ")" */ span:has(.mw-thanks-thank-link)::after {content: normal !important;}

span:has(.mw-rollback-link)::before, /* Hide "(" & ")" */ span:has(.mw-rollback-link)::after {content: normal !important;}

/* Make unviewed items bold */ .mw-special-Watchlist .mw-changeslist-line-watched .mw-title {font-weight: bold;}

/* ======== EDIT SUMMARY ======== */

/* Remove "minor edit" link, then display as plain text; similar for summary */ span#minoredit_helplink a {display:none;} span#minoredit_helplink:before {content:'minor edit';}


 * 1) wpSummaryLabel label {display:none}
 * 2) wpSummaryLabel:before {content:'Edit summary:'}

/* ======== RESTORE EDIT LINKS TO THE RIGHT ======== */ span.mw-editsection {float:right;}

/* HIDING */ .postedit, /* Postedit info such as "Your edit was published" */ .updatedmarker {display: none;} /* green highlighted text in histories */

/* ======== ENHANCE LINKS TO ENHANCED ROLLBACK (currently done in js) ======== span.mw-rollback-link {background-color:#deed45;} */

/* ======== COLORS TO DISPLAY REDIRECTS ======== */ .mw-body-content a.mw-redirect {color:#308050} .mw-body-content a.mw-redirect:visited {color:#a7d471}

a.new {color: #ba0000 !important;} /* redlink color (current default: dd3333 */ .selfreference {background-color:pink;}

/* ======== HIDING AND SQUEEZING ======== */ /* Hide log out, beta, sandbox, AntiVandal, and googletrans on top menu */
 * 1) p-personal li#pt-logout,
 * 2) p-personal li#pt-betafeatures,
 * 3) p-personal li#pt-sandbox,
 * 4) p-personal li#pt-AntiVandal,
 * 5) p-cactions li#ca-TransPopsId {display: none;}

/* Hide selected Twinkle tabs
 * 1) p-cactions li#tw-arv,
 * 2) p-cactions li#tw-csd,
 * 3) p-cactions li#tw-xfd,
 * 4) p-cactions li#tw-prod,
 * 5) p-cactions li#tw-warn,
 * 6) p-cactions li#friendly-welcome,
 * 7) p-cactions li#friendly-tag,
 * 8) p-cactions li#tw-rpp,
 * 9) p-cactions li#tw-lastdiff,
 * 10) p-cactions li#tw-deli,
 * 11) p-cactions li#tw-batch,
 * 12) p-cactions li#tw-pbatch,
 * 13) p-cactions li#tw-batch-undel {display:none;}
 * 14) p-cactions li#friendly-shared,
 * 15) p-cactions li#friendly-talkback,
 * 16) p-cactions li#tw-unlink,
 * 1) p-cactions li#tw-unlink,


 * 1) p-cactions li#tw-since,
 * 2) p-cactions li#tw-sincemine,
 * 3) p-cactions li#tw-curdiff {display:none;}

/* Hide feed links in toolbox */ a.feedlink {background:none; padding-left:0px;}

/* Edit summary width */ input#wpSummary {width: 90%;}

/* Squeeze tabs closer together */ div#globalWrapper #p-cactions li {margin:0 0.1em 0 0;}
 * 1) p-cactions li {margin-right:-1px;}
 * 2) p-cactions li#ca-talk, #p-catactions li#ca-protect {margin-right:-1px;}

/* Hide clutter – CHECK THE HTML SOURCE, e.g., id="n-sitesupport" */ span#wpSummaryLabel, div#editpage-copywarn, div#editpage-copywarn2, div#editpage-copywarn3, div.mw-tos-summary, span.editHelp, div#p-coll-create_a_book, div.mw-rc-label-legend, /*div.mw-history-legend,*/ div.editpage-head-copywarn, .cancelLink, .mw-tag-other-edits, /* #siteSub, /* From Wikipedia, the free encyclopedia */ .mw-whatlinkshere-tools, /* the "(links | edit)" for each "what links here" entry */ .mw-changeslist-legend, /* watchlist legend */ /* .mw-revslider-container, /* revision slider (browse history) at top of diffs */ h3#siteSub { display:none !important; }
 * 1) n-sitesupport, /* "Donate" from "navigation" portlet */
 * 2) n-introduction, /* "Learn to edit" from "contribute" portlet */
 * 1) mw-watchlist-resetbutton, /* Watchlist: Mark all pages as visited */

/* ======== DIFFS ======== */

td{ border: 1px solid white;		/* border line around all unchanged ¶, line #s, -, + */ } table.diff, td.diff-otitle, td.diff-ntitle { background-color: white;	/* bkg for whole diff area */ }

td.diff-otitle, td.diff-ntitle { text-align: center; }

td.diff-marker { text-align: right; font-weight: bold; font-size: 1.25em; }

td.diff-lineno { font-weight: bold; }

td.diff-addedline, td.diff-deletedline, td.diff-context { font-size: 88%; vertical-align: top; white-space: -moz-pre-wrap; white-space: pre-wrap; }

td.diff-addedline, td.diff-deletedline { border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; }

td.diff-addedline { border-color: #C1E6C1;		/* border around added ¶ */ background: #F6FFF6;		/* bkg of added ¶ */ }

td.diff-deletedline { border-color: #DEDE71;		/* border around deleted ¶ */ background: #FFFFEF;		/* bkg of deleted ¶ */ }

td.diff-context { background: #F0EBF0;		/* bkg of unchanged ¶ */ color: #333333;			/* text of unchanged ¶ */ border-style: solid; border-width: 1px 1px 1px 4px; border-color: #E2E0DE;		/* border around unchanged ¶ */ border-radius: 0.33em; }

.diffchange { font-weight: bold; text-decoration: none; }

table.diff { border: none; width: 98%; border-spacing: 4px;

/* Ensure that columns are of equal width */ table-layout: fixed; }

td.diff-addedline .diffchange, td.diff-deletedline .diffchange { border-radius: 0.33em; /* padding: 0.25em 0; */ }

td.diff-addedline .diffchange { background: #378118;		/* bkg of added changes */ color: #FFFFFF; }

td.diff-deletedline .diffchange { background: #9B830C;		/* bkg of deleted changes */ color: #FFFFFF; }

table.diff td { padding: 0.33em 0.66em; }

table.diff col.diff-marker { width: 2%; }

table.diff col.diff-content { width: 48%; }

table.diff td div { /* Force-wrap very long lines */ word-wrap: break-word;

/* As fallback (FF<3.5, Opera <10.5), add scrollbars for very wide cells instead of text overflowing or widening */ overflow: auto; }