MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.news-template {
border: 1px solid #ddd;
padding: 15px;
margin-bottom: 20px;
background-color: #f9f9f9;
border-radius: 5px;
}
.news-template h2 {
color: #333;
margin-top: 0;
margin-bottom: 10px;
}
.news-header {
font-size: 0.9em;
color: #666;
margin-bottom: 15px;
border-bottom: 1px dashed #eee;
padding-bottom: 5px;
}
.news-date {
font-weight: bold;
margin-right: 10px;
}
.news-author {
font-style: italic;
}
.news-body img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto 15px;
border: 1px solid #eee;
}
.news-body p {
line-height: 1.6;
margin-bottom: 10px;
}
.news-categories, .news-tags, .news-source {
font-size: 0.85em;
color: #888;
margin-top: 10px;
}