Template:Infobox styles.css: Difference between revisions

Add TBC entry styles (light, dark, OS dark) for the new Time Base Correction infobox section (via update-page on MediaWiki MCP Server)
Replace TBC card styles with grouped container styles — left border accent per entry group, matching infobox label/value layout (via update-page on MediaWiki MCP Server)
Line 69: Line 69:
}
}


/* ===== TBC ENTRY STYLES ===== */
/* ===== TBC GROUP STYLES ===== */


.infobox-tbc-entry {
.infobox-tbc-group {
    margin-bottom: 0.5em;
    padding: 0.4em 0.6em;
    background-color: #f5f5fa;
     border-left: 3px solid #6c5ce7;
     border-left: 3px solid #6c5ce7;
     border-radius: 2px;
     margin: 2px 0;
    padding-left: 0;
}
}


.infobox-tbc-entry:last-child {
.infobox-tbc-group + .infobox-tbc-group {
    margin-bottom: 0;
     margin-top: 6px;
}
 
.infobox-tbc-type {
    font-weight: bold;
    color: #333333;
}
 
.infobox-tbc-detail {
    font-size: 0.92em;
    color: #444444;
    margin-top: 0.1em;
}
 
.infobox-tbc-notes {
    font-size: 0.85em;
    color: #666666;
     margin-top: 0.2em;
    line-height: 1.35;
}
}


Line 230: Line 210:
}
}


/* TBC entry dark mode */
/* TBC group dark mode */
html.skin-theme-clientpref-night .infobox-tbc-entry {
html.skin-theme-clientpref-night .infobox-tbc-group {
    background-color: #313244;
     border-left-color: #7c6cf7;
     border-left-color: #7c6cf7;
}
html.skin-theme-clientpref-night .infobox-tbc-type {
    color: #cdd6f4;
}
html.skin-theme-clientpref-night .infobox-tbc-detail {
    color: #bac2de;
}
html.skin-theme-clientpref-night .infobox-tbc-notes {
    color: #a6adc8;
}
}


Line 367: Line 334:
     }
     }


     /* TBC entry OS dark mode */
     /* TBC group OS dark mode */
     html.skin-theme-clientpref-os .infobox-tbc-entry {
     html.skin-theme-clientpref-os .infobox-tbc-group {
        background-color: #313244;
         border-left-color: #7c6cf7;
         border-left-color: #7c6cf7;
    }
    html.skin-theme-clientpref-os .infobox-tbc-type {
        color: #cdd6f4;
    }
    html.skin-theme-clientpref-os .infobox-tbc-detail {
        color: #bac2de;
    }
    html.skin-theme-clientpref-os .infobox-tbc-notes {
        color: #a6adc8;
     }
     }


MediaWiki Appliance - Powered by TurnKey Linux