Welcome to SECApedia! Please check out our rules, manual of style aswell as some info on the site.


The site is currently in a "grace period" where only users can edit articles so that we can set things up in peace. This should end within a few days or so. Soyoyuki (talk) 14:22, 21 June 2026 (UTC)


CURRENT MISSION: Update, uncensor and (if needed) rewrite all the imported pages from SNCApedia.
Additionally, please remove all unnecessary discussion pages, for example those with outdated info.

Module:TemplateBase/Infobox/styles.css

From SECApedia
Jump to navigationJump to search
/* ==================================================
   Base Infobox Structural Styling
================================================== */
.tbase-infobox {
    width: 300px;
    border: 1px solid #000;
    border-radius: 2px;
    background: linear-gradient(#f2d1c1, #feffee);
    border-collapse: separate;
    border-spacing: 0;
    margin: 0.5em 0 0.5em 1em;
    float: right;
    clear: right;
    font-size: 90%;
    overflow: hidden; /* Enforces the border-radius clipping */
}

/* Top #800 Title Block */
.tbase-infobox-title {
    background: #800;
    color: #fff;
    font-size: 131%;
    font-weight: bold;
    text-align: center;
    padding: 0.5em;
    line-height: 1.2em;
}

/* Image Container */
.tbase-infobox-image {
    position: relative; 
    text-align: center;
    padding: 0 !important;
}

.tbase-infobox-image img {
    max-width: 100%;
    height: auto;
}

/* Table Cells Setup */
.tbase-infobox th,
.tbase-infobox td {
    padding: 0 0.4em;
    vertical-align: middle;
}

/* Labels (The left column) */
.tbase-infobox-label {
    font-weight: bold;
    text-align: left;
    width: 35%;
}

/* Data (The right column) */
.tbase-infobox-data,
.tbase-infobox-full-data {
    text-align: left;
}

/* Lines between each category */
.tbase-infobox tr + tr > th,
.tbase-infobox tr + tr > td {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

/* Subheaders & Headers */
.tbase-infobox-header {
    background: rgba(0, 0, 0, 0.05);
    font-weight: bold;
    text-align: center;
}

/* Force MediaWiki list formatting inside data cells */
.tbase-infobox-data ul {
    margin: 0 0 0 1.5em !important;
    padding: 0;
    list-style-type: disc !important;
}

.tbase-infobox-data li {
    margin: 0;
    padding: 0;
}


/* ==================================================
   Military Conflict Grid & Legacy Adaptions
================================================== */
.tbase-infobox-split-table {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-collapse: collapse;
    display: table;
    table-layout: fixed;
    background: transparent;
}

.tbase-infobox-split-table td {
    vertical-align: top;
    padding: 0.25em 0.5em;
}

/* Strip default cell padding so the inner grid flushes against the edge */
.tbase-infobox-full-data.split-container,
.tbase-infobox-data.split-container {
    padding: 0 !important;
}

/* Internal grid margin handling to prevent cramped content */
.tbase-infobox-split-table tr:first-child td {
    padding-top: 0.5em;
}
.tbase-infobox-split-table tr:last-child td {
    padding-bottom: 0.5em;
}

.tbase-infobox-notes {
    font-size: 90%;
    text-align: left;
}

/* Status specific normalization carrying over from legacy css */
.tbase-infobox .status > p:first-child {
    margin: 0;
}

@media all and (min-width: 720px) {
    .desktop-float-right {
        box-sizing: border-box;
        float: right;
        clear: right;
    }
}