MediaWiki:Gadget-Mainpage.css: Difference between revisions

Kuhlau (talk | contribs)
replace border with gap
Kuhlau (talk | contribs)
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 19: Line 19:
background: var(--theme-color-9);
background: var(--theme-color-9);
border: 2px solid var(--theme-accent-color);
border: 2px solid var(--theme-accent-color);
border-radius: 3px;
border-radius: 10px;
text-align: center;
text-align: center;
}
}
Line 35: Line 35:
padding: 1px;
padding: 1px;
margin-bottom: 10px;
margin-bottom: 10px;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
}


Line 94: Line 96:


/* [[Template:Latest Edits]] Fix */
/* [[Template:Latest Edits]] Fix */
#ActivityFeed .mw-changeslist ul {
list-style: none;
margin: 0;
}
#ActivityFeed .mw-changeslist-line-inner-rollback,
#ActivityFeed .mw-changeslist-line-inner-rollback,
#ActivityFeed .mw-changeslist-line-inner-tags,
#ActivityFeed .mw-changeslist-line-inner-tags,
Line 117: Line 124:
#ActivityFeed .mw-changeslist-date,
#ActivityFeed .mw-changeslist-date,
#ActivityFeed .mw-tag-markers,
#ActivityFeed .mw-tag-markers,
#ActivityFeed .minoredit,
#ActivityFeed .newpage,
#ActivityFeed ul.special .comment,
#ActivityFeed ul.special .comment,
#ActivityFeed .mw-diff-bytes {
#ActivityFeed .mw-diff-bytes {
Line 125: Line 134:
display: flex;
display: flex;
width: 100%;
width: 100%;
justify-content: space-between;
text-align: left;
gap: 0.5em;
padding: 1px 2px;
border-radius: 3px;
}
#ActivityFeed .mw-changeslist-line:nth-of-type(odd) .mw-changeslist-line-inner {
background: var(--theme-color-8);
}
}


Line 136: Line 154:
}
}


#ActivityFeed .mw-changeslist-line-inner {
#ActivityFeed .mw-changeslist .mw-title {
text-align:left;
word-break: break-word;
width: auto;
hyphens: auto;
margin-left: 2px;
}
}


#ActivityFeed span.mw-changeslist-line-inner-userLink a {
#ActivityFeed .mw-changeslist .mw-userLink {
vertical-align: middle;
margin-right: 2px;
}
 
#ActivityFeed span.mw-changeslist-line-inner-userLink {
font-size: 11px;
position: relative;
}
}


/* For Chrome users, recent changes is a table instead of a list. I have literally no idea why, but don't remove these just because you don't see a reason (like I did) */
#ActivityFeed .mw-changeslist div table {
#ActivityFeed .mw-changeslist div table {
border-bottom: none;
border-bottom: none;
Line 160: Line 175:
border: none;
border: none;
}
}
#ActivityFeed .mw-changeslist ul.mw-contributions-list li,
#ActivityFeed .mw-changeslist ul.special li {
padding: 0;
}
.skin-minerva #ActivityFeed .mw-changeslist-line {
min-height: auto;
height: 2em;
border: none;
}
.skin-minerva #ActivityFeed .mw-changeslist-line-inner::before,
.skin-minerva #ActivityFeed .mw-changeslist-line-inner::after {
content: none;
}


/* End [[Template:Latest Edits]] Fix */
/* End [[Template:Latest Edits]] Fix */