MediaWiki:Gadget-readableRC-core.css

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
  1 /* padding between "Live updates" button and gadget */
  2 .gadget-rc-button {
  3     margin-left: .5em;
  4 }
  5 
  6 /* diff row */
  7 .gadget-rc-enabled .mw-changeslist-line {
  8     margin: .3em 0;
  9     line-height: 1.6;
 10     -webkit-hyphens: auto;
 11     -ms-hyphens: auto;
 12     hyphens: auto;
 13 }
 14 
 15 /* this is what makes most of it work */
 16 .gadget-rc-enabled .mw-changeslist-line tbody > tr {
 17     display: flex;
 18 }
 19 
 20 /* pagename/log name column */
 21 .gadget-rc-pagename,
 22 .gadget-rc-logname {
 23     width: 22vw;
 24     max-width: 350px;
 25     margin-right: .5em;
 26 }
 27 
 28 @media screen and (max-width: 1000px) {
 29 
 30     .gadget-rc-pagename,
 31     .gadget-rc-logname {
 32         width: 20vw;
 33     }
 34 
 35 }
 36 
 37 .gadget-rc-logname {
 38     font-weight: bold;
 39 }
 40 
 41 /* diff/hist column */
 42 .gadget-rc-diff,
 43 .gadget-rc-logdots {
 44     width: 14vw;
 45     max-width: 175px;
 46 }
 47 
 48 .gadget-rc-diff strong {
 49     font-weight: normal;
 50 }
 51 
 52 .gadget-rc-diff .mw-changeslist-separator {
 53     display: none;
 54 }
 55 
 56 .gadget-rc-logdots .mw-changeslist-separator {
 57     padding-left: .35em;
 58 }
 59 
 60 /* user description column */
 61 .gadget-rc-userlinks,
 62 .gadget-rc-logentry {
 63     flex: 1;
 64     margin-left: .5em;
 65 }
 66 
 67 /* limit height of log entries to 2 lines (primarily for user creation log,
 68    where there can be 20+ names that bloat the entry's height) */
 69 .gadget-rc-logentry {
 70     display: -webkit-box;
 71     -webkit-line-clamp: 2;
 72     -webkit-box-orient: vertical;
 73     overflow: hidden;
 74 }
 75 
 76 .gadget-rc-userlinks > * {
 77     margin-right: .25em;
 78 }
 79 
 80 /* default is 95% for some reason */
 81 .gadget-rc-enabled .changedby {
 82     font-size: 100%;
 83 }
 84 
 85 .gadget-rc-enabled .mw-userlink {
 86     font-weight: bold;
 87 }
 88 
 89 /* truncate long IPv6 addresses */
 90 .gadget-rc-enabled .mw-anonuserlink {
 91     display: inline-block;
 92     overflow: hidden;
 93     text-overflow: ellipsis;
 94     text-transform: uppercase;
 95     white-space: nowrap;
 96     vertical-align: bottom;
 97     max-width: 17ch;
 98 }
 99 
100 /* user links */
101 .gadget-rc-enabled .mw-usertoollinks {
102     display: inline-flex;
103 }
104 
105 .gadget-rc-enabled .mw-usertoollinks a {
106     padding: 0 .05em;
107 }
108 
109 /* remove spaces around pipes in user links */
110 .gadget-rc-enabled .mw-usertoollinks > span:not(:first-child):before {
111     content: '|';
112 }
113 
114 /* remove parentheses from edit summaries */
115 .gadget-rc-enabled .comment--without-parentheses::before,
116 .gadget-rc-enabled .comment--without-parentheses::after {
117     content: '';
118 }
119 
120 /* abusefilter tags */
121 .gadget-rc-enabled .mw-tag-markers,
122 .gadget-rc-enabled .mw-tag-markers a {
123     font-weight: normal;
124 }
125 
126 /* fix alignment on nested rows */
127 .gadget-rc-enabled .gadget-rc-nested {
128     margin-left: 4.6em;
129 }
130 
131 .gadget-rc-nested .gadget-rc-pagename {
132     margin-right: .75em;
133 }
134 
135 .gadget-rc-nested .gadget-rc-userlinks {
136     margin-left: 2em;
137 }
138 
139 .gadget-rc-nested .gadget-rc-logentry {
140     margin-left: 2.3em;
141 }
142 
143 /* debold */
144 .gadget-rc-nested .gadget-rc-logname {
145     font-weight: normal;
146 }