Template:InfoboxCss.css: Difference between revisions

Template page
(Created page with ".infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { font-size: 2em; text-align: center; } .infobox-image { text-align: center; } .infobox-table th { text-align: right; vertical-align: top; width: 120px; } .infobox-table td { vertical-align: top; }")
 
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
.infobox {
.infobox {
     background: #eee;
     background: rgba(155, 155, 155, .2);
     border: 1px solid #aaa;
     border: 1px solid #f50057;
     float: right;
     float: right;
     margin: 0 0 1em 1em;
     margin: 0 0 1em 1em;
     padding: 1em;
     padding: 1em;
     width: 400px;
     width: 325px;
}
}
.infobox-title {
.infobox-title {
     font-size: 2em;
     font-size: 1.5em;
    line-height: 1.5em;
font-weight: 800;
     text-align: center;
     text-align: center;
}
}
.infobox-subtitle {
    font-size: 1em;
    font-style: italic;
    line-height: 1.5em;
    font-weight: 300;
    text-align: center;
}
.infobox-image {
.infobox-image {
     text-align: center;
     text-align: center;
    width: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
margin-bottom: 1.5em;
}
.infobox-table {
margin-top: 1em;
}
}
.infobox-table th {
.infobox-table th {
     text-align: right;
     text-align: left;
     vertical-align: top;
     vertical-align: top;
     width: 120px;
     width: 120px;
Line 21: Line 39:
.infobox-table td {
.infobox-table td {
     vertical-align: top;
     vertical-align: top;
    text-align: left;
}
}

Latest revision as of 13:12, 4 October 2024

.infobox {
    background: rgba(155, 155, 155, .2);
    border: 1px solid #f50057;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 325px;
}
.infobox-title {
    font-size: 1.5em;
    line-height: 1.5em;
font-weight: 800;
    text-align: center;
}
.infobox-subtitle {
    font-size: 1em;
    font-style: italic;
    line-height: 1.5em;
    font-weight: 300;
    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: 1em;
}
.infobox-table th {
    text-align: left;
    vertical-align: top;
    width: 120px;
}
.infobox-table td {
    vertical-align: top;
    text-align: left;
}