MediaWiki:Common.css: Difference between revisions

mNo edit summary
mNo edit summary
Line 2,259: Line 2,259:
.ooo-v2-controls-body p:last-child {
.ooo-v2-controls-body p:last-child {
     margin-bottom: 0;
     margin-bottom: 0;
}
/* ========================================
  V2 VEHICLE ATTACHMENTS
======================================== */
.ooo-v2-attachment {
    display: flex;
    align-items: stretch;
    gap: 18px;
    padding: 14px;
    margin-bottom: 12px;
    background: #20262b;
    border: 1px solid #343d44;
    border-radius: 6px;
}
.ooo-v2-attachment-image {
    width: 180px;
    min-width: 180px;
    min-height: 115px;
    background: #171c20;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ooo-v2-attachment-image img {
    display: block;
    max-width: 100%;
    max-height: 135px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.ooo-v2-attachment-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}
.ooo-v2-attachment-name {
    font-size: 18px;
    font-weight: 700;
}
.ooo-v2-attachment-name a {
    color: #e6b934;
    text-decoration: none;
}
.ooo-v2-attachment-name a:hover {
    text-decoration: underline;
}
.ooo-v2-attachment-description {
    color: #d0d7db;
    font-size: 14px;
    line-height: 1.6;
}
.ooo-v2-attachment-compatibility {
    color: #aeb8be;
    font-size: 13px;
    line-height: 1.5;
}
.ooo-v2-attachment-compatibility span {
    color: #e6b934;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-right: 8px;
}
@media (max-width: 650px) {
    .ooo-v2-attachment {
        flex-direction: column;
    }
    .ooo-v2-attachment-image {
        width: 100%;
        min-width: 0;
        min-height: 150px;
    }
}
}