Template:Infobox culture/styles.css: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
table.infobox-culture { | table.infobox-culture { | ||
width: 100%; | |||
width: 320px; | max-width: 320px; | ||
margin: 0 0 | margin: 0.75em 0; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
background: #f8f9fa; | background: #f8f9fa; | ||
| Line 11: | Line 10: | ||
} | } | ||
/* | /* Desktop only: float */ | ||
@media screen and (min-width: 720px) { | |||
table.infobox-culture { | |||
float: right; | |||
margin: 0 0 1em 1em; | |||
} | |||
} | |||
table.infobox-culture th, | table.infobox-culture th, | ||
table.infobox-culture td { | table.infobox-culture td { | ||
| Line 19: | Line 25: | ||
} | } | ||
table.infobox-culture th.infobox-title { | table.infobox-culture th.infobox-title { | ||
background: #eaecf0; | background: #eaecf0; | ||
| Line 28: | Line 33: | ||
} | } | ||
table.infobox-culture td.infobox-image { | table.infobox-culture td.infobox-image { | ||
text-align: center; | text-align: center; | ||
} | } | ||
table.infobox-culture .infobox-caption { | table.infobox-culture .infobox-caption { | ||
margin-top: 0.35em; | margin-top: 0.35em; | ||
font-size: 0.9em; | font-size: 0.9em; | ||
color: #54595d; | color: #54595d; | ||
} | } | ||
Revision as of 01:06, 27 January 2026
table.infobox-culture {
width: 100%;
max-width: 320px;
margin: 0.75em 0;
border: 1px solid #a2a9b1;
background: #f8f9fa;
border-collapse: collapse;
font-size: 0.95em;
line-height: 1.35;
}
/* Desktop only: float */
@media screen and (min-width: 720px) {
table.infobox-culture {
float: right;
margin: 0 0 1em 1em;
}
}
table.infobox-culture th,
table.infobox-culture td {
padding: 0.45em 0.55em;
vertical-align: top;
border-top: 1px solid #c8ccd1;
}
table.infobox-culture th.infobox-title {
background: #eaecf0;
border-top: 0;
text-align: center;
font-weight: 700;
font-size: 1.1em;
}
table.infobox-culture td.infobox-image {
text-align: center;
}
table.infobox-culture .infobox-caption {
margin-top: 0.35em;
font-size: 0.9em;
color: #54595d;
}