Ad placeholder

MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/*
* The CSS here should be moved to Vector.css as much as possible. Currently,
* no other skin is supported for desktop, and mobile doesn't use Common.css
* anyway. Any future skin that we intend to support will need careful
* consideration and porting of CSS to its own skin-specific CSS page.
*/


/* Global variables used for various things */
/* Global variables used for various things */
Line 58: Line 67:


/* Item, spell, etc. properties */
/* Item, spell, etc. properties */
.bg3wiki-property-list dt {
.bg3wiki-property-list > ul {
font-weight: normal;
}
.bg3wiki-property-list dd {
margin-left: 0;
margin-left: 0;
list-style: none;
}
}
.mw-content-ltr ul.bg3wiki-property-list {
.mw-content-ltr ul.bg3wiki-property-list {
margin-left: 0;
margin-left: 0;
list-style: none;
list-style: none;
}
.bg3wiki-property-list dd {
margin-left: 0;
}
}


Line 843: Line 853:
justify-content: center;
justify-content: center;
gap: 5px;
gap: 5px;
flex-wrap: wrap;
}
}


.pi-type-creature .bg3wiki-infobox-creature-passive .bg3wiki-icontext-text {
.pi-type-creature li:first-child .bg3wiki-pi-creature-detail {
margin-top: 5px;
}
.pi-type-creature li:not(:last-child) .bg3wiki-pi-creature-detail {
margin-bottom: 12px;
}
.pi-type-creature .bg3wiki-pi-creature-detail .bg3wiki-icontext-text {
margin-top: -16px;
padding-left: 5px;
padding-left: 5px;
}
}
.pi-type-creature .bg3wiki-infobox-creature-passive-brief {
.pi-type-creature .bg3wiki-pi-creature-detail-text {
margin-top: -12px;
padding-left: 34px;
padding-left: 34px;
}
.pi-type-creature .bg3wiki-pi-creature-detail p {
margin: 0;
}
.pi-type-creature .bg3wiki-pi-creature-detail-text a {
color: unset;
text-decoration: underline dotted var(--link);
}
.pi-type-creature .bg3wiki-pi-creature-detail-text a:hover {
text-decoration: underline solid var(--link);
}
}


Line 1,586: Line 1,615:
.bg3wiki-achievement {
.bg3wiki-achievement {
width: 100%;
width: 100%;
}
/* For visual effect, as of now only used on [[Illithid Powers]]. */
.bg3wiki-visible-on-hover {
    opacity: 0;
    transition-property: opacity;
    transition-duration: .4s;
}
.bg3wiki-visible-on-hover:hover,
.bg3wiki-visible-on-hover:focus {
    opacity: 1;
}
/* Template:WeaponsTableHeader / Template:WeaponsTableRow */
.bg3wiki-weapons-table td:not(:last-child) {
text-align: center;
}
}

Navigation menu