Jump to content

MediaWiki:Common.css: Difference between revisions

From UVLists
mNo edit summary
mNo edit summary
Line 27: Line 27:
         width: 40%;
         width: 40%;
         max-width: 22rem;
         max-width: 22rem;
         margin: 0 0 0 0;
         margin: 0 0 1.5em 1.5em;
         box-sizing: border-box;
         box-sizing: border-box;
     }
     }
}
}

Revision as of 15:59, 13 October 2026

/* CSS placed here will be applied to all skins */

.uvlists-news {
    border: 1px solid #a7bbae;
    border-left: 5px solid #00693e;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    background: var(--background-color-interactive-subtle, #f5f8f6);
    color: var(--color-base, #202122);
}

.uvlists-news h2 {
    margin: 0 0 0.75rem;
    padding: 0;
    border: 0;
    font-size: 1.35rem;
}

.uvlists-news p {
    margin-bottom: 0;
}

@media (min-width: 900px) {
    .uvlists-news {
        float: right;
        width: 40%;
        max-width: 22rem;
        margin: 0 0 1.5em 1.5em;
        box-sizing: border-box;
    }
}