Jump to content

MediaWiki:Common.css: Difference between revisions

From UVLists
Created page with "→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; }"
 
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
     border-left: 5px solid #00693e;
     border-left: 5px solid #00693e;
     border-radius: 6px;
     border-radius: 6px;
     padding: 1rem 1.25rem;
     padding: 1rem 1rem;
     margin: 1.5rem 0;
     margin: 1rem 0;
     background: var(--background-color-interactive-subtle, #f5f8f6);
     background: var(--background-color-interactive-subtle, #f5f8f6);
     color: var(--color-base, #202122);
     color: var(--color-base, #202122);
Line 20: Line 20:
.uvlists-news p {
.uvlists-news p {
     margin-bottom: 0;
     margin-bottom: 0;
}
@media (min-width: 900px) {
    .uvlists-news {
        float: right;
        width: 50%;
        max-width: 22rem;
        margin: 0 0 1.5em 1.5em;
        box-sizing: border-box;
    }
}
.uv-status {
    box-sizing: border-box;
    width: 352px;
    max-width: 100%;
    padding: 14px 15px 12px;
    border: 1px solid #a9beb3;
    border-left: 5px solid #008052;
    border-radius: 5px;
    background: #f4f8f6;
    color: #252525;
    font: 13px/1.6 system-ui, sans-serif;
}
.uv-status .uv-status-title {
    margin: 0 0 5px;
    color: #006b43;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}
.uv-status .uv-status-services {
    list-style: none;
    margin: 0;
    padding: 0;
}
.uv-status .uv-status-services li {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: 0;
    padding: 0;
}
.uv-status .uv-status-dot {
    display: inline-block;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2eaa70;
}
.uv-status .uv-status-dot.warning {
    background: #c28a18;
}
.uv-status .uv-status-dot.error {
    background: #c44242;
}
.uv-status .uv-status-dot.unknown {
    background: #7b8580;
}
.uv-status .uv-status-services a {
    color: inherit;
    text-decoration: none;
}
.uv-status .uv-status-services a:hover {
    text-decoration: underline;
}
.uv-status .uv-status-notice {
    margin-top: 5px;
    padding-top: 3px;
    border-top: 1px solid #a9beb3;
}
.uv-status .uv-status-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2px 12px;
    margin-top: 7px;
    padding-top: 4px;
    border-top: 1px solid #a9beb3;
    color: #596169;
    font-size: 12px;
}
.uv-status .uv-status-footer a {
    color: inherit;
    text-decoration: none;
}
.uv-status .uv-status-footer a:hover {
    text-decoration: underline;
}
}

Latest revision as of 06:42, 6 November 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 1rem;
    margin: 1rem 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: 50%;
        max-width: 22rem;
        margin: 0 0 1.5em 1.5em;
        box-sizing: border-box;
    }
}

.uv-status {
    box-sizing: border-box;
    width: 352px;
    max-width: 100%;
    padding: 14px 15px 12px;
    border: 1px solid #a9beb3;
    border-left: 5px solid #008052;
    border-radius: 5px;
    background: #f4f8f6;
    color: #252525;
    font: 13px/1.6 system-ui, sans-serif;
}

.uv-status .uv-status-title {
    margin: 0 0 5px;
    color: #006b43;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.uv-status .uv-status-services {
    list-style: none;
    margin: 0;
    padding: 0;
}

.uv-status .uv-status-services li {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: 0;
    padding: 0;
}

.uv-status .uv-status-dot {
    display: inline-block;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2eaa70;
}

.uv-status .uv-status-dot.warning {
    background: #c28a18;
}

.uv-status .uv-status-dot.error {
    background: #c44242;
}

.uv-status .uv-status-dot.unknown {
    background: #7b8580;
}

.uv-status .uv-status-services a {
    color: inherit;
    text-decoration: none;
}

.uv-status .uv-status-services a:hover {
    text-decoration: underline;
}

.uv-status .uv-status-notice {
    margin-top: 5px;
    padding-top: 3px;
    border-top: 1px solid #a9beb3;
}

.uv-status .uv-status-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2px 12px;
    margin-top: 7px;
    padding-top: 4px;
    border-top: 1px solid #a9beb3;
    color: #596169;
    font-size: 12px;
}

.uv-status .uv-status-footer a {
    color: inherit;
    text-decoration: none;
}

.uv-status .uv-status-footer a:hover {
    text-decoration: underline;
}