MediaWiki:Gadget-readableRC-core.css

From RuneRealm Wiki
Jump to navigation Jump to search

After saving, you may need to bypass your browser's cache to see the changes. For further information, see Wikipedia:Bypass your cache.

  • In most Windows and Linux browsers: Hold down Ctrl and press F5.
  • In Safari: Hold down ⇧ Shift and click the Reload button.
  • In Chrome and Firefox for Mac: Hold down both ⌘ Cmd+⇧ Shift and press R.
/* keep in sync with <https://runescape.wiki/w/MediaWiki:Gadget-readableRC-core.less> */

/* <pre> */
.gadget-rc-enabled .mw-changeslist-line-inner,
.gadget-rc-enabled td.mw-enhanced-rc-nested {
    display: flex;
    gap: 0.5em;
    hyphens: auto;
}

.gadget-rc-enabled table.mw-enhanced-rc td.mw-enhanced-rc-nested {
    padding-left: 0;
}

.gadget-rc-enabled .gadget-rc-row td {
    padding-top: 0.4em;
}

.gadget-rc-enabled .gadget-rc-col-1 {
    width: 22vw;
    max-width: 350px;
}

.gadget-rc-enabled .gadget-rc-col-2 {
    width: 14vw;
    max-width: 175px;
}

.gadget-rc-enabled .gadget-rc-col-3 {
    flex: 1;
}

.gadget-rc-enabled .gadget-rc-nested .gadget-rc-col-3 {
    padding-left: 1.5em;
}

.gadget-rc-enabled .gadget-rc-edit .mw-changeslist-line-inner-separatorAfterLinks,
.gadget-rc-enabled .gadget-rc-edit .mw-changeslist-line-inner-separatorAftercharacterDiff,
.gadget-rc-enabled .gadget-rc-edit .mw-changeslist-separator {
    display: none;
}

.gadget-rc-enabled .gadget-rc-edit:not(.gadget-rc-nested) .mw-diff-bytes {
    margin-left: 0.25em;
}

.gadget-rc-enabled .gadget-rc-edit.gadget-rc-nested .mw-changeslist-links,
.gadget-rc-enabled .gadget-rc-edit.gadget-rc-nested .comment,
.gadget-rc-enabled .gadget-rc-edit.gadget-rc-nested .mw-tag-markers {
    margin-left: 0.25em;
}

.gadget-rc-enabled .gadget-rc-log:not(.gadget-rc-nested) .gadget-rc-col-1 {
    font-weight: bold;
}

.gadget-rc-enabled .mw-usertoollinks {
    display: inline-flex;
}

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

.gadget-rc-enabled .mw-usertoollinks > span:not(:first-child):before {
    content: '|';
}

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

.gadget-rc-enabled .mw-anonuserlink {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
    max-width: 15ch;
}

.gadget-rc-enabled .changedby {
    font-size: 100%;
}

.gadget-rc-enabled .mw-changeslist-ns-828 .gadget-rc-col-3,
.gadget-rc-enabled .mw-changeslist-ns-120 .gadget-rc-col-3,
.gadget-rc-enabled .mw-changeslist-log-newusers .gadget-rc-col-3,
.gadget-rc-enabled .mw-changeslist-ns4-Counter-Vandalism_Unit_Data .gadget-rc-col-3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (max-width: 900px) {
    .gadget-rc-enabled .mw-changeslist-line-inner,
    .gadget-rc-enabled td.mw-enhanced-rc-nested {
          display: table-cell;
    }

    .gadget-rc-enabled table.mw-enhanced-rc td.mw-enhanced-rc-nested {
          padding-left: 1.5em;
    }

    .gadget-rc-enabled .gadget-rc-col-2 {
          margin-left: 0.25em;
    }

    .gadget-rc-enabled .gadget-rc-col-3 {
          display: block;
    }

    .gadget-rc-enabled .gadget-rc-nested .gadget-rc-col-3 {
          padding-left: 0;
    }

}

@media screen and (max-width: 1200px) {
    .gadget-rc-enabled .gadget-rc-col-1 {
          width: 18vw;
    }

}