Difference between revisions of "MediaWiki:Testbed.css"
Jump to navigation
Jump to search
m |
m |
||
Line 172: | Line 172: | ||
} | } | ||
.mainPageLatest { | .mainPageLatest { | ||
flex: | flex: 2 2 16%; | ||
overflow: auto; | overflow: auto; | ||
text-overflow: ellipsis; | text-overflow: ellipsis; | ||
} | } | ||
.mainPageVideo { | .mainPageVideo { | ||
flex: 2 2 | flex: 2 2 20%; | ||
} | } | ||
.mainPageNews { | .mainPageNews { |
Revision as of 12:45, 15 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: #114f4f transparent;
position: relative;
mask-image: linear-gradient(to right, rgba(0,0,0,0), rgb(0, 0, 0) 3%, rgb(0, 0, 0) 97%, rgba(0,0,0,0));
}
.MPBE-Icon {
width: 8em;
height: 100%;
flex-shrink: 0;
display: grid;
grid-template-rows: 80% 20%;
margin: auto .1em;
background: transparent;
transition: background .1s ease-in-out;
padding: 0 .1em;
text-align: center;
}
.MPBE-Icon:hover {
background: rgba(46, 183, 198, 0.1);
}
.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;
}
.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: 2 2 16%;
overflow: auto;
text-overflow: ellipsis;
}
.mainPageVideo {
flex: 2 2 20%;
}
.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 a {
display: block;
}
.MPSSC-list-item {
background: rgba(0,0,0,0.4);
margin: 0.1em;
cursor: pointer;
transition: background .1s ease-in-out;
}
.MPSSC-list-item:hover {
background: #353535;
}
.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;
}
.mainPageFooter {
width: auto;
flex: 2 0 auto;
min-width: 50%;
}
.MPT-wrapper {
padding: 0.5em;
display: grid;
grid-template-columns: auto;
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 {
text-overflow: ellipsis;
overflow: hidden;
display: table-row;
transition: background 0.1s ease-in-out;
background:transparent;
}
.MPT-entry:not(.MPT-entry:last-of-type) {
border-bottom: 1px solid #114f4fb3;
padding-top: 1px;
}
.MPT-entry a {
display: table-cell;
height: 3em;
vertical-align: middle;
width: max-content;
}
.MPT-entry:hover {
background:rgba(208, 189, 28, 0.24);
}
.MPT-entry a img {
opacity: 0.6;
transition: opacity 0.1s ease-in-out;
padding: 0 0.4em;
}
.MPT-entry:hover a img {
opacity: 1;
}
.MPT-entry a:hover + a { /* Fake hover effect for link stack. MediaWiki is awful, and this is honestly easier. I think. Maybe. */
color: #edcd50;
text-decoration: underline;
}
.MPT-entry a:last-of-type {
width: 100%;
}
.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;
}
}