MediaWiki:Common.css: Difference between revisions
mNo edit summary |
Added styles for new skin. Added new main page styles (currently still in my sandbox). Added links to images used in the stylesheet so they don't show up as unused. |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
| Line 20: | Line 21: | ||
} | } | ||
#ca-unwatch.icon a, #ca-watch.icon a { | #ca-unwatch.icon a, #ca-watch.icon a { | ||
padding-top: 3.10em; | padding-top: 3.10em; | ||
| Line 56: | Line 55: | ||
} | } | ||
div#mw-panel { | div#mw-panel { | ||
padding-top: 0 !important; | padding-top: 0 !important; | ||
| Line 84: | Line 79: | ||
float: right; | float: right; | ||
} | } | ||
| Line 175: | Line 160: | ||
} | } | ||
.eu4box-inline .heading { | .eu4box-inline .heading { | ||
background-image: url("https://wiki.geministation.com/images/6/61/Earth_space_500px.png"); | background-image: url("https://wiki.geministation.com/images/6/61/Earth_space_500px.png"); /* [[File:Earth_space_500px.png]] */ | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-size: auto; | background-size: auto; | ||
| Line 242: | Line 227: | ||
/* Main Page Header Image*/ | /* Main Page Header Image*/ | ||
.header {background-image: url('https://wiki.geministation.com/images/7/78/Header3.png'); | .header {background-image: url('https://wiki.geministation.com/images/7/78/Header3.png'); /* [[File:Header3.png]] */ | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
display: block; | display: block; | ||
| Line 1,452: | Line 1,437: | ||
.mission-action:before, | .mission-action:before, | ||
.mission-action:after { | .mission-action:after { | ||
content: ' | content: '\0151\0151\0151'; | ||
margin: 4px; | margin: 4px; | ||
letter-spacing: -1px; | letter-spacing: -1px; | ||
| Line 2,122: | Line 2,107: | ||
.fairycode b ~ b:before { | .fairycode b ~ b:before { | ||
content: " | content: "\2022"; | ||
} | } | ||
| Line 3,042: | Line 3,027: | ||
.navbox .navbox-list li + li::before { | .navbox .navbox-list li + li::before { | ||
content: ' | content: ' \2022\ '; | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
| Line 3,301: | Line 3,286: | ||
.portal-link-img.article.earthtoken a:hover { | .portal-link-img.article.earthtoken a:hover { | ||
background-image: url("https://wiki.geministation.com/images/2/23/Earth_token.png"); | background-image: url("https://wiki.geministation.com/images/2/23/Earth_token.png"); /* [[File:Earth_token.png]] */ | ||
background-size: contain; | background-size: contain; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
} | } | ||
.portal-link-img.article.eristoken a:hover { | .portal-link-img.article.eristoken a:hover { | ||
background-image: url("https://wiki.geministation.com/images/6/65/Eris_token.png"); | background-image: url("https://wiki.geministation.com/images/6/65/Eris_token.png"); /* [[File:Eris_token.png]] */ | ||
background-size: contain; | background-size: contain; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
} | } | ||
.portal-link-img.article.gemtoken a:hover { | .portal-link-img.article.gemtoken a:hover { | ||
background-image: url("https://wiki.geministation.com/images/2/24/Gem_token.png"); | background-image: url("https://wiki.geministation.com/images/2/24/Gem_token.png"); /* [[File:Gem_token.png]] */ | ||
background-size: contain; | background-size: contain; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
} | } | ||
.portal-link-img.article.jupitertoken a:hover { | .portal-link-img.article.jupitertoken a:hover { | ||
background-image: url("https://wiki.geministation.com/images/0/0b/Jupiter_token.png"); | background-image: url("https://wiki.geministation.com/images/0/0b/Jupiter_token.png"); /* [[File:Jupiter_token.png]] */ | ||
background-size: contain; | background-size: contain; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
} | } | ||
.portal-link-img.article.marstoken a:hover { | .portal-link-img.article.marstoken a:hover { | ||
background-image: url("https://wiki.geministation.com/images/8/8a/Mars_token.png"); | background-image: url("https://wiki.geministation.com/images/8/8a/Mars_token.png"); /* [[File:Mars_token.png]] */ | ||
background-size: contain; | background-size: contain; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
} | } | ||
.portal-link-img.article.moontoken a:hover { | .portal-link-img.article.moontoken a:hover { | ||
background-image: url("https://wiki.geministation.com/images/9/97/Moon_token.png"); | background-image: url("https://wiki.geministation.com/images/9/97/Moon_token.png"); /* [[File:Moon_token.png]] */ | ||
background-size: contain; | background-size: contain; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
} | } | ||
.portal-link-img.article.birthdaytoken a:hover { | .portal-link-img.article.birthdaytoken a:hover { | ||
background-image: url("https://wiki.geministation.com/images/2/2a/Token_birthday.png"); | background-image: url("https://wiki.geministation.com/images/2/2a/Token_birthday.png"); /* [[File:Token_birthday.png]] */ | ||
background-size: contain; | background-size: contain; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
} | } | ||
.portal-link-img.article.cavmastoken a:hover { | .portal-link-img.article.cavmastoken a:hover { | ||
background-image: url("https://wiki.geministation.com/images/6/65/Token_cavmas.png"); | background-image: url("https://wiki.geministation.com/images/6/65/Token_cavmas.png"); /* [[File:Token_cavmas.png]] */ | ||
background-size: contain; | background-size: contain; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
} | } | ||
.portal-link-img.article.harvesttoken a:hover { | .portal-link-img.article.harvesttoken a:hover { | ||
background-image: url("https://wiki.geministation.com/images/f/f2/Token_harvest.png"); | background-image: url("https://wiki.geministation.com/images/f/f2/Token_harvest.png"); /* [[File:Token_harvest.png]] */ | ||
background-size: contain; | background-size: contain; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
} | } | ||
.portal-link-img.article.fightertoken a:hover { | .portal-link-img.article.fightertoken a:hover { | ||
background-image: url("https://wiki.geministation.com/images/3/31/Fighter_token.png"); | background-image: url("https://wiki.geministation.com/images/3/31/Fighter_token.png"); /* [[File:Fighter_token.png]] */ | ||
background-size: contain; | background-size: contain; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
} | } | ||
.portal-link-img.article.freightertoken a:hover { | .portal-link-img.article.freightertoken a:hover { | ||
background-image: url("https://wiki.geministation.com/images/9/9c/Freighter_token.png"); | background-image: url("https://wiki.geministation.com/images/9/9c/Freighter_token.png"); /* [[File:Freighter_token.png]] */ | ||
background-size: contain; | background-size: contain; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
} | } | ||
.portal-link-img.article.scouttoken a:hover { | .portal-link-img.article.scouttoken a:hover { | ||
background-image: url("https://wiki.geministation.com/images/1/11/Scout_token.png"); | background-image: url("https://wiki.geministation.com/images/1/11/Scout_token.png"); /* [[File:Scout_token.png]] */ | ||
background-size: contain; | background-size: contain; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
| Line 3,420: | Line 3,405: | ||
.quote-source::before { | .quote-source::before { | ||
content: ' | content: '\0151\ '; | ||
} | } | ||
| Line 4,329: | Line 4,314: | ||
.tile.big-tile { | .tile.big-tile { | ||
width: 100%; | width: 100%; | ||
background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), #ffffff 50%), url("filepath://Main page Shauny.png") right / auto 100% no-repeat #ffffff; | background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), #ffffff 50%), url("filepath://Main page Shauny.png") right / auto 100% no-repeat #ffffff; /* [[File:Main page Shauny.png]] */ | ||
margin-bottom: 0.9rem; | margin-bottom: 0.9rem; | ||
padding-right: 8vw; | padding-right: 8vw; | ||
| Line 4,335: | Line 4,320: | ||
.tile.big-tile.dxp { | .tile.big-tile.dxp { | ||
background: linear-gradient(to left, rgba(255, 255, 255, 0.5), #ffffff 50%), url("https://wiki.geministation.com/images/6/6b/Double_Exp_Banner.png") right / auto 100% no-repeat #ffffff; | background: linear-gradient(to left, rgba(255, 255, 255, 0.5), #ffffff 50%), url("https://wiki.geministation.com/images/6/6b/Double_Exp_Banner.png") right / auto 100% no-repeat #ffffff; /* [[File:Double Exp Banner.png]] */ | ||
} | } | ||
.tile.big-tile.moon { | .tile.big-tile.moon { | ||
background: linear-gradient(to left, rgba(255, 255, 255, 0.5), #ffffff 50%), url("https://wiki.geministation.com/images/7/7d/Moon_Event_Banner.png") right / auto 100% no-repeat #ffffff; | background: linear-gradient(to left, rgba(255, 255, 255, 0.5), #ffffff 50%), url("https://wiki.geministation.com/images/7/7d/Moon_Event_Banner.png") right / auto 100% no-repeat #ffffff; /* [[File:Moon Event Banner.png]] */ | ||
} | } | ||
| Line 6,565: | Line 6,550: | ||
/*TEMPLATE:MISSIONBOX*/ | /*TEMPLATE:MISSIONBOX*/ | ||
.gem{ | .gem{ | ||
background-image: url("https://wiki.geministation.com/images/0/06/Gem_space.png"); | background-image: url("https://wiki.geministation.com/images/0/06/Gem_space.png"); /* [[File:Gem space.png]] */ | ||
} | } | ||
.earth_space{ | .earth_space{ | ||
background-image: url("https://wiki.geministation.com/images/5/57/Earth-space.png"); | background-image: url("https://wiki.geministation.com/images/5/57/Earth-space.png"); /* [[File:Earth-space.png]] */ | ||
} | } | ||
.earth{ | .earth{ | ||
background-image: url("https://wiki.geministation.com/images/1/1e/Earth.png"); | background-image: url("https://wiki.geministation.com/images/1/1e/Earth.png"); /* [[File:Earth.png]] */ | ||
} | } | ||
.mars_space{ | .mars_space{ | ||
background-image: url("https://wiki.geministation.com/images/4/49/Mars_space.png") | background-image: url("https://wiki.geministation.com/images/4/49/Mars_space.png") /* [[File:Mars space.png]] */ | ||
} | } | ||
.mars{ | .mars{ | ||
background-image: url("https://wiki.geministation.com/images/d/de/Mars.png"); | background-image: url("https://wiki.geministation.com/images/d/de/Mars.png"); /* [[File:Mars.png]] */ | ||
} | } | ||
.jupiter_space{ | .jupiter_space{ | ||
background-image: url("https://wiki.geministation.com/images/d/d1/Jupiter_space.png"); | background-image: url("https://wiki.geministation.com/images/d/d1/Jupiter_space.png"); /* [[File:Jupiter space.png]] */ | ||
} | } | ||
.mercury_space{ | .mercury_space{ | ||
| Line 6,586: | Line 6,571: | ||
} | } | ||
.eris_space{ | .eris_space{ | ||
background-image: url("https://wiki.geministation.com/images/b/b3/Eris.png"); | background-image: url("https://wiki.geministation.com/images/b/b3/Eris.png"); /* [[File:Eris.png]] */ | ||
} | } | ||
.explosion{ | .explosion{ | ||
background-image: url("https://wiki.geministation.com/images/0/09/Explosion.png"); | background-image: url("https://wiki.geministation.com/images/0/09/Explosion.png"); /* [[File:Explosion.png]] */ | ||
} | } | ||
.northernlights{ | .northernlights{ | ||
background-image: url("https://wiki.geministation.com/images/3/35/Northern_lights.png"); | background-image: url("https://wiki.geministation.com/images/3/35/Northern_lights.png"); /* [[File:Northern lights.png]] */ | ||
} | } | ||
.venus{ | .venus{ | ||
| Line 6,625: | Line 6,610: | ||
/*Future Content - Main Page*/ | /*Future Content - Main Page*/ | ||
.tile.big-tile.futurecontent { | .tile.big-tile.futurecontent { | ||
background: url("https://wiki.geministation.com/images/4/48/GeminiSpace.png") right / 100% auto no-repeat #ffffff; | background: url("https://wiki.geministation.com/images/4/48/GeminiSpace.png") right / 100% auto no-repeat #ffffff; /* [[File:GeminiSpace.png]] */ | ||
padding: 1.5em 2em 1em; | padding: 1.5em 2em 1em; | ||
text-align: center; | text-align: center; | ||
| Line 6,718: | Line 6,703: | ||
.timebody li:before { | .timebody li:before { | ||
content: " | content: "\0151"; | ||
margin-right: .5em; | margin-right: .5em; | ||
} | } | ||
| Line 6,974: | Line 6,959: | ||
order: -2; | order: -2; | ||
} | } | ||
:root { | |||
--accent-color:#8f1f16; | |||
--logo-width:25em; | |||
--logo-height:calc(var(--logo-width) * 0.166); | |||
--search-width:35em; | |||
--search-height:3em; | |||
--head-border-height:10px; | |||
--head-text-color--rgb:255, 255, 255; | |||
--head-text-color--opacity:0.9; | |||
--head-personal-height:3em; | |||
--head-background-image:url("https://wiki.geministation.com/images/0/0f/Wiki_background.jpg"); /* [[File:Wiki_background.jpg]] */ | |||
--head-height:calc(8em + var(--head-personal-height) + var(--search-height) + var(--logo-height)); | |||
--footer-background-color:#212f3e; | |||
--footer-text-color:#fff; | |||
--footer-link-color:#dfdcdc; | |||
--sidebar-background-color:#f6f6f6; | |||
--sidebar-width:11em; | |||
--left-extra-sidebar-width: 5em; | |||
} | |||
/************ | |||
* Wiki logo * | |||
*************/ | |||
#p-logo { | |||
position:absolute; | |||
left:calc(50vw - var(--logo-width)/2); | |||
top:calc((var(--head-height) + var(--head-border-height)) * -1); | |||
/* separation from #p-personal */ | |||
margin-top:var(--head-personal-height); | |||
} | |||
#p-logo, | |||
#p-logo a { | |||
width:var(--logo-width); | |||
height:var(--logo-height); | |||
} | |||
.mw-wiki-logo { | |||
background-image:url(https://wiki.geministation.com/images/f/f4/Wiki_logo_1.png); /* [[File:Wiki_logo_1.png]] */ | |||
background-size:contain; | |||
filter:invert(1); | |||
} | |||
/**************** | |||
* End wiki logo * | |||
*****************/ | |||
/********* | |||
* Header * | |||
**********/ | |||
#content { | |||
border:none; | |||
margin-top:0; | |||
} | |||
.mw-body { | |||
margin-top:0; | |||
} | |||
#mw-page-base { | |||
position:relative; | |||
background:none; | |||
height:var(--head-height); | |||
margin-bottom:var(--head-border-height); | |||
} | |||
/* doing this as an ::after instead of a simple border ensures that the sidebar and content area always appear to line up vertically. | |||
normally rounding errors can sometimes misalign them a tiny bit, but by having this hover over them, this misalignment is hidden */ | |||
#mw-page-base::after { | |||
position:absolute; | |||
width:100%; | |||
height:var(--head-border-height); | |||
background:var(--accent-color); | |||
bottom:calc(var(--head-border-height) * -1); | |||
content:''; | |||
z-index:1; | |||
pointer-events:none; | |||
} | |||
#p-personal { | |||
height:var(--head-personal-height); | |||
} | |||
#p-personal a { | |||
color:rgba(var(--head-text-color--rgb), var(--head-text-color--opacity)); | |||
} | |||
#p-personal .oo-ui-icon-bell, | |||
#p-personal .oo-ui-icon-tray { | |||
filter:invert(1); | |||
opacity:var(--head-text-color--opacity); | |||
} | |||
#left-navigation, | |||
#right-navigation { | |||
margin-top:calc(var(--head-height) - 2.5em); | |||
} | |||
#left-navigation { | |||
margin-left:0; | |||
} | |||
#right-navigation { | |||
margin-right:1px; | |||
} | |||
@media (min-width:600px){ | |||
#mw-head{ | |||
display:flex; | |||
justify-content:flex-end; | |||
column-gap:1px; | |||
} | |||
#right-navigation .vector-menu-tabs { | |||
background:none; | |||
} | |||
} | |||
#right-navigation #p-views .vector-menu-content-list > li:first-of-type { | |||
position:relative; | |||
} | |||
/* this gives the appearance of the left and right navigation being one object, but without interfering with the collapsing script they use */ | |||
#right-navigation #p-views .vector-menu-content-list > li:first-of-type::after { | |||
position:absolute; | |||
width:50px; | |||
height:100%; | |||
top:0; | |||
left:-2px; | |||
background:#fff; | |||
content:''; | |||
z-index:-1; | |||
} | |||
#p-cactions.vector-menu-dropdown h3 { | |||
background:#fff; | |||
} | |||
#p-cactions .menu { | |||
left:unset; | |||
right:-1px; | |||
} | |||
/********************************************** | |||
* End main header section, search bar follows * | |||
***********************************************/ | |||
/************* | |||
* Search bar * | |||
**************/ | |||
/* the :not(.sticky-hidden) reverts the search bar to its normal spot when the user scrolls and triggers the sticky header */ | |||
#mw-head:not(.sticky-hidden) #p-search { | |||
position:absolute; | |||
top:calc(var(--head-personal-height) + var(--logo-height) + 1em); | |||
left:calc(50vw - var(--search-width)/2); | |||
} | |||
#mw-head:not(.sticky-hidden) #searchInput { | |||
height:var(--search-height); | |||
border-radius:var(--search-height); | |||
border:2px solid #fff; | |||
background:rgba(33,33,33,0.5); | |||
box-shadow:none; | |||
color:#fff; | |||
padding-left:1.2em; | |||
} | |||
#mw-head:not(.sticky-hidden) #searchInput::placeholder { | |||
color:rgba(255,255,255,0.7) | |||
} | |||
#mw-head:not(.sticky-hidden) #searchButton { | |||
filter:invert(1); | |||
} | |||
#mw-head:not(.sticky-hidden) #simpleSearch { | |||
width:var(--search-width); | |||
max-width:100%; | |||
} | |||
/***************** | |||
* End search bar * | |||
******************/ | |||
/********** | |||
* Sidebar * | |||
***********/ | |||
#mw-panel { | |||
top:calc(var(--head-height) + var(--head-border-height) - 1px); | |||
width:var(--sidebar-width); | |||
} | |||
/* this little hack gives the sidebar the appearance of stretching all the way down the page */ | |||
#content { | |||
position:relative; | |||
} | |||
#content::after { | |||
position:absolute; | |||
width:calc(var(--sidebar-width)); | |||
height:100%; | |||
background:var(--sidebar-background-color); | |||
content:''; | |||
top:0; | |||
margin-left:calc(var(--sidebar-width) * -1 - 1.5em); | |||
} | |||
/**/ | |||
/************** | |||
* End sidebar * | |||
***************/ | |||
/********* | |||
* Footer * | |||
**********/ | |||
.mw-footer { | |||
text-align:center; | |||
margin-left:0; | |||
background-color:var(--footer-background-color); | |||
} | |||
.mw-footer, | |||
.mw-footer li { | |||
color:var(--footer-text-color); | |||
} | |||
.mw-footer a { | |||
color:var(--footer-link-color); | |||
} | |||
#footer-places li{ | |||
float:none; | |||
display:inline-block; | |||
} | |||
/************* | |||
* End footer * | |||
**************/ | |||
/********************* | |||
* Left extra sidebar * | |||
**********************/ | |||
body { | |||
background-image:var(--head-background-image); | |||
background-size:cover; | |||
background-attachment: fixed; | |||
} | |||
#mw-panel { | |||
background-color:var(--sidebar-background-color); | |||
} | |||
.mw-body, | |||
#mw-head-base, | |||
#mw-data-after-content { | |||
margin-left:calc(var(--sidebar-width) + var(--left-extra-sidebar-width)); | |||
} | |||
.mw-footer { | |||
margin-left: var(--left-extra-sidebar-width); | |||
} | |||
#mw-panel, | |||
#mw-page-base, | |||
#mw-head { | |||
margin-left:var(--left-extra-sidebar-width); | |||
} | |||
#mw-panel { | |||
width:calc(var(--sidebar-width) - 0.5em); | |||
} | |||
#mw-head { | |||
width:calc(100% - var(--left-extra-sidebar-width)); | |||
} | |||
/************************* | |||
* End left extra sidebar * | |||
**************************/ | |||
/****************** | |||
* Sliding gallery * | |||
*******************/ | |||
.sliding-gallery { | |||
max-width:100%; | |||
display:flex; | |||
flex-direction:row; | |||
align-items:center; | |||
} | |||
.sliding-gallery--buttons { | |||
display:flex; | |||
flex-direction:column; | |||
} | |||
.sliding-gallery--button { | |||
background:var(--accent-color); | |||
color:#fff; | |||
border:none; | |||
font-weight:bold; | |||
font-size:2em; | |||
height:1.75em; | |||
width:1.75em; | |||
margin:5px; | |||
cursor:pointer; | |||
} | |||
.sliding-gallery--button:hover { | |||
box-shadow:inset 0 0 0.5em 0.05em rgba(0,0,0,0.75); | |||
} | |||
.sliding-gallery > .gallery { | |||
overflow-x:scroll; | |||
display:flex; | |||
scrollbar-width:none; | |||
} | |||
/********************** | |||
* End sliding gallery * | |||
***********************/ | |||
/****************** | |||
* Main page stuff * | |||
*******************/ | |||
.page-User_Mr_Pie_5_Sandbox { | |||
--sidebar-width:0em; | |||
--search-width:55em; | |||
} | |||
.page-User_Mr_Pie_5_Sandbox #mw-panel nav { | |||
font-size:0; | |||
} | |||
.page-User_Mr_Pie_5_Sandbox #content { | |||
padding:0; | |||
background:none; | |||
} | |||
.page-User_Mr_Pie_5_Sandbox h1#firstHeading, | |||
.page-User_Mr_Pie_5_Sandbox #contentSub { | |||
display:none; | |||
} | |||
.mp-divider { | |||
height:10px; | |||
background:var(--accent-color); | |||
} | |||
.mp-button.top { | |||
margin-left:20px; | |||
} | |||
.mp-button a, | |||
.mp-button a:visited { | |||
background:var(--accent-color); | |||
padding:10px; | |||
color: #fff; | |||
font-weight:bold; | |||
font-size:0.75em; | |||
text-transform: uppercase; | |||
} | |||
/* MP-featured */ | |||
#mp-featured { | |||
display:flex; | |||
flex-flow:row wrap; | |||
justify-content: space-evenly; | |||
column-gap:10px; | |||
row-gap: 10px; | |||
background-color:rgba(128,128,128,0.6); | |||
padding:10px; | |||
margin:20px; | |||
border-radius:10px; | |||
} | |||
.mp-featured--item { | |||
flex:0 1 24%; | |||
min-width:300px; | |||
position:relative; | |||
border-radius:10px; | |||
overflow:clip; | |||
} | |||
.mp-featured--image img { | |||
width:100%; | |||
height:auto; | |||
border-radius:10px; | |||
} | |||
.mp-featured--text { | |||
padding:5px; | |||
width:calc(100% - 10px); | |||
position:absolute; | |||
bottom:0; | |||
background-color:#0A1420; | |||
color:#aaa; | |||
font-size:0.7em; | |||
min-height:6em; | |||
} | |||
.mp-featured--title { | |||
color:#f5f5f5; | |||
font-weight:bold; | |||
font-size: 1.3em; | |||
} | |||
.mp-featured--link { | |||
position:absolute; | |||
height:100%; | |||
width:100%; | |||
z-index:2; | |||
} | |||
.mp-featured--link a { | |||
display:block; | |||
height:100%; | |||
width:100%; | |||
font-size:0; | |||
} | |||
/* MP-big links */ | |||
#mp-big-links { | |||
display:flex; | |||
flex-flow:row wrap; | |||
justify-content: space-between; | |||
align-items: flex-start; | |||
column-gap: 20px; | |||
row-gap: 10px; | |||
margin-left:20px; | |||
--textbox-bottom-margin:50px; | |||
} | |||
.mp-big-link { | |||
flex:0 1 48%; | |||
position:relative; | |||
margin-bottom:var(--textbox-bottom-margin); | |||
} | |||
.mp-big-link--image img { | |||
width:100%; | |||
height:auto; | |||
} | |||
.mp-big-link--text { | |||
padding:5px; | |||
width:calc(100% - 40px); | |||
position:absolute; | |||
left:15px; | |||
bottom:calc(var(--textbox-bottom-margin) * -1); | |||
background-color:#ffffff; | |||
color:#000; | |||
font-size:0.7em; | |||
min-height:6em; | |||
} | |||
.mp-big-link--title { | |||
color:#000; | |||
text-align:center; | |||
margin:0 2.5em 10px 2.5em; | |||
padding-bottom:2px; | |||
font-weight:bold; | |||
font-size: 1.2em; | |||
border-bottom:2px solid #dab5b2; | |||
} | |||
.mp-big-link--link { | |||
position:absolute; | |||
height:calc(100% + var(--textbox-bottom-margin)); | |||
width:100%; | |||
z-index:2; | |||
} | |||
.mp-big-link--link a { | |||
display:block; | |||
height:100%; | |||
width:100%; | |||
font-size:0; | |||
} | |||
/* MP-side links */ | |||
#mp-side-links { | |||
display:flex; | |||
flex-flow:row wrap; | |||
justify-content: space-evenly; | |||
row-gap: 10px; | |||
} | |||
.mp-side-link { | |||
position:relative; | |||
} | |||
.mp-side-link--image img { | |||
width:100%; | |||
height:auto; | |||
} | |||
.mp-side-link--text { | |||
padding:5px; | |||
width:calc(100% - 40px); | |||
position:absolute; | |||
left:15px; | |||
bottom:0; | |||
color:#fff; | |||
font-size:0.7em; | |||
} | |||
.mp-side-link--title { | |||
padding-bottom:2px; | |||
font-weight:bold; | |||
font-size: 1.2em; | |||
} | |||
.mp-side-link--link { | |||
position:absolute; | |||
height:100%; | |||
width:100%; | |||
z-index:2; | |||
} | |||
.mp-side-link--link a { | |||
display:block; | |||
height:100%; | |||
width:100%; | |||
font-size:0; | |||
} | |||
/* MP-links */ | |||
#mp-links { | |||
background:#000; | |||
padding:10px 20px 20px 20px; | |||
display:flex; | |||
flex-flow:row wrap; | |||
justify-content: flex-start; | |||
} | |||
.mp-links--group { | |||
flex:0 1 11em; | |||
} | |||
.mp-links--group:not(:nth-child(2)){ | |||
border-left:1px solid #888; | |||
padding-left:25px; | |||
} | |||
.mp-links--group-title { | |||
color:#2885BE; | |||
} | |||
.mp-links--group ul { | |||
list-style:none; | |||
margin:0; | |||
} | |||
.mp-links--group a { | |||
color: #fff; | |||
} | |||
#mp-links .mp-button { | |||
align-self:center; | |||
} | |||
#mp-links .mp-button a { | |||
border: 1px solid #BFBFBF; | |||
border-radius:5px; | |||
margin-right:25px; | |||
} | |||
/* MP lower section */ | |||
#mp-lower { | |||
background:#f3f5f5; | |||
} | |||
#mp-lower > div { | |||
display: flex; | |||
flex-wrap: wrap; | |||
overflow:hidden; | |||
} | |||
#mp-lower { | |||
display: grid; | |||
grid-template-areas: "a" "b" "c" "d" "e"; | |||
grid-template-columns: 100%; | |||
} | |||
@media screen and (min-width:990px) { | |||
#mp-lower { | |||
grid-template-areas: "a a" "b b" "c d" "e d"; | |||
grid-template-columns: 50% 50%; | |||
} | |||
} | |||
@media screen and (min-width:1350px) { | |||
#mp-lower { | |||
grid-template-areas: "a c" "b d" "b e"; | |||
grid-template-columns: auto 350px; | |||
column-gap: 40px; | |||
} | |||
} | |||
#mp-ships {grid-area:a;} | |||
#mp-big-links {grid-area:b;} | |||
#mp-community {grid-area:c;} | |||
#mp-side-links {grid-area:d;} | |||
#mp-story {grid-area:e;} | |||
/* MP-ships */ | |||
#mp-ships .gallery { | |||
margin:20px 20px 20px 18px; | |||
} | |||
#mp-ships .gallery a { | |||
color:#000; | |||
} | |||
#mp-ships .gallery .thumb { | |||
border-bottom:2px solid var(--accent-color); | |||
} | |||
#mp-ships .gallerytext { | |||
text-align:left; | |||
font-weight:bold; | |||
font-size:0.7em; | |||
padding-top:0; | |||
} | |||
#mp-ships .gallerytext p { | |||
margin:0; | |||
} | |||
/* MP-wiki */ | |||
#mp-wiki { | |||
background:#1e3a4e; | |||
color:#ffffff; | |||
padding:1em; | |||
margin-bottom:20px; | |||
} | |||
#mp-wiki--top { | |||
margin:-1em -1em 1em -1em; | |||
padding:1em; | |||
background:#112f45; | |||
} | |||
#mp-wiki--title { | |||
font-size:1.5em; | |||
font-weight:bold; | |||
} | |||
#mp-wiki ul { | |||
list-style:none; | |||
} | |||
#mp-wiki ul > li::before { | |||
content: "\2022"; | |||
font-weight:bold; | |||
display:inline-block; | |||
width:1em; | |||
margin-left:-1em; | |||
} | |||
/* MP-story */ | |||
#mp-story { | |||
justify-content:center; | |||
} | |||
.mp-story--item { | |||
background:#ffffff; | |||
text-align:center; | |||
margin-top:10px; | |||
} | |||
.mp-story--title { | |||
text-align:left; | |||
padding:5px 1em; | |||
color:var(--accent-color); | |||
font-weight:bold; | |||
} | |||
.mp-story--description { | |||
text-align:left; | |||
padding:1em; | |||
padding-top:0; | |||
} | |||
/* MP-attributes */ | |||
#mp-attributes { | |||
background:#f3f5f5; | |||
} | |||
#mp-attributes > ul { | |||
columns:5; | |||
padding:20px 5%; | |||
list-style:none; | |||
margin-bottom:0; | |||
} | |||
#mp-attributes > ul > li { | |||
margin-right:1em; | |||
} | |||
#mp-attributes > ul > li::before { | |||
content: "\2014"; | |||
color:var(--accent-color); | |||
font-weight:bold; | |||
display:inline-block; | |||
width:1.5em; | |||
margin-left:-1.5em; | |||
} | |||
#mp-attributes ul a { | |||
color:#000; | |||
font-weight:bold; | |||
} | |||
/********************** | |||
* End main page stuff * | |||
***********************/ | |||