MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 16: | Line 16: | ||
p.infobox-subtitle { | p.infobox-subtitle { | ||
margin-top: 0; | margin-top: 0; | ||
margin-bottom: | margin-bottom: 1em; | ||
} | } | ||
.infobox-credit p { | .infobox-credit p { | ||
margin: 0; | margin: 0.25em 0; | ||
} | |||
.infobox-links p { | |||
margin: 0.5em 0; | |||
} | } | ||
.infobox-image { | .infobox-image { | ||
text-align: center; | text-align: center; | ||
} | } | ||
.infobox | .infobox-links .link1 { | ||
border-top: 1px solid #aaa; | |||
padding: 1em 0 0 0; | |||
margin-top: 1em; | |||
} | } | ||
. | |||
/* Images should be responsive */ | |||
.res-img { | |||
max-width:95%; | |||
height:auto; | |||
} | } | ||
Latest revision as of 04:41, 13 July 2020
/* CSS placed here will be applied to all skins */
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 200px;
}
.infobox-title {
font-size: 1em;
text-align: left;
font-weight: bold;
margin-bottom: 0;
}
p.infobox-subtitle {
margin-top: 0;
margin-bottom: 1em;
}
.infobox-credit p {
margin: 0.25em 0;
}
.infobox-links p {
margin: 0.5em 0;
}
.infobox-image {
text-align: center;
}
.infobox-links .link1 {
border-top: 1px solid #aaa;
padding: 1em 0 0 0;
margin-top: 1em;
}
/* Images should be responsive */
.res-img {
max-width:95%;
height:auto;
}