MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
 
(2 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;
.mw-parser-output table td,
     gap: 1.5em;
.mw-parser-output table th {
     width: 100%;
    padding: 6px 8px;
}
 
.infobox, .infobox-agent, .infobox-incident {
     border-radius: 6px;
     overflow: hidden;
    border: 1px solid #ddd;
}
 
.mw-parser-output ul li {
     margin-bottom: 4px;
}
}


a {
/* Each column */
     color: #D0342C;
.icelist-homepage-column {
     flex: 1;
    min-width: 320px;
    max-width: 100%;
}
}


a:visited {
/* Mobile / tablet breakpoint */
     color: #A02B25;
@media (max-width: 900px) {
     .icelist-homepage-columns {
        flex-direction: column;
    }
}
}