Jump to content

Template:Main page/styles.css: Difference between revisions

Moved newsbox styling from MediaWiki:Common.css
(Centered heading, moved from MediaWiki:Common.css)
(Moved newsbox styling from MediaWiki:Common.css)
 
Line 78: Line 78:
border: 1px solid rgba(0, 0, 0, 0.3);
border: 1px solid rgba(0, 0, 0, 0.3);
background-color: rgba(255, 255, 255, 0.4);
background-color: rgba(255, 255, 255, 0.4);
}
/* News and recent changes */
.news-box {
border: 1px solid;
margin: 0.5em 0;
padding: 0.5em 1em;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.news-header {
border-bottom: 1px solid;
font-size: 20px;
margin: 0.5em 0;
padding: 0.4em;
}
.news-subheader {
border-left: 3px solid;
margin: 1.5em 0 0 0;
padding: 0;
padding-left: .5em;
}
}