Sb forum speech.png DiscordLink.png FacebookLink.png RedditLink.png SteamLink.png TwitterLink.png YoutubeLink.png

Difference between revisions of "MediaWiki:Testbed.css"

From Starbase wiki
Jump to navigation Jump to search
m
m
Line 113: Line 113:
   display: grid;
   display: grid;
   grid-template-rows: 80% 20%;
   grid-template-rows: 80% 20%;
  vertical-align: middle;
   margin: auto 0.1em;
   margin: auto;
}
}
.MPBE-Icon a {
.MPBE-Icon a {

Revision as of 08:45, 8 July 2021

 
#firstHeading, #contentSub, .globalSocialbuttons {
  display: none;
}

#content {
  padding: 0!important;
}
.globalSocialbuttons {
  right: 0;
  margin-top: 0;
}
.mainPageWrap {
  margin: auto;
  padding: 0 1em 1em 1em;
  border: 1px solid #38979778;
  border-top: none;
  border-image: linear-gradient(transparent, #31c8ecc4,#246f6fb0);
  border-image-slice: 9;
  box-shadow: 0 5px 5px 2px rgba(58, 128, 128, 0.18);
  position: relative;
  background: linear-gradient(transparent,#38979729);
  display: flex;
  flex-wrap: wrap;
}
.mainPageWrap::before {
  border: 1px solid #38979778;
  border-image: linear-gradient(#3897973d, #38979778);
  border-image-slice: 9;
  padding: 1em;
  box-shadow: 0 0 8px 0 rgba(54, 134, 115, 0.28);
  position: relative;
  background: linear-gradient(transparent,#3897971a);;
}
.mainPageWrap a {
  color: #51defd;
}
.mainPageGlobalRow {
  text-align: center;
  margin-top: 1em;
}
.mainPageSubHeader {
  font-size: 2.2em;
  font-family: Kenneyfuture;
  text-align: center;
  color: #edcd50;
   
  margin: auto;
  background: rgba(51, 171, 176, 0.11);
}
.mainPageSubHeader2 {
  font-size: 1.5em;
  font-family: Kenneyfuture;
  text-align: center;
  margin: auto;
  background: rgba(51, 171, 176, 0.11);
}
.mainPageSubHeader3 {
  font-size: 1.5em;
  font-family: Kenneyfuture;
  text-align: center;
  margin: auto;
  background: rgba(51, 171, 176, 0.11);
  margin: 1.5em 0 .8em 0;
}

.holoOutline {
  border: 1px solid #38979778;
  border: 1px solid;
  border-image: linear-gradient(to bottom right, #38979775, #2e9db7c4, #389797b0);
  border-image-slice: 49%;
  padding: 1em;
  box-shadow: 0 0 6px 0 rgba(54, 134, 115, 0.44);
  position: relative;
  background: linear-gradient(transparent,#385d971a);
   
}

.holoOutline::after {
  content: " ";
  position: absolute;
  display: block;
  pointer-events: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  box-shadow: 0 0 10px 0 rgba(54, 134, 115, 0.41) inset;
}
.mainPageBodyLeft {
}
.mainPageBodyRight {
  width:auto;
   
   
}
.mainPageBodyElement {
  margin: .75em;
}.mainPageScrollRow {
  overflow: auto;
  overflow-y: hidden;
  background: rgba(0,0,0,.2);
  height: 10em;
  display: flex;
  flex-direction: row;
  scrollbar-width: thin;
  scrollbar-color: #0e3e3e transparent;
}
.MPBE-Icon {
  width: 8em;
  height: 8em;
  flex-shrink: 0;
  display: grid;
  grid-template-rows: 80% 20%;
  margin: auto 0.1em;
}
.MPBE-Icon a {
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  white-space: nowrap;
}

.MPBE-Icon a:first-of-type {
  margin: auto;
}
.MPBE-Icon img {
    max-width: 6em;
    height: auto;
    width: auto;
    vertical-align: middle;
}
.fakeVideo {
  width: 100%;
  height: auto;
  margin-top: 1em;
  border: 1px solid #80808047;
  background: #00000063;
}
.mainPageLanguageRow {
  text-align: center;
}

.mainPageLanguageRow a {
  margin: 0 0.5em;
}
.mainPageLanguageRow a::before {
  content: "•";
  margin-right:.25em;
}
.mainPage {
  flex: 1 2 auto;
}
.mainPageVideo {
  flex: 1 1 640px;
}
.mainPageNews {
   
}
.mainPageNewsElement {
  margin: 1em;
  padding: 0.5em;
}
.mainPageLatest {
  flex: 1 3 35em;
  overflow: auto;
  text-overflow: ellipsis;
}
.mainPageVideo {
  flex: 2 2 640px;
}
.mainPageNews {
  max-width: 30%;
}
.MPSSC-wrapper {
  margin: .25em;
  position: relative;
  overflow-y: auto;
  max-height: 20vh;
  min-width: 20em;
}
.MPSSC-wrapper div {
  padding-left: .25em;
}
.MPSSC-entry {
  padding-right: .25em;
}
.MPSSC-list-body {
  display: none;
}
.MPSSC-list-header + .MPSSC-list-body {
  margin-left: .5em;
  position: relative;
}

.MPSSC-list-header.active + .MPSSC-list-body {
  display: block;
}
.MPSSC-list-item {
  background: rgba(0,0,0,0.4);
  margin: 0.1em;
  cursor: pointer;
}

.mainPageFooter {
  width: auto;
  flex: 2 0 auto;
  min-width: 50%;
}
.MPT-wrapper {
  padding: 0.5em;
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(8em,1fr));
  grid-gap: 0.25em;
  overflow-y: auto;
  max-height: 20vh;
  white-space: pre;
}
.mainPageTools {
  flex: 2 2 auto;
   
}
.mainPageWeapons {
  flex: 2 2 auto;
}
.mainPageEndoskeletons {
  flex: 2 2 auto;
}
.mainPageGuides {
  flex: 2 2 auto;
}
.MPT-entry {
  height: 3em;
  text-overflow: ellipsis;
  overflow: hidden;
}

.MPE-wrapper {
  padding: 0.5em;
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(14em,1fr));
  grid-gap: 0.25em;
  overflow-y: auto;
}
.MPT-entry::before {
  content: " ";
  width: 2em;
  height: 2em;
  display: inline-block;
  border: 1px solid;
  margin-right: .5em;
  vertical-align: middle;
}
.MPG-wrapper {
  padding: 0.5em;
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(14em,1fr));
  grid-gap: 0.25em;
  overflow-y: auto;
  white-space: pre;
}


@media
only screen and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait),
only screen and (   min--moz-device-pixel-ratio: 2) and (orientation: portrait),
only screen and (     -o-min-device-pixel-ratio: 2/1) and (orientation: portrait),
only screen and (        min-device-pixel-ratio: 2) and (orientation: portrait),
only screen and (                min-resolution: 192dpi) and (orientation: portrait),
only screen and (                min-resolution: 2dppx) and (orientation: portrait),
only screen and (max-width: 800px) and (orientation: portrait) { 
  .holoOutline, .mainPageWrap, .mainPageWrap::before {
    border-image: none;
    border-image-slice: 0;
    border: 1px solid #38979778;
  }

}

 
@media
only screen and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape),
only screen and (   min--moz-device-pixel-ratio: 2) and (orientation: landscape),
only screen and (     -o-min-device-pixel-ratio: 2/1) and (orientation: landscape),
only screen and (        min-device-pixel-ratio: 2) and (orientation: landscape),
only screen and (                min-resolution: 192dpi) and (orientation: landscape),
only screen and (                min-resolution: 2dppx) and (orientation: landscape) {
  .holoOutline, .mainPageWrap, .mainPageWrap::before {
    border-image: none;
    border-image-slice: 0;
    border: 1px solid #38979778;
  }

}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.