MediaWiki:Gadget-readableRC-core.css

Revision as of 18:54, 2 June 2020 by Banri (talk | contribs) (Created page with "padding between "Live updates" button and gadget: .gadget-rc-button { margin-left: .5em; } recentchanges container: .gadget-rc-enabled > div { margin-left: -0.5em...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* padding between "Live updates" button and gadget */
.gadget-rc-button {
	margin-left: .5em;
}

/* recentchanges container */
.gadget-rc-enabled > div {
	margin-left: -0.5em;
}

/* diff row */
.gadget-rc-enabled .mw-changeslist-line {
	margin: .3em 0;
	line-height: 1.6;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

.gadget-rc-enabled .mw-rcfilters-ui-changesListWrapperWidget-enhanced-toplevel,
.gadget-rc-enabled .mw-rcfilters-ui-changesListWrapperWidget-enhanced-nested {
	display: flex;
}

/* pagename/log name column */
.gadget-rc-pagename,
.gadget-rc-logname {
	width: 22vw;
    max-width: 350px;
	margin-right: .5em;
}

@media screen and (max-width: 1000px) {

    .gadget-rc-pagename,
    .gadget-rc-logname {
        width: 20vw;
    }

}

.gadget-rc-logname {
	font-weight: bold;
}

.gadget-rc-logname::before {
	content: '(';
}

.gadget-rc-logname::after {
	content: ')';
}

/* diff/hist column */
.gadget-rc-diff,
.gadget-rc-logdots {
	width: 14vw;
	max-width: 175px;
}

.gadget-rc-diff strong {
	font-weight: normal;
}

.gadget-rc-diff .mw-changeslist-separator {
	display: none;
}

.gadget-rc-logdots .mw-changeslist-separator {
	padding-left: .35em;
}

/* user description column */
.gadget-rc-userlinks,
.gadget-rc-logentry {
	flex: 1;
	margin-left: .5em;
}

.gadget-rc-userlinks > * {
	margin-right: .25em;
}

.gadget-rc-enabled .mw-userlink {
	font-weight: bold;
}

.gadget-rc-enabled .mw-anonuserlink {
	word-break: break-all;
}

.gadget-rc-enabled .mw-usertoollinks a {
	padding: 0 .05em;
}

/* abusefilter tags */
.gadget-rc-enabled .mw-tag-markers,
.gadget-rc-enabled .mw-tag-markers a {
	font-weight: normal;
}

/* nested rows */
.gadget-rc-nested {
	margin-left: 3.5em;
}