MediaWiki:Common.css: Difference between revisions

From SoS Ledger
Created page with "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:..."
 
(No difference)

Latest revision as of 21:08, 27 July 2025

/* 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;
}