/* stylelint-disable selector-class-pattern */
/**
 * This file is a LESS import match for "mediawiki.skin.variables.less"
 * when legacy Vector (useskin=vector) is the active skin.
 */
/* stylelint-disable indentation */
/* stylelint-disable selector-class-pattern */
/* stylelint-disable selector-no-vendor-prefix */
/* stylelint-enable selector-no-vendor-prefix */
/**
 * Helper classes to provide styles for classes provided by functions of Linker class or Changes class.
 * Also used for CommentFormatter class, which was previous in Linker.
 */
/** Class is added by ChangesList::flag */
.unpatrolled {
  font-weight: bold;
  color: #d33;
}
/** Class is added by ChangesList::flag */
.newpage,
.minoredit,
.botedit {
  font-weight: bold;
}
/** Class is added by Linker::userLink */
.mw-userlink {
  word-wrap: break-word;
  /* stylelint-disable plugin/no-unsupported-browser-features */
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  /* stylelint-enable plugin/no-unsupported-browser-features */
  unicode-bidi: embed;
}
/** Class is added by Linker::userLink */
.mw-tempuserlink {
  background-color: #eaecf0;
  padding: 2px 8px 2px 8px;
  border-radius: 2px;
}
/* Comment portions of RC entries, also used by MediaWiki\CommentFormatter\CommentFormatter::formatBlock */
span.comment {
  font-style: italic;
  unicode-bidi: -moz-isolate;
  unicode-bidi: isolate;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}
/* The auto-generated edit comments */
.autocomment,
.autocomment a,
.autocomment a:visited {
  color: #72777d;
}
.mw-comment-none {
  display: block;
  position: absolute !important;
  /* stylelint-disable-line declaration-no-important */
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
}
/** rev_deleted stuff */
li span.deleted,
span.history-deleted {
  text-decoration: line-through;
  color: #72777d;
  font-style: italic;
}
span.mw-history-suppressed {
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
  text-decoration-style: double;
  color: #202122;
}
/* (show/hide) revision deletion links */
span.mw-revdelundel-link,
strong.mw-revdelundel-link {
  font-size: 90%;
}
.mw-usertoollinks-contribs-no-edits {
  color: #ba0000;
}
.mw-usertoollinks-contribs-no-edits:visited {
  color: #a55858;
}

/* stylelint-disable selector-class-pattern */
/**
 * Helper classes used across special pages and actions
 *
 * This is the default for skin styles. It is possible that skin override this file.
 * This file is only used to provide styling for content elements to support translatable messages.
 */
/* Content dividers */
/* @todo FIXME: Hard coded ". .". Is there a message for this? Should there be? */
.mw-changeslist-separator:empty::before {
  content: '. .';
}
/**
 * Rather than use an existing element, we have a specific element for designating
 * the separation of certain elements by a semicolon.
 * This is a variant of the rule mw-changeslist-separator rule above but uses a semicolon
 * rather than a the two dots. It's not clear why we use different things for separation, and
 * when adding this I was unable to see any information that led to its change. A designer in the
 * future of a developer who has the energy to invest may explore this more and see if these two
 * classes can be combined.
 *
 * There is lots of context on this rule in https://phabricator.wikimedia.org/T233649
 *
 * # History page
 *
 * The history page should never have a semicolon as there is never a mw-title element.
 * Previous attempts to add the semicolon used the timestamp and a before pseudo element
 * but this led to problems as the history page also uses this element and there is no
 * easy way to distinguish it from other elements and never any need to have a semicolon
 * on the history page.
 *
 * # Special:RecentChanges
 *
 * has always had a semicolon and motivation for moving this change here.
 *
 * # Special:Watchlist
 *
 * Note that before this change was introduced, the Special:Watchlist page
 * didn't have a semicolon after the title. This caused some confusion to
 * editors (https://phabricator.wikimedia.org/T237685) but this rule makes it
 * consistent with Special:RecentChanges. To disable the semicolon on the watchlist
 * would be additional CSS to reset the content of this pseudo element for that specific
 * page, but we should not accrue that technical debt without some strong arguments for
 * doing so - and they should be documented!
 * # Special:Contributions
 * Never use semicolon on this page. Always use “. .” as separators.
 */
.mw-changeslist-separator--semicolon::before {
  content: '; ';
}
.mw-rollback-link::before {
  content: '[';
}
.mw-rollback-link::after {
  content: ']';
}
.comment--without-parentheses::before,
.mw-changeslist-links::before,
.mw-diff-bytes::before,
.mw-tag-markers::before,
.mw-uctop::before {
  content: '(';
}
.comment--without-parentheses::after,
.mw-changeslist-links::after,
.mw-diff-bytes::after,
.mw-tag-markers::after,
.mw-uctop::after {
  content: ')';
}
.mw-changeslist-links {
  display: inline-block;
}
.mw-changeslist-links > span:not( :first-child )::before {
  content: ' | ';
}
.mw-changeslist-links .mw-rollback-link::before,
.mw-changeslist-links .mw-rollback-link::after {
  content: '';
}
.mw-tag-marker::after {
  content: ', ';
}
.mw-tag-marker:last-child::after {
  content: '';
}
