MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 52: | Line 52: | ||
} | } | ||
.bubble-container .mw-collapsible | .bubble-container .mw-collapsible .mw-collapsible-toggle { | ||
float:right; | float:right; | ||
font-size: 12px; | font-size: 12px; |
Revision as of 01:10, 26 February 2024
/* **************************************************************** */ /* Portable Infoboxes */ /* **************************************************************** */ .portable-infobox.pi-background { background-color: #f5f5f5; } .portable-infobox.pi-layout-default { border: 1px solid #dddddd !important; box-shadow: 2px 4px 12px rgb(0 0 0 / 8%) !important; border-radius: 4px !important; } .portable-infobox .pi-data-value { /* Vertically centers data values */ display: flex; align-items: center; } .portable-infobox .pi-item-spacing.pi-border-color { border-color: #dddddd; } .pi-group { /* Removes border underneath the infobox image */ border: 0; } .portable-infobox .pi-title { background-color: rgb(230,230,230); border-radius: 3px 3px 0 0 !important; font-weight: bold; padding: 0px; text-align: center; } .portable-infobox .pi-header { text-align: center; padding: 0px; background-color: rgb(230,230,230); } /* **************************************************************** */ /* Explore bubbles */ /* Credit to SimpleArrows */ /* **************************************************************** */ .bubble-container { width: auto; overflow: hidden; border-bottom: 1px solid #a2a9b1; margin-bottom: 10px; } .bubble-container .mw-collapsible .mw-collapsible-toggle { float:right; font-size: 12px; } .bubble-container ul { border-left: 1px dotted rgb(198,198,198); margin-left: 20px; padding-left: 10px; display: inline-block; padding-top: 4px; } .bubble { padding-right: 10px; padding-left: 10px; height: 12px; border: 1px solid #e9e9e9; padding-top: 3px; padding-bottom: 3px; width: max-content; border-radius: 4px; font-size: 11px; display: flex; justify-content: center; align-items: center; overflow: hidden; background: linear-gradient(90deg, rgba(239,239,239,.6) 0%, rgba(209,209,209,0) 100%); } .bubble-image img { height: 15px; width: 15px; display: flex; margin-right: 4px; } #explore-bubble { background: none; padding-top: 3px; padding-bottom: 3px; padding-left: 0px; } #link-bubble { height: 27px; font-size: 11px; float: left; margin-right: 5px; margin-bottom: 5px; padding-top: 0px; padding-bottom: 0px; } #link-bubble img { height: 20px; width: 20px; filter: drop-shadow(0 0 1px rgba(0,0,0,.5)); } .bubble-label { font-weight: bold; margin-right: 4px; display: none; padding-right: 0px; border-right: 0px solid #e9e9e9; } #explore-bubble .bubble-label { background: #f1f1f1; padding: 10px; display: flex; } #bubble-nodivider { border: none; margin-bottom: 0px; } /* **************************************************************** */ /* Banners */ /* Credit to SimpleArrows */ /* **************************************************************** */ .banner { min-width: 65%; margin: 0.5em auto; margin-bottom: 10px; box-sizing: border-box; overflow: auto; background: linear-gradient(90deg, rgba(239,239,239,.3) 0%, rgba(209,209,209,0) 100%); border: 1px solid #e9e9e9; border-left: 15px solid; border-radius: 4px; font-size: 11px; } .banner img { width: 30px; height: auto; }