Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox/styles.css: Difference between revisions

Template page
Created page with "Genel Infobox Stilleri: .infobox { float: right; width: 300px; border: 1px solid var(--cdx-color-border, #a2a9b1); background-color: var(--cdx-color-background-secondary, #f8f9fa); margin: 0 0 1em 1.5em; font-size: 90%; line-height: 1.4; } .infobox-title { background-color: var(--cdx-color-background-accent-subtle, #eaf3ff); border-bottom: 1px solid var(--cdx-color-border-subtle, #c8ccd1); font-size: 1.4em; font-weight: bold; text-align: center; padding: 0.5em; colo..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/* Genel Infobox Stilleri */
.tg-infobox {
.infobox { float: right; width: 300px; border: 1px solid var(--cdx-color-border, #a2a9b1); background-color: var(--cdx-color-background-secondary, #f8f9fa); margin: 0 0 1em 1.5em; font-size: 90%; line-height: 1.4; }
    position: relative;
.infobox-title { background-color: var(--cdx-color-background-accent-subtle, #eaf3ff); border-bottom: 1px solid var(--cdx-color-border-subtle, #c8ccd1); font-size: 1.4em; font-weight: bold; text-align: center; padding: 0.5em; color: var(--cdx-color-text-primary, #202122); }
    width: 320px;
.infobox-image { padding: 10px; text-align: center; }
    padding: 16px 0;
.infobox-caption { font-size: 0.9em; font-style: italic; color: var(--cdx-color-text-secondary, #54595d); padding: 0 10px 10px 10px; text-align: center; border-bottom: 1px solid var(--cdx-color-border-subtle, #c8ccd1); }
    border: 1px solid #ccc;
.infobox-header { background-color: var(--cdx-color-background-accent-soft, #dcebff); font-weight: bold; text-align: center; padding: 0.4em; color: var(--cdx-color-text-primary, #202122); }
    border-radius: 12px;
.infobox .infobox-label { font-weight: bold; text-align: left; padding: 0.4em 0.6em; width: 35%; vertical-align: top; }
    color: #333;
.infobox .infobox-data { padding: 0.4em 0.6em; width: 65%; vertical-align: top; }
    background-color: #f9f9f9;
    line-height: 1.4;
    font-size: 14px;
}
 
.tg-infobox th,
.tg-infobox td {
    padding: 0;
    vertical-align: top;
}
 
.tg-infobox tr > *:first-child {
    padding-left: 16px;
}
 
.tg-infobox tr > *:last-child {
    padding-right: 16px;
}
 
.tg-infobox-title {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 4px;
    text-align: center;
}
 
.tg-infobox .tg-infobox-image {
    padding: 0 !important;
    overflow: hidden;
    text-align: center;
}
 
.tg-infobox .tg-infobox-label {
    text-align: start;
    padding: 8px;
    font-weight: bold;
}
 
.tg-infobox .tg-infobox-data {
    padding: 8px;
}

Latest revision as of 21:12, 12 June 2025

.tg-infobox {
    position: relative;
    width: 320px;
    padding: 16px 0;
    border: 1px solid #ccc;
    border-radius: 12px;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.4;
    font-size: 14px;
}

.tg-infobox th,
.tg-infobox td {
    padding: 0;
    vertical-align: top;
}

.tg-infobox tr > *:first-child {
    padding-left: 16px;
}

.tg-infobox tr > *:last-child {
    padding-right: 16px;
}

.tg-infobox-title {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 4px;
    text-align: center;
}

.tg-infobox .tg-infobox-image {
    padding: 0 !important;
    overflow: hidden;
    text-align: center;
}

.tg-infobox .tg-infobox-label {
    text-align: start;
    padding: 8px;
    font-weight: bold;
}

.tg-infobox .tg-infobox-data {
    padding: 8px;
}