Template:Infobox culture/styles.css: Difference between revisions
No edit summary |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
.infobox | .infobox-culture { | ||
float: right; | |||
width: 320px; | |||
margin: 0 0 1em 1em; | |||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
background: #f8f9fa; | background: #f8f9fa; | ||
font-size: 0.95em; | font-size: 0.95em; | ||
line-height: 1.35; | line-height: 1.35; | ||
} | } | ||
.infobox-culture th, | |||
.infobox-culture td { | |||
padding: 0.4em 0.5em; | |||
vertical-align: top; | |||
} | } | ||
.infobox | .infobox-culture .infobox-title { | ||
background: #eaecf0; | |||
text-align: center; | |||
font-weight: 700; | font-weight: 700; | ||
font-size: 1. | font-size: 1.1em; | ||
} | } | ||
.infobox | .infobox-culture .infobox-image { | ||
text-align: center; | |||
} | } | ||
.infobox | .infobox-culture .infobox-caption { | ||
margin-top: 0.35em; | margin-top: 0.35em; | ||
font-size: 0.9em; | font-size: 0.9em; | ||
| Line 37: | Line 32: | ||
} | } | ||
/* Mobile: don't force float */ | |||
@media screen and (max-width: 720px) { | |||
.infobox-culture { | |||
float: none; | |||
width: auto; | |||
margin: 0.5em 0 1em 0; | |||
} | |||
.infobox | |||
. | |||
} | } | ||
Revision as of 00:16, 27 January 2026
.infobox-culture {
float: right;
width: 320px;
margin: 0 0 1em 1em;
border: 1px solid #a2a9b1;
background: #f8f9fa;
font-size: 0.95em;
line-height: 1.35;
}
.infobox-culture th,
.infobox-culture td {
padding: 0.4em 0.5em;
vertical-align: top;
}
.infobox-culture .infobox-title {
background: #eaecf0;
text-align: center;
font-weight: 700;
font-size: 1.1em;
}
.infobox-culture .infobox-image {
text-align: center;
}
.infobox-culture .infobox-caption {
margin-top: 0.35em;
font-size: 0.9em;
color: #54595d;
}
/* Mobile: don't force float */
@media screen and (max-width: 720px) {
.infobox-culture {
float: none;
width: auto;
margin: 0.5em 0 1em 0;
}
}