MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 11: Line 11:
     font-weight: bold;
     font-weight: bold;
}
}
 
/* Hide username, talk link, and notification bell in the personal toolbar */
body {
#pt-userpage,
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
#pt-mytalk,
    line-height: 1.5;
.mw-echo-notifications-badge,
}
.mw-echo-notifications,
 
#pt-notifications-alert,
#content, .mw-body {
#pt-notifications-notice {
    max-width: 1100px; /* adjust for taste */
     display: none !important;
    margin: 0 auto;
}
 
h1, h2, h3, h4 {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.2px;
}
 
a {
    text-decoration: none;
}
 
a:hover {
    text-decoration: underline;
}
 
.mw-parser-output table {
     border-color: #ddd;
}
}
 
/* HOMEPAGE LAYOUT FIX */
.mw-parser-output table th {
.icelist-homepage-columns {
     background: #f7f7f7;
     display: flex;
     font-weight: 600;
     flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5em;
    width: 100%;
}
}


.mw-parser-output table td,
/* Each column */
.mw-parser-output table th {
.icelist-homepage-column {
     padding: 6px 8px;
    flex: 1;
    min-width: 320px;
     max-width: 100%;
}
}


.infobox, .infobox-agent, .infobox-incident {
/* Mobile / tablet breakpoint */
    border-radius: 6px;
@media (max-width: 900px) {
     overflow: hidden;
    .icelist-homepage-columns {
    border: 1px solid #ddd;
        flex-direction: column;
     }
}
}