Template:Infobox/styles.css: Difference between revisions
Template page
More actions
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: | ||
.tg-infobox { | |||
.infobox { | position: relative; | ||
.infobox- | width: 320px; | ||
.infobox- | padding: 16px 0; | ||
.infobox- | border: 1px solid #ccc; | ||
.infobox- | border-radius: 12px; | ||
.infobox .infobox-label { | color: #333; | ||
.infobox .infobox-data { padding: | 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; }