styles.css
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.mp-frame { | .mp-frame { | ||
− | box-shadow: 0 0 .3em #999; | + | /* box-shadow: 0 0 .3em #999; */ |
+ | box-shadow: 2px 2px 6px 2px #ddd; | ||
border-radius: .2em; | border-radius: .2em; | ||
− | margin: 1em 0 2em 0; | + | /* margin: 1em 0 2em 0; */ |
+ | margin: 24px 6px; | ||
padding: 1px; | padding: 1px; | ||
} | } | ||
Line 17: | Line 19: | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
− | .mp-frame- | + | |
+ | .mp-frame-header_:before { | ||
display: inline-block; | display: inline-block; | ||
/* Add some content in order to get normal line height, then make it transparent */ | /* Add some content in order to get normal line height, then make it transparent */ | ||
Line 25: | Line 28: | ||
opacity: .7; | opacity: .7; | ||
/* [[File:Wikidata-logo white.svg]] */ | /* [[File:Wikidata-logo white.svg]] */ | ||
− | background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/54/Wikidata-logo_white.svg/27px-Wikidata-logo_white.svg. | + | background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/54/Wikidata-logo_white.svg/27px-Wikidata-logo_white.svg.png); |
− | background-image: url(https://upload.wikimedia.org/wikipedia/commons/5/54/Wikidata-logo_white. | + | background-image: url(https://upload.wikimedia.org/wikipedia/commons/5/54/Wikidata-logo_white.svg); |
background-size: 27px; | background-size: 27px; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; |
Latest revision as of 22:51, 13 March 2020
.mp-frame {
/* box-shadow: 0 0 .3em #999; */
box-shadow: 2px 2px 6px 2px #ddd;
border-radius: .2em;
/* margin: 1em 0 2em 0; */
margin: 24px 6px;
padding: 1px;
}
.mp-frame:after {
display: block;
content: "";
clear: both;
}
.mp-frame-header {
background-color: #888;
border-radius: .2em;
color: #fff;
padding: .4em .8em .5em;
font-weight: bold;
}
.mp-frame-header_:before {
display: inline-block;
/* Add some content in order to get normal line height, then make it transparent */
content: "x";
color: transparent;
width: 40px;
opacity: .7;
/* [[File:Wikidata-logo white.svg]] */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/54/Wikidata-logo_white.svg/27px-Wikidata-logo_white.svg.png);
background-image: url(https://upload.wikimedia.org/wikipedia/commons/5/54/Wikidata-logo_white.svg);
background-size: 27px;
background-repeat: no-repeat;
background-position: left center;
}
.mp-frame-body {
padding: 1em;
}