Template:Infobox culture/styles.css: Difference between revisions
Created page with ".infobox--culture { box-sizing: border-box; border: 1px solid #a2a9b1; background: #f8f9fa; margin: 0.5em 0 1em 0; } @media screen and (min-width: 720px) { .infobox--culture { float: right; width: 320px; margin: 0 0 1em 1em; } } .infobox__header { font-weight: bold; padding: 0.6em; background: #eaecf0; } .infobox__row { display: grid; grid-template-columns: 40% 60%; padding: 0.3em 0; }" |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
.infobox | table.infobox-culture { | ||
border: 1px solid #a2a9b1 !important; | |||
border: 1px solid #a2a9b1; | background: #f8f9fa !important; | ||
background: #f8f9fa; | border-collapse: collapse !important; | ||
margin: 0 | font-size: 0.95em !important; | ||
line-height: 1.35 !important; | |||
width: 320px !important; | |||
margin: 0 0 1em 1em !important; | |||
float: right !important; | |||
} | } | ||
table.infobox-culture th, | |||
.infobox-- | table.infobox-culture td { | ||
padding: 0.45em 0.55em !important; | |||
vertical-align: top !important; | |||
border-top: 1px solid #c8ccd1 !important; | |||
} | |||
table.infobox-culture th.infobox-title { | |||
background: #eaecf0 !important; | |||
border-top: 0 !important; | |||
text-align: center !important; | |||
font-weight: 700 !important; | |||
font-size: 1.1em !important; | |||
} | |||
table.infobox-culture td.infobox-image { | |||
text-align: center !important; | |||
} | } | ||
. | table.infobox-culture .infobox-caption { | ||
margin-top: 0.35em !important; | |||
font-size: 0.9em !important; | |||
color: #54595d !important; | |||
} | } | ||
. | @media screen and (max-width: 720px) { | ||
table.infobox-culture { | |||
float: none !important; | |||
width: 100% !important; | |||
margin: 0.5em 0 1em 0 !important; | |||
} | |||
} | } | ||
Latest revision as of 01:14, 27 January 2026
table.infobox-culture {
border: 1px solid #a2a9b1 !important;
background: #f8f9fa !important;
border-collapse: collapse !important;
font-size: 0.95em !important;
line-height: 1.35 !important;
width: 320px !important;
margin: 0 0 1em 1em !important;
float: right !important;
}
table.infobox-culture th,
table.infobox-culture td {
padding: 0.45em 0.55em !important;
vertical-align: top !important;
border-top: 1px solid #c8ccd1 !important;
}
table.infobox-culture th.infobox-title {
background: #eaecf0 !important;
border-top: 0 !important;
text-align: center !important;
font-weight: 700 !important;
font-size: 1.1em !important;
}
table.infobox-culture td.infobox-image {
text-align: center !important;
}
table.infobox-culture .infobox-caption {
margin-top: 0.35em !important;
font-size: 0.9em !important;
color: #54595d !important;
}
@media screen and (max-width: 720px) {
table.infobox-culture {
float: none !important;
width: 100% !important;
margin: 0.5em 0 1em 0 !important;
}
}