Template:Box-round/styles.css: Difference between revisions
Jump to navigation
Jump to search
Bailey.Glen (talk | contribs) Created page with ".box-round { clear: both; } .box-round-title { padding: 0.1em; background: #ccf; text-align: center; font-weight: bold; border: 1px solid #99c; border-bottom: none; b..." |
(No difference)
|
Latest revision as of 16:28, 3 November 2023
.box-round {
clear: both;
}
.box-round-title {
padding: 0.1em;
background: #ccf;
text-align: center;
font-weight: bold;
border: 1px solid #99c;
border-bottom: none;
border-radius: 1.5em 1.5em 0 0;
}
.box-round-title > span {
float: right;
margin-bottom: .1em;
font-size: 85%;
padding-right: 0.5em;
}
.box-round .box-round-title > h2 {
font-size: 100%;
font-weight: bold;
border: none;
margin: 0;
padding: 0;
padding-bottom: .1em;
/*margin-top: 2em!important;*/
}
.box-round-text {
border: 1px solid #99c;
background: #fff;
margin-bottom: 10px;
padding: .8em 1em 1em 1.3em;
border-radius: 0 0 1.5em 1.5em;
}
/* I think the templates are applying before common.css, and I think this is wrong. had to add an extra modifier to increase specificity
div .box-round > div .box-round-title > h2 > span .mw-headline {
margin-top: 0em;
}*/