Page MenuHomeWickedGov Phorge

linker.styles.less
No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None

linker.styles.less

/* stylelint-disable selector-class-pattern */
@import 'mediawiki.skin.variables.less';
@import 'mediawiki.mixins.less';
/**
* 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: @color-destructive;
}
/** Class is added by ChangesList::flag */
.newpage,
.minoredit,
.botedit {
font-weight: bold;
}
/** Class is added by Linker::userLink */
.mw-userlink {
// Word-break overlong user names, see T237230.
// FIXME: This property is introduced now, but will be separated in a follow-up
// caring about 'i18n-directionality', see T247033.
.hyphens( auto );
unicode-bidi: embed;
}
/** Class is added by Linker::userLink */
.mw-tempuserlink {
background-color: @background-color-interactive;
padding: 2px 8px;
border-radius: @border-radius-base;
}
/* Comment portions of RC entries, also used by MediaWiki\CommentFormatter\CommentFormatter::formatBlock */
span.comment {
font-style: italic;
unicode-bidi: -moz-isolate;
unicode-bidi: isolate;
// Covering several contexts for breaking up long comments, see T158725.
word-wrap: break-word;
overflow-wrap: break-word;
word-break: break-word;
}
/* The auto-generated edit comments */
.autocomment,
.autocomment a,
.autocomment a:visited {
color: @color-subtle;
}
/** rev_deleted stuff */
li span.deleted,
span.history-deleted {
text-decoration: line-through;
color: @color-subtle;
font-style: italic;
}
span.mw-history-suppressed {
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
text-decoration-style: double;
color: @color-base;
}
/* (show/hide) revision deletion links */
span.mw-revdelundel-link,
strong.mw-revdelundel-link {
font-size: 90%;
}
// Historically this has been styled red, but should be distinguished from
// normal red links as the contributions page does exist. To be revisited later.
// More context: T303571#7781282
.mw-usertoollinks-contribs-no-edits {
color: @color-link-new;
&:visited {
color: @color-link-new--visited;
}
}

File Metadata

Mime Type
text/plain
Expires
Wed, Aug 19, 01:33 (2 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
13/2e/f86048eaa8d2783345804e4f5f06
Default Alt Text
linker.styles.less (2 KB)

Event Timeline