MediaWiki:Common.css: Difference between revisions

From SoftDiamond Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 4: Line 4:
#f-list #disclaimer { display: none; }
#f-list #disclaimer { display: none; }


.infobox {
/* Navbox template style */
background-color: #ffff00;
table.navbox {
border: 2px solid #008600;
    border: 1px solid #aaa;
float: right;
    clear: both;
margin: 0 0 1em 1em;
    /*font-size: 12px;*/
padding: 1em;
    margin-top: 0.75em !important;
width: 400px;
    /*text-align: center;*/
}     
    width: 100%;  
.infobox-title {
    border-radius: 8px;
border: 1px solid #000000;
    padding: 6px;
font-size: 1.5em;
    background-color: var(--template-background-color-1);
text-align: center;
background-color: #ff0000;
}
}
.infobox-subtitle {
 
font-size: 1em;
/* Border between adjacent navboxes */
text-align: center;
table.navbox + table.navbox {
background-color: #fff00;
    margin-top: -1px;
}
}
.infobox-image {
 
text-align: center;
.navbox-title,
background-color: #ffff00;
.navbox-abovebelow,
table.navbox th {
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
}
 
.navbox-group {
    font-weight: bold;
    padding-left: 1em;
    padding-right: 1em;
    white-space: nowrap;
}
 
/* Base background */
.navbox, .navbox-subgroup {
    background: rgba(0, 0, 0, 0.1);
}
 
.navbox-list {
    border-color: rgba(0, 0, 0, 0.1); /* Must match background color */
}
}

Revision as of 08:53, 22 February 2023

/* CSS placed here will be applied to all skins */

#f-list #privacy { display: none; }
#f-list #disclaimer { display: none; }

/* Navbox template style */
table.navbox {
    border: 1px solid #aaa;
    clear: both;
    /*font-size: 12px;*/
    margin-top: 0.75em !important;
    /*text-align: center;*/
    width: 100%; 
    border-radius: 8px;
    padding: 6px;
    background-color: var(--template-background-color-1);
}

/* Border between adjacent navboxes */
table.navbox + table.navbox {
    margin-top: -1px;
}

.navbox-title,
.navbox-abovebelow,
table.navbox th {
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
}

.navbox-group {
    font-weight: bold;
    padding-left: 1em;
    padding-right: 1em;
    white-space: nowrap;
}

/* Base background */
.navbox, .navbox-subgroup {
    background: rgba(0, 0, 0, 0.1);
}

.navbox-list {
    border-color: rgba(0, 0, 0, 0.1); /* Must match background color */
}