MediaWiki:Themes.css

/* Infobox styling */ .portable-infobox { border-radius: 8px; border: 2px solid #4179f4; padding: 2px; } .portable-infobox .pi-title { background-color: #4179f4; color: #fff; border-radius: 8px 8px 0 0; line-height: 20px; text-align: center; background-image: url('https://static.wikia.nocookie.net/aestrol-walrus/images/e/e0/Great_Sage_Abstract.png/revision/latest?cb=20220603034055&format=original') !important; background-size: cover; background-position: center; font-weight: bold; } .portable-infobox .pi-header { background-color: #4179f4; color: #fff !important; font-size: 16px; font-weight: normal; text-align: center; background-image: url('https://static.wikia.nocookie.net/aestrol-walrus/images/7/7b/Great_Sage_Abstract_2.png/revision/latest?cb=20220603014358&format=original') !important; background-size: cover; background-position: center; font-weight: bold; } .portable-infobox .pi-data { flex-basis: 65%; transition: 0.2s } .theme-fandomdesktop-light .portable-infobox .pi-data:hover { background-color: #CAD6EF; } .theme-fandomdesktop-dark .portable-infobox .pi-data:hover { background-color: #071024; } .pi-border-color { border-color: #4179f4; }

/* Makes infobox tabs made from gallery look nice */ .pi-image-collection-tabs { display: flex; flex-direction: row; flex-wrap: wrap; } .pi-image-collection-tabs .pi-tab-link { border: 0; flex: 1 auto; } .pi-image-collection-tabs .pi-tab-link:hover, .pi-image-collection-tabs .current { background: #4179f4; } .pi-image-collection-tabs .current:hover { cursor: default; } .pi-image-collection-tab-content { background: transparent; } .pi-image { background: transparent; } ul.pi-image-collection-tabs { padding-bottom: 1px; }

/* 2.2 Тest for Infobox character */ .portable-infobox .pi-section-navigation { display: flex; flex-direction: row; } .portable-infobox .pi-section-label, .portable-infobox .pi-section-label:hover { color: #3a3a3a !important; } .pi-section-tab { text-align: center; } .portable-infobox .wds-tabs__tab, .pi-section-tab { border: 0; flex: 1 auto; } .pi-section-tab.pi-section-tab:hover, .pi-section-tab.pi-section-active { background: #4179f4; } .portable-infobox .pi-section-navigation:after, .portable-infobox .pi-section-navigation:before { width: 0; } .pi-section-tab.pi-section-active, .pi-section-tab.pi-section-active:hover { box-shadow: none; } .pi-section-navigation li { margin: 2px 0; max-width: 50% !important; } .portable-infobox .wds-tabs__tab-label, .pi-section-label { font-size: 14px; font-weight: normal; height: 30px; text-transform: none; } ul.pi-image-collection-tabs li { margin: 0; } .pi-section-tab:hover .pi-section-label { color: #3a3a3a; } .pi-image-collection-tabs .pi-tab-link { border-top: 2px solid #4179f4; }

/* Discussion Activity Module from One Piece Wiki*/ .discussions-rail { background-image: url("https://vignette.wikia.nocookie.net/bdzero/images/b/b7/Wall_2.jpg/revision/latest?cb=20200611230324"); background-size: 290px; color: #FFFFFF; font-weight: bold; text-shadow: 0 0 2px black; text-align: center; }

.discussion-text { text-align: center; font-family: 'HelveticaNeue', Helvetica, Arial, sans-serif; font-size: 16px; position: relative; padding: 10px; }

.discussion-button { background: #006baf; display: inline-block; font-size: 12px; font-weight: bold; height: 46px; line-height: 46px; margin: 14px 0; padding: 0 30px; text-decoration: none; text-transform: uppercase; }

.discussion-button a { color: white; }

.discussion-button:hover { background-color: #9ee0d8 }

/*Community rail module*/ .community-page-rail-module { background: url('https://vignette.wikia.nocookie.net/bdzero/images/2/2f/Wall_1.jpg/revision/latest?cb=20200611230304') 100% center; padding:10px; }

.description { background: rgba(255,255,255,0.8); font-weight: bold; padding: 5px; }

.WikiaRail .rail-module .wds-button.wds-is-secondary { background: rgba(255,255,255,0.8); }