Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Portal.css

MediaWiki interface page
Revision as of 02:04, 23 June 2020 by Emptylord (talk | contribs) (Created page with "--- Dev Wiki imports ---: @import url('//dev.wikia.com/load.php?mode=articles&articles=MediaWiki:Global_Lua_Modules/NavboxBuilder.css&only=styles'); /* --- Global varia...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* --- Dev Wiki imports --- */
@import url('//dev.wikia.com/load.php?mode=articles&articles=MediaWiki:Global_Lua_Modules/NavboxBuilder.css&only=styles');
 
/* --- Global variables --- */
 
:root {
    /* theme colors */
    --theme-color: #8A81BA;
    --secondary-color: #191111;
    --games-rail-items-per-row: 2;
    --games-rail-item-gap: .3em;
 
    /* this should be used for text over a --theme-color background */
    --text-color: rgba(255, 255, 255, 0.95);
}
 
/* --- Portal templates --- */

.portal__content > .accent {
    background-color: var(--secondary-color);
}

.portal .links > .accent {
    background-color: unset;
}

.portal {
    overflow: hidden;
    margin-bottom: 17px;
    background-color: var(--module-bg);
    border: 1px solid var(--medium-gray);
    border-radius: 3px;
}

.portal + p:not(.show) {
    display: none;
}
 
.portal__header {
    background-color: var(--theme-color);
    color: var(--text-color);
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
}

.portal__header a, .portal__header a:visited, .portal__header {
    color: var(--text-color) !important;
}

.portal__content {
    box-sizing: border-box;
    padding: 10px 30px;
    font-size: 12px;
    background-color: var(--secondary-color);
    padding-top: 30px;
}
 
.portal__content h3 {
    font-weight: bold !important;
}
 
.portal__content .floatright {
    margin: 15px 0 10px 20px !important;
}
 
.portal__content__affiliates {
	/*overflow-y: scroll;
	overflow-x: hidden;
	height: 200px;*/
	margin-top: 10px;
}
 
.portal__content__affiliates img {
	width: 100%;
	height: auto;
}
 
/* Portal/aux */
 
.portal__content span {
    display: block;
    text-align: center;
}
 
.portal__content .preloader {
    background-repeat: no-repeat;
    background-position: 1px 1px;
}
 
.portal__content__aux {
    display: inline-block;
    position: relative;
    text-align: center;
}
 
.portal__content__aux p a {
    display: block;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 25px;
    transition: color .15s ease-in;
}