MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Darkmode */ // @import "https://wiki.goober.gg/index.php/MediaWiki:GGDarkMode.css?action=raw&ctype=text/css"; /* **************************************************************** */ /* Focus hover images */ /* **************************************************************** */ .gallery img{ transition:transform 0.1 ease-in; } .gallery img:hover{ transform:scale(1.25); } /* **************************************************************** */ /* 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; } /* **************************************************************** */ /* Blocks */ /* Credit to SimpleArrows */ /* **************************************************************** */ .cardinfo-container { display: grid; background: #f5f5f5 !important; grid-template-columns: 1fr; grid-template-rows: 1fr 1.3fr 1fr 1.5fr; width: 360px; box-shadow: 0px 0px 10px rgba(0,0,0,.25); height: 140px; border: 1px solid #dddddd !important; overflow: hidden; line-height: 1; font-family: "Verdana"; margin: 10px; } .cardinfo-body { font-size: 12px; width: 360px; overflow: hidden; text-align: center; } .cardinfo-body td { padding: 3px; table-layout: fixed; width: 360px; } /* **************************************************************** */ /* Tile galleries */ /* Credit to SimpleArrows */ /* **************************************************************** */ .tile { width: max-content; height: max-content; display: inline; overflow: hidden; text-align: center; word-break: break-word; font-size: 11px; } .tile .tile-image { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }