MediaWiki:Gadget-Mainpage.css: Difference between revisions

Kuhlau (talk | contribs)
No edit summary
Raven.Familiar (talk | contribs)
No edit summary
 
(13 intermediate revisions by one other user not shown)
Line 8: Line 8:
.skin-minerva .mainpage-container {
.skin-minerva .mainpage-container {
flex-direction: column;
flex-direction: column;
}
.skin-vector-legacy .mainpage-right {
width: max(25%, 500px)
}
}


Line 17: Line 20:


.mainpage-border {
.mainpage-border {
background: var(--theme-color-9);
background: var(--theme-accent-color);
border: 2px solid var(--theme-accent-color);
border: 2px solid var(--theme-accent-color);
border-radius: 3px;
border-radius: 12px;
text-align: center;
text-align: center;
}
.mainpage-border:has(div.mainpage-header) {
padding: 2px;
}
}


.mainpage-header {
.mainpage-header {
background: var(--theme-accent-color);
border-radius: 2px;
border-radius: 2px;
color: #000000;
color: #000000;
Line 34: Line 32:
font-size: 1.4em;
font-size: 1.4em;
padding: 1px;
padding: 1px;
margin-bottom: 10px;
font-family: "Quicksand", sans-serif !important;
}
}


#welcome .mainpage-header {
#welcome .mainpage-header, #welcome .mainpage-content {
background: transparent;
background: transparent;
border: transparent;
}
}


Line 47: Line 46:
.mainpage-content {
.mainpage-content {
padding: 0.5em 0.5em 1em 0.5em;
padding: 0.5em 0.5em 1em 0.5em;
background: var(--theme-color-9);
border-radius: 10px;
margin: 4px;
border: 1px solid color-mix(in hsl, black 5%, var(--theme-accent-color) 95%);
}
.mainpage-image-container {
display: flex;
gap: 0.5em;
justify-content: center;
flex-wrap: wrap;
}
}


Line 123: Line 133:
#ActivityFeed .mw-tag-markers,
#ActivityFeed .mw-tag-markers,
#ActivityFeed .minoredit,
#ActivityFeed .minoredit,
#ActivityFeed .newpage,
#ActivityFeed ul.special .comment,
#ActivityFeed ul.special .comment,
#ActivityFeed .mw-diff-bytes {
#ActivityFeed .mw-diff-bytes {
Line 135: Line 146:
gap: 0.5em;
gap: 0.5em;
padding: 1px 2px;
padding: 1px 2px;
border-radius: 3px;
}
}


#ActivityFeed .mw-changeslist-line {
#ActivityFeed .mw-changeslist-line:nth-of-type(odd) .mw-changeslist-line-inner {
padding: 1px 2px;
border-radius: 3px;
}
#ActivityFeed .mw-changeslist-line:nth-of-type(odd) {
background: var(--theme-color-8);
background: var(--theme-color-8);
}
}
Line 157: Line 165:
word-break: break-word;
word-break: break-word;
hyphens: auto;
hyphens: auto;
margin-left: 2px;
}
}
#ActivityFeed .mw-changeslist .mw-userLink {
margin-right: 2px;
}
/* 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 {
border-bottom: none;
padding-top: 3px !important;
padding-bottom: 2px;
width: calc(100% - 10px);
}
#ActivityFeed .mw-changeslist div table:last-child {
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 */