Template:InfoboxCss.css: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 20: | Line 20: | ||
margin-right: auto; | margin-right: auto; | ||
margin-bottom: 1.5em; | margin-bottom: 1.5em; | ||
} | |||
.infobox-table { | |||
margin-top: 1.5em; | |||
} | } | ||
.infobox-table th { | .infobox-table th { | ||
Revision as of 15:32, 29 May 2024
.infobox {
background: rgba(155, 155, 155, .2);
border: 1px solid #f50057;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 300px;
}
.infobox-title {
font-size: 1.5em;
line-height: 1.5em;
font-weight: 800;
text-align: center;
}
.infobox-image {
text-align: center;
width: 200px;
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 1.5em;
}
.infobox-table {
margin-top: 1.5em;
}
.infobox-table th {
text-align: left;
vertical-align: top;
width: 120px;
}
.infobox-table td {
vertical-align: top;
text-align: left;
}