Jump to content

MediaWiki:Common.css: Difference between revisions

From WikiGenius
Shovon (talk | contribs)
Created page with "CSS placed here will be applied to all skins: Red themed Infobox: .infobox { background-color: #b80000; Main red color: color: #ffffff; White text: border: 2px solid #b80000; width: 300px; font-family: sans-serif; font-size: 90%; } .infobox > .title { background-color: #b80000; color: #ffffff; font-size: 18px; font-weight: bold; text-align: center; padding: 8px; } .infobox .data, .infobox .group {..."
 
Shovon (talk | contribs)
mNo edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Red themed Infobox */
/* 🔴 Red Theme for Infobox */
.infobox {
.infobox {
     background-color: #b80000; /* Main red color */
     background-color: #b80000; /* main red */
     color: #ffffff; /* White text */
     color: #ffffff; /* white text */
     border: 2px solid #b80000;
     border: 2px solid #b80000;
     width: 300px;
     width: 300px;
     font-family: sans-serif;
     font-family: sans-serif;
     font-size: 90%;
     font-size: 90%;
    margin: 10px 0;
}
}


Line 19: Line 20:
}
}


.infobox .data, .infobox .group {
.infobox .data,
.infobox .group {
     border-top: 1px solid #ffffff;
     border-top: 1px solid #ffffff;
     padding: 4px;
     padding: 4px;

Revision as of 06:48, 8 October 2025

/* CSS placed here will be applied to all skins */
/* 🔴 Red Theme for Infobox */
.infobox {
    background-color: #b80000; /* main red */
    color: #ffffff; /* white text */
    border: 2px solid #b80000;
    width: 300px;
    font-family: sans-serif;
    font-size: 90%;
    margin: 10px 0;
}

.infobox > .title {
    background-color: #b80000;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 8px;
}

.infobox .data,
.infobox .group {
    border-top: 1px solid #ffffff;
    padding: 4px;
}

.infobox .label {
    font-weight: bold;
    color: #ffffff;
}

.infobox a {
    color: #ffffff;
    text-decoration: underline;
}

.infobox a:hover {
    color: #ffcccc;
}

.infobox .image img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 5px;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.