MediaWiki:Wikia.css

@import url('https://fonts.googleapis.com/css?family=Rubik&subset=latin-ext'); @import url("/load.php?mode=articles&articles=u:dev:MediaWiki:ModernPolls.css|u:dev:MediaWiki:FandomizedMasthead.css&only=styles");

/* MainPageBox */ .mp-box { display: block; margin: 1px 1px 7px 1px; border-radius: 2px 2px 10px 10px; background-color: #FFFFFF; } .mp-box .mp-title { margin: 0px; border-bottom: none; text-align: center; padding: 5px; background-color: #5B0196; font-weight: bold; border-radius: 2px 2px 0px 0px; font-size: 25px; font-family: 'Rubik'; color: #FFFFFF } .mp-box div { font-size: 16px; padding: 5px 10px 5px 10px; font-family: 'Rubik', serif; }

/* MainPageCards */ .mp-cards > div { display: flex; flex-wrap: wrap; justify-content: space-around } .cards { background: transparent; border: none; border-radius: 5px; padding: 2px; margin-bottom: 10px; margin-right: 10px; position: relative; width: 120px; text-align: center } .cards img { border-radius: 3px } .cards .cardtext { background: #5B0196; border-bottom-right-radius: 3px; color: #FFFFFF; font-size: 10px; font-weight: bold; line-height: 1.5; padding: 0 3px; position: absolute; right: 1px; bottom: 1px } .cards .cardtext a { color: inherit }

/* Round avatars on user profiles */ .WikiaUserPagesHeader .masthead-avatar img { border-radius: 50%; } .WikiaUserPagesHeader .masthead-avatar img { border-radius: 50%; }

/* Infocards */ .card { background: #FFFFFF; border-radius: 3px; font-size: x-small; font-weight: 800; position: relative; line-height: 1.5em; margin: 20px; height: 100%; width: var(--card__size, 300px); transition: box-shadow 0.3s ease; overflow: hidden; } .card:hover { box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); } .card--img { position: relative; } .card--img::before { background: linear-gradient(.5turn, rgba(0, 0, 0, 0), var(--card__accent, #ae2745)); content: ''; height: 100%; opacity: 0.5; position: absolute; top: 0; width: var(--card__size, 300px); } .card--wrapper { padding: 15px; position: relative; } .card--wrapper__title { margin: -7.5px 0 5px !important; font-size: 20px !important; } .card--wrapper__actions { background: var(--card__accent, #ae2745); border-radius: 2px; color: #f0f0f0; left: 15px; padding: 0.2em 0.6em; position: absolute; top: -30px; }

.card.horizontal { background: 0; } .card.horizontal .card--wrapper__title { margin-top: -29px !important; color: var(--color__color,#f0f0f0); margin-left: 15px !important; transform: translatey(-5px); } .card.horizontal .card--wrapper__actions { transform: translatey(5px); } .card.horizontal .card--wrapper__content { display: none; } .card.horizontal .card--wrapper { padding: 0; }