ProleWiki:Main page/Frame/styles.css: Difference between revisions
From ProleWiki, the proletarian encyclopedia
More languages
More actions
No edit summary |
m (FelipeForte moved page Template:Main Page/Frame/styles.css to Template:ProleWiki:Main Page/Frame/styles.css without leaving a redirect) |
(No difference)
|
Revision as of 15:29, 15 December 2020
.mp-frame {
box-shadow: 0 0 .3em #999;
border-radius: .2em;
margin: 1em 0 2em 0;
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:Hamsickwhite.svg]]*/
background-image: url(https://prolewiki.org/images/3/3d/Hamsickwhite.svg);
background-size: contain;
background-repeat: no-repeat;
background-position: left center;
}
.mp-frame-body {
padding: 1em;
}